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 =
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
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:
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
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
-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
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
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
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
, 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
] 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
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
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.
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
] 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
15 matches
Mail list logo