Edicts
Post Reply
Quote
Re: Edicts
Posted by Gollum on Fri Sep 5th at 5:27pm 2003


I've run low on edicts again in my map.

Does anybody have information about the number of edicts that various entities and events generate?  It would be useful to get some hard data.  At the moment all I really know is that every entity uses at least one edict, and there is a hard limit of 2048 edicts, after which the game will crash with a message, Ed_Alloc: no free edicts.

The game seems to crash more readily in singleplayer.  Is there a lower limit on edicts in this mode?  If so, what is it?

Is there any method to count the number of edicts that the map is using?  Are there any good measures of the edict-related stability of a map?

I know this is all very technical, but there are some pretty knowledgeable people here and I thought it was worth a shot





Quote
Re: Edicts
Posted by Gwil on Fri Sep 5th at 5:32pm 2003


From Slackillers site, this is what I found -

? quote:

Each entity ingame takes up an edict slot, if the game ever runs out of edict slots you get the crash "no free edicts." Solution is to reduce the number of entitys in the level. Single player mods may have a different number of edicts than multiplayer mods, possible due to the number of player entitys, sprites & models required. Reported general HL limits are SP=900 to 1024?, MP=1365 to 2048?? your Mod may vary.
However, in a small map with few entities, the error can also be too many of one sort of entity - some Mods of HL have individual entity limits.
In addition the "bad pointer" may mean the bsp was corrupted, or even that your game engine/dll is corrupted. Test other maps to see if it happens with them, and if not, get a new copy of the .bsp and retry. If it continues only with that map, then it is probably too many entitys.

So it looks like it's just your old problem of entity overload with GMDM2... If there is anyone else who knows more, show your face now!





Quote
Re: Edicts
Posted by Gollum on Fri Sep 5th at 5:50pm 2003


Gwilmong, you should probably have made that post yellow so I could turn it nice and blue later

If different mods have different limits, I wonder if I can alter the edict limit in my mod. (?)





Quote
Re: Edicts
Posted by Gwil on Fri Sep 5th at 5:52pm 2003


Hmm, doh



Quote
Re: Edicts
Posted by Cash Car Star on Fri Sep 5th at 8:15pm 2003


I decided my next project will be a map for the "Gollum Rolling Boulder Mod"



Quote
Re: Edicts
Posted by Gollum on Fri Sep 5th at 8:19pm 2003


 Well I suppose I can call it anything you want.

/me proffers miniature gold rock on a chain to CCS

First dozen to join me will get one of these.  Sign up now for discounts on entity pick-and-mix packs!






Post Reply