Edicts

Edicts

Re: Edicts Posted by Gollum on Fri Sep 5th 2003 at 5:27pm
Gollum
1268 posts
Posted 2003-09-05 5:27pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
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 :smile:
Re: Edicts Posted by Gwil on Fri Sep 5th 2003 at 5:32pm
Gwil
2864 posts
Posted 2003-09-05 5:32pm
Gwil
super admin
2864 posts 315 snarkmarks Registered: Oct 13th 2001 Occupation: Student Location: Derbyshire, UK
From Slackillers site, this is what I found -
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... :sad: If there is anyone else who knows more, show your face now!
Re: Edicts Posted by Gollum on Fri Sep 5th 2003 at 5:50pm
Gollum
1268 posts
Posted 2003-09-05 5:50pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Gwilmong, you should probably have made that post yellow so I could turn it nice and blue later :smile:

If different mods have different limits, I wonder if I can alter the edict limit in my mod. (?)
Re: Edicts Posted by Gwil on Fri Sep 5th 2003 at 5:52pm
Gwil
2864 posts
Posted 2003-09-05 5:52pm
Gwil
super admin
2864 posts 315 snarkmarks Registered: Oct 13th 2001 Occupation: Student Location: Derbyshire, UK
Hmm, doh :razz:
Re: Edicts Posted by Cash Car Star on Fri Sep 5th 2003 at 8:15pm
Cash Car Star
1260 posts
Posted 2003-09-05 8:15pm
1260 posts 345 snarkmarks Registered: Apr 7th 2002 Occupation: post-student Location: Connecticut (sigh)
I decided my next project will be a map for the "Gollum Rolling Boulder Mod" :biggrin:
Re: Edicts Posted by Gollum on Fri Sep 5th 2003 at 8:19pm
Gollum
1268 posts
Posted 2003-09-05 8:19pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
:rofl:  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!