Re: [hlcoders] Resetting entites on round restart.

2005-06-25 Thread tei
Whats about to save? Maybe sould be posible to spawn with a probability. If p=0.5, theres a 50% probability that will spawn a entity. Code function to exit early if spawn return a null pointer. the code p to become smaller has the remain pool of posible entitys its less. entitys == 1 - p =

RE: [hlcoders] Resetting entites on round restart.

2005-06-24 Thread Tony \omega\ Sergi
it then. } }; -Original Message- From: Tim Jones [mailto:[EMAIL PROTECTED] Sent: June 24, 2005 7:54 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Resetting entites on round restart. So if I'm already calling CleanupDeleteList() prior to reinstantiating all my entities and I'm still

Re: [hlcoders] Resetting entites on round restart.

2005-06-24 Thread Andrew (British_Bomber)
There is that UTIL_ that removes imediatly, but it has the nice little comment about better not have any pointers to the entity. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] Resetting entites on round restart.

2005-06-24 Thread Teddy
What about cleaning up decals on the world spawn? I tried to do the UTIL_RemoveAllDecals() on the worldspawn entity, which ends up crashing on the client. Anyone else tacklet his problem? On 6/25/05, Andrew (British_Bomber) [EMAIL PROTECTED] wrote: There is that UTIL_ that removes imediatly, but

Re: [hlcoders] Resetting entites on round restart.

2005-06-24 Thread Adam \amckern\ Mckern
Its prob crashes, becuase of mapper placed decals - try a clean up on say explosion.cpp (cleint) decals, then work back from there Or you can always send the client a quick decal value of 1, that reduces the game placed entity decals to 1, and there for removing all decals Adam --- Teddy [EMAIL

Re: [hlcoders] Resetting entites on round restart.

2005-06-23 Thread Tim Jones
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Davison Sent: 24 February 2005 23:35 To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Resetting entites on round restart. I belive mapenties.h is a start, but I would like to hear frm people who have

Re: [hlcoders] Resetting entites on round restart.

2005-06-23 Thread tei
Tim Jones wrote: I realize this is an old thread but I'm running into problems getting the system you've described to work. It seems to work ok for maps with a limited number of entities but when the number increases to roughly 550 entities I get an ED_Alloc: no free edicts error. Basically I

Re: [hlcoders] Resetting entites on round restart.

2005-06-23 Thread Jeffrey \botman\ Broome
tei wrote: I am newbie at HL. Its the deletion instantaneus or its executed before the end-of-frame? Count your entitys, maybe this will help for debugging purposes. When you UTIL_Remove() an entity, you set a flag to 'true' that says Hey Engine, when you get around to it and you feel the

Re: [hlcoders] Resetting entites on round restart.

2005-06-23 Thread tei
Jeffrey botman Broome wrote: tei wrote: I am newbie at HL. Its the deletion instantaneus or its executed before the end-of-frame? Count your entitys, maybe this will help for debugging purposes. When you UTIL_Remove() an entity, you set a flag to 'true' that says Hey Engine, when you

Re: [hlcoders] Resetting entites on round restart.

2005-06-23 Thread Teddy
, February 24, 2005 3:35 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Resetting entites on round restart. I belive mapenties.h is a start, but I would like to hear frm people who have already done it or done work on it. I'm having a hard time getting my head around it. On Thu, 24

Re: [hlcoders] Resetting entites on round restart.

2005-02-25 Thread Ben Davison
] Resetting entites on round restart. I belive mapenties.h is a start, but I would like to hear frm people who have already done it or done work on it. I'm having a hard time getting my head around it. On Thu, 24 Feb 2005 15:19:04 -0800, Stephen Micheals [EMAIL PROTECTED] wrote: Im also

[hlcoders] Resetting entites on round restart.

2005-02-24 Thread Ben Davison
Hi all, I have implemented a simple round system, but the only problem is that when a round restarts all the map objects are still in the same state they where in from when the last round was played. Any hints or suggestions or good reading material about the subject(I searched wave length and

Re: [hlcoders] Resetting entites on round restart.

2005-02-24 Thread Ben Davison
I belive mapenties.h is a start, but I would like to hear frm people who have already done it or done work on it. I'm having a hard time getting my head around it. On Thu, 24 Feb 2005 15:19:04 -0800, Stephen Micheals [EMAIL PROTECTED] wrote: Im also interested on how to do this.

RE: [hlcoders] Resetting entites on round restart.

2005-02-24 Thread Matt Boone
Sent: Thursday, February 24, 2005 3:35 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Resetting entites on round restart. I belive mapenties.h is a start, but I would like to hear frm people who have already done it or done work on it. I'm having a hard time getting my head around

Re: [hlcoders] Resetting entites on round restart.

2005-02-24 Thread Ben Davison
] Resetting entites on round restart. I belive mapenties.h is a start, but I would like to hear frm people who have already done it or done work on it. I'm having a hard time getting my head around it. On Thu, 24 Feb 2005 15:19:04 -0800, Stephen Micheals [EMAIL PROTECTED] wrote: Im also