So, I have been playing with the kits for 2.5. On previous versions of FH2, I was able to mod the kits easily within minimal bugs as long as I followed the item index numbers for weapons and equipment.
Since 2.5, I noticed that after I had made my usual mods to various aspects of the new release, the maps started to crash. Two in particular are Operations Cobra and Luttich. These worked fine before I modded 2.5, and when I had modded everything in 2.48, these maps had no issues whatsoever.
I started over, repaired the mod, and slowly added back in my mods one at a time, testing each mod. I started to get crashes when I introduced my kit mods.
I have tried to find in the server.zip, the mapdata.py, the Init.con, the GamePlayObjects, as well as looking at the aifixes for possible conflicts with the changes I made. I have yet to find a solution. I have made changes to 2.5 vehicles and weapon code with no ill effects.
Now maps using BA, GA, IA, seem to work fine, its maps that are isolated to UW, GS, and GW kits… so I am not sure what’s so different between these kits and the others. Also, as I say again, in 2.48, I could revamp all sorts of things in that release, but 2.5 is a different story. I even added in “include ../debug.con” in the individual kits, but to no avail, as the game just crashes on map startup, on the tail end of the Objects loading with no answer as to why.
I reviewed the changelog.txt since 2.48 looking for any possible changes that would be causing this, I did not find anything under kits, soldiers or weapons that were remarkable, with the exception of kitmeshes, which I don’t see how those could cause a crash. I have been playing FH2 at least since 2010, and I have never run across an issue like this. It would appear that it would have something to do with item indices, but I suspect there are peripheral files referencing the changing of items or kits per map.
I also suspect that this could have something to do with it…. Maybe, as it is not in the 2.48 Engineer kits…
“rem dummy-i9 added by the packing script
ObjectTemplate.addTemplate dummy-i9”
If anyone has any ideas it would be greatly appreciated. In the meantime, Ill keep poking around to see what I can find.