Talk:Edict t

From Valve Developer Community
Jump to: navigation, search

Is there any way to see how many edicts are being used on a map through console? Closest I think I have found is cl_showents but I am not sure if this is entirely accurate as it will skip numbered entities occasionally --RTF 05:26, 9 May 2011 (UTC)

Running out of edicts

I have been trying to figure out if what I am describing on this tutorial is correct, but so far haven't gotten any answers from anyone who has access to the engine code: http://hlssmod.net/fe_tutorials/tutorial004/ Unsigned comment added by Au-heppa (talkcontribs). Please use four tildes (~~~~) to sign your username.

If the engine works like Quake does (which is likely), then there's a check performed that prevents edicts that were freed recently from being used again: https://github.com/id-Software/Quake/blob/bf4ac424ce754894ac8f1dae6a3981954bc9852d/QW/server/pr_edict.c#L88. In certain cases this will lead to edict allocation failure. Solokiller (talk) 15:32, 20 July 2015 (UTC)