Game crash when loading some maps with mods loaded
-
When launching certain maps in the game with a mod loaded (I've seen Carbon, Downturn, Resistance, and Outpost cause this error, but I haven't tested all maps) the game will crash during load with this error:
==================================================== Com_ERROR: LinkFile: function "precache" in file "mptype/mptype_gign_paris_lmg.gsc" referenced unknown function precache (681) from script ult.gsc ====================================================
The mod itself has a fastfile containing some localize, stringtable, and material assets. The mod also contains an .iwd with some new GSC files and a few images. The modded GSC files do not have any errors themselves or have anything to do with this error. My game is also using all steam files.
Any ideas on what is causing this and if there's a workaround? -
Slvr99 At the moment there is no solution, it is a error of the mods support itself.
-
LastDemon99 Thanks for the reply. For context, I am porting AIZombies Supreme to PlutoIW5 and it is around 95% complete and playable. However if certain maps crash I may not be able to release without entirely excluding many maps from the end-game rotation. It'd be great if the devs took care of this bug so that AIZombies can be played as intended. If there's any way I can expedite the process of this issue being taken care of, let me know and I can do it.
-
Slvr99 said in Game crash when loading some maps with mods loaded:
It'd be great if the devs took care of this bug
You can't blame anyone but you for that error.
Not all maps contain all assets and asset specific gsc.
Call of Duty always has behaved like this. -
Xerxes Hang on, you're telling me that somehow loading a mod that doesn't have any files that link or reference to
mptype/mptype_gign_paris_lmg.gsc
is somehow affecting that file? If this is the case, what's the fix? What did I do wrong so I can correct it and not encounter this error? The mod only adds new GSC files, it does not modify any existing GSC files in the game. So please, inform me on my mistake. -
No, I am telling you its perfectly normal that the game won't find gsc files for GIGN player models on maps that don't feature GIGN as playable characters, no matter how nicely you ask the game to find them.
-
Oh I see. I'm not trying to find them though. None of my scripts reference these models. So what could be causing it in my code?
-
Without knowing the source of your mod its just a guess, but my guess is that you probably did overwrite a stock gsc file which is used by the player model specific gsc files.
-
Xerxes Even with my mod not overwriting any built-in GSC files (only adding new GSC files) this error still occurs. Even when loading the mod but not running any of my GSC code, it still crashes with this error. I've narrowed it down that adding more than 42 localize assets to my linked fastfile (just those localizes, nothing else) causes Downturn to freeze upon load. Why is it freezing when I'm only compiling localize assets to the mod?