Left 4 Dead 2

Left 4 Dead 2

29 ratings
Engine Error ED_Alloc: no free edicts
By Toranks
Possible causes of Engine Error ED_Alloc: no free edicts and how to solve
2
   
Award
Favorite
Favorited
Unfavorite
Possible causes of Engine Error ED_Alloc: no free edicts
The main cause is usually a bad design of the map, with too many independent entities, usually unnecessary, such as excessive light sources in The Hive, many of them on a tunnel where we go inside a vehicle from which in theory you cannot see the lights. However, these plugins add entities and can be the straw that broke the camel's back, and ends up filling the limit of 2048 entities that Left 4 Dead 2 supports.

- Thirdperson RE6 mod or similar
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2780173405

- Luminous checkpoint arrows mod and any other mod that adds props with animations or lights:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=934602353

- Dynamic light and other mods that adds lights sources:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2261165699

- Active talkers via scripts:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2696358865

- High commons limits, as z_background_limit or z_common_limit above 40-50. Restore cvars to original values to solve.



With metamod-sourcemod, this plugins can help, but It's not perfect, it just reduce the chance, but it can still happen. You need to know how edit and recompile by yourself. Erase this line of the source code.

HookEvent("teamplay_round_start", Event_RoundStart, EventHookMode_Post);

And recompile. Now works for Left 4 Dead 2.

https://forums.alliedmods.net/showthread.php?t=265902
9 Comments
LittleBigSmoak 1 Oct @ 2:38pm 
So, this plugin works pretty well, only issue with it is that it causes my game to CTD whenever I try to load in the Passing.
Xayne 1 Apr @ 9:16am 
@马马的吻 how do I do that?
That viking who procrastinates 25 May, 2024 @ 2:40pm 
Mana's gotta address his followers about some of his addons causing engine errors, not only is 1 of his addons causing this but another causing prop_dynamic_override
马马的吻 25 Jan, 2023 @ 8:05am 
so,guys can add a launch parameter to your game:-num_edicts 1500,Or other numbers.Remember, do not exceed 2048.
马马的吻 25 Jan, 2023 @ 6:48am 
wow,thanks bro,the guide is very useful. You are a realy hero.:cozybethesda:
PINGAS DISPENSER 24 Jun, 2022 @ 5:05am 
Actively talker caused me to error on the fourth map of Chernobyl, your stuff may vary but it loaded finally. Ty.
Chill_Goose64 24 Apr, 2022 @ 10:10pm 
damn that happens for me on glubtastic 4
dr1ftr1071 24 Apr, 2022 @ 1:25am 
thanks man