Currently creating a new custom story (Illusions of the Dead 2). I'm using a lot of AMFP assets. For some reason the map started crashing everytime I try to load it up. Wasn't like this yesterday when I stopped working on it. I don't see the problem myself.
I deleted some of the gauges and spraylock entities in the level editor and I managed to get the map working.
The last thing that I did before the map broke was organize the entities folder. With that I mean in the entities folder I had a subfolder called _amfp and then another subfolder with all the AMFP entities (Path eg: entities/_amfp/gauges).
That was very inconvenient because in the level editor it put all the entities in one folder (_amfp). So I wanted to sort them a little bit.
So I created subfolders for all the AMFP entities folders (Path eg: entities/_amfp_gauges).
I'm not sure if the animations have fixed/hard-coded paths or folder names. I mean if the folder name has to be "gauges" instead of "_amfp_gauges"?
I'm not completely sure myself, since I haven't encountered this error personally, but I will certainly try to troubleshoot it further. I doubt it is hardcoded, but messing with the directories could lead to some very unusual problems with animations if they expect a particular directory and it instead finds a different animation of the same name which conflicts with the original entity.
Or rather, think of it like a grunt with an idle animation referencing a wretch's idle animation because they have the same filename but the engine found Wretch's idle animation first.
Nonetheless, I'm glad you managed to get it working! Be sure to use the same folder structure as you have currently when exporting your Custom Story as, if these problems occurred on your machine, it is likely they'll occur on another if they were left unchanged.