Remove some entities from the map?

We've had a similar issue, but we resolved it by lowering the number of
entities in use at any one time, to be fair, in an online game, when you're
at that level of entities you actually begin to impact performance on low -
mid end machines.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Jones
Sent: 23 June 2005 21:09
To: [email protected]
Subject: Re: [hlcoders] Resetting entites on round restart.

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 run through the current list of entities and delete those that I
don't need.  Then I call MapEntity_ParseAllEntities to get them all back
using a cached version of the original map string.

My first thought was that UTIL_Remove wasn't actually clearing stuff out
until the next frame so I tried waiting to call Map...Entities() but no
luck.  I've also tried calling SetFree() on every edict that's deleted.
Does anyone have any insight?

Thanks,
-Tim


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to