Forum Mod Bakery Docs

M4 Crash

Posted in Support
Please login to contribute to the conversation.
So, a while ago i was starting to create a mod for Level 1, M0-M3 is all fine, but when i finished modding M4, all time when mission is loading , Game Crashes!
pastebin.com/Y4Rd0Cz7 (m4i)
pastebin.com/MgAr1XF4 (m4l)
so, i was trying to fix it, but still crashes... :(
does someone know why it crashes?
This may not be the solution you'd like to hear, but both me and Loren are having very high doubts that the game supports loading that many AI cars at once. I have never seen a mission that loads 10 "AI" cars.

I'd suggest trying to just outright remove a lot of the cars for this mission. It seems like way too much and might be exceeding a limit the game has, thus causing a crash while loading.

Another thing is this:
LoadDisposableCar("art\cars\stalker_v.p3d","stalker_v","AI");
LoadDisposableCar("art\cars\stalker_v2.p3d","stalker_v2","AI");

Cars should only have a total of eight characters or less. If they exceed the limit, bad things happen. "stalker_v" is one character over. I'd recommend just renaming the car's P3D and the skeleton to just be "stalker".
thanks! removed like half of the cars in the mission and it worked.