It doesn't crash in OXCE, but it does crash in OXC.
(Please always test FMP in OXC)
Having two copies of the mod in two different locations is so much hassle... Copying it takes forever. I used to have it installed on OXC, but since FMP-E is now a thing, I moved to OXCE...
But looks like I need to find a solution. Or just bear it and play file shuffling.
The reason is that OXCE allows more "kinds" of armor sprite definitions than OXC (which was a request from modders).
For example:
- type: STR_ETHEREAL_SOLDIER_ARMOR
spriteInv: etherealInventoryImage
In this case, OXC will look for the following sprites:
etherealInventoryImageM0.SPK
etherealInventoryImage.SPK
but OXCE will look for more:
etherealInventoryImageM0.SPK
etherealInventoryImage.SPK
etherealInventoryImage
And since only the 3rd one exists, OXCE will be OK, but OXC will fail.
This is very informative, thank you. Also it's very depressing, since I'm missing the .PCK part on most enemy paperdolls (and somehow nobody has ever said anything before).
But wait... I changed the definition to:
armors:
- type: STR_HOLODRONE_ARMOR
spriteInv: inventory_HOLODRONE.PCK
extraSprites:
- type: inventory_HOLODRONE.PCK
singleImage: true
files:
0: Resources/Races_Compilation/GazerRace/inventory_HOLODRONE.png
And it still crashes on the STR_HOLODRONE_ARMOR article. I don't know anything anymore. This makes no sense.
...or should it be .SPK instead? Shit, modding vanilla OXC is a nightmare. I really don't want to do this any more...
EDIT: can we fix OXC to recognize the usual syntax? Because not having it is just ridiculous. Even if I fix it now, I'll probably do it "wrong" later again.