Well this is my first mod and I need help. Let me know if I've stepped on anyones toes. I'm going to keep on working but wanted to get this out there. First, the catch.
WARNING! This mod causes the loss of all currently hired soldiers... Until this is fixed, I recommend loading a game using Bman's v4.07, stripping all soldiers of their gear, saving a non-mission slot and then installing this mod. Now enable Coasty's Better Soldier Stats mod (at your discretion) then hire new soldiers.
Now what's new.
- 99% of the grammar and typos have been corrected in ResourceBundle.dat and base\UFOpediaComments.dat. Hey I'm not perfect and I have no degree but I can't stand bad grammar.
- There is now a Helmet or Head inventory slot. This slot will only accept psi-helmets; no grenades, stimpacks, ammo, or cigarettes.
- The "In Hospital" warning position was adjusted when starting a mission and selecting a soldier that is in the Hospital. Hell, I might have caused this but it is fixed now.
Get it Here:
You can find Bman EoU v4.07 here. Refer to the installation method here.
You can get my mod, Bman EoU v4.08 here. If you have not already installed the multimedia pack refer to the installation method above.
If you're looking for a research tree, here are two older trees that fans created: Tech Tree 1, Tech Tree 2.
I have tried numerous things to resolve the loss of existing soldiers. I have concentrated on the scripts\tests\config.xsv, config2.xsv, proplist.xsv and proplist2.xsv files. I have focused on the base\CreateandLoadVariables.xscr file in the LoadBaseValuesFromFactory() and LoadSaveGameFromFactory() methods. LoadBaseValuesFromFactory() seems to be working as expected. LoadSaveGameFromFactory() causes an error immediately upon creating the Strategic part, i.e.
object StrategicPart = objectFactory.create( "StrategicPart" );Error: StrategicPart.bases.0.units.0.helmet or Second path unused.helmet was found.
Any devs reading this or still around?
I believe the create method is finding the Helmet object doesn't exist for the soldiers in the save game and is terminating with this error thus causing the loss of all soldiers. The create method is compiled in the EXE and out of my control.
At this point it seems the only way to fix this is to modify the existing save game and to add the missing helmet slot per soldier. I do not know if this is even possible. I do not know the methods used to read the file contents.