If your map is large and contains a lot of entities, chances are you'll run into the 'ED_alloc: no free edicts' error. This error means that there are no more free slots to load entities into. By default there are (only) 900 free slots but there are ways to increase this limit.
Method 1:
You can add a launch parameter to your game:
-num_edicts 1500
This will increase the limit to 1500 slots and most likely solve your problem. However, this creates a problem with the shipping of your MOD, since you'll have to instruct everyone to manually add this line. Luckely, there is a better way to do this:
Method 2:
In your MODs root directory there is a file called 'liblist.gam'. Open it with Notepad and add the following line:
edicts "1500"
This file is shipped by default with your MOD, so it will prevent possible problems with players who do not know how to use launch parameters.
Caution!
Some sources claim you can add infinite amount of slots with these command lines, but I'd advice not to use more than your map really needs. You should probably not set it higher than 2048, since that is the limit of the entity index. Creating more than 2048 entities will most likely crash the game.
Damnit, I wish I knew about this trick before I released my own MOD. Had to delete tons of entities.
Might be useful in the future though, thanks. :)
That's too bad, indeed. Afaik this feature has been around since 2004 but never was common knowledge amongst modders.
reupload :)
Sometimes mapper rashly uses scripting tricks, which lead to limitless increasing of entities on a map after saving/loading a game. So the quantity of entities may get increased over 2048 after some save/loads and cause a crash anyway. It was a problem in earlier versions of Echoes mod. Also, in Xash3D you can set edicts limit up to 4096.
P. S. Increasing the edicts limit is supported only by Steam HL, not by WON.
im using the latest version of Echoes mod and I'm still getting this error. I tried changing t from 2048 to 3072 , still crashing
3072 to 10000 , still crashing here :https://youtu.be/fBQKi6vGX8U?t=5284
Same Crashing At The Same Point, What A Shame :(
me pasa lo mismoo pudiste encontrar solucion?
This comment is currently awaiting admin approval, join now to view.
it was 2000 , I changed it to 2048 yet its still crashing and giving me this error , the only thing I was able to play was the long jump tutorial and I finished it successfully.
If this trick doesn't work for you then you are most likely not running a legitimate version of Half-Life. You need to buy it on Steam and make sure you have all the latest updates.
You know that's ********, right?
No, it's definitely not ********. Half-Life has been updated regulary ever since Steam was introduced (even last in 2019). The update that made this edicts fix posssible was added in 2004. If you play an illegally downloaded version of HL, you'll most likely do not have the required update but the old WON version (1.1.1.0) that predates the fix.
Wish this worked for source games. Any time i tried it on one of those it wouldnt work.
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
I have this problem with Black Mesa and I can categorically state that I paid for this game through Steam. It's full of bugs and keeps crashing. I am very disappointed. When it works, it's great.
This tutorial is about Half-Life (Goldsrc engine). Black Mesa runs on the Source engine (Half-Life 2). You can't use this for Black Mesa.
This comment is currently awaiting admin approval, join now to view.
To launch this mod, you must have a newer version Half-Life. I tried launch this mod on the version from the year 2005 and this mod reported this error message ED_alloc: No free edicts. Then I tried launch this mod on the version from the year 2020 and the mod worked. So if you have this error message, you must have a newer version Half-Life, it is all, have a nice day.