Thank you for the help
Meridian.
I performed both of the actions you advised and the problem is solved.
One interesting thing I noticed is that when I updated to
OpenXcom Extended 7.0 (v2021-03-13) and loaded the broken version of the mod it changed the error message.
In OXCE V6.5.5 the first [FATAL] message in the openxcom.log read:[17-06-2021_03-32-21] [FATAL] A fatal error has occurred: Sprite inventory_GUNDAM.SPK not found
In OXCE V7.0 it doesn't mention the .SPK file extension:[17-06-2021_18-12-12] [FATAL] A fatal error has occurred: Sprite inventory_GUNDAM not found
Everything is working and I will use this method from now on, however I do have one more question:In the
extraSprites_FMP.rul &
armors_FMP.rul from the "
Final Mod Pack V2.8e" several inventory images are used without the
.SPK file extension.
What is the method being used that is allowing that inventory image to function like that in the "
Final Mod Pack" mod?
I've been using "
Final Mod Pack" as a guide for how
OpenXcom .rul files work, so I'm very interested in understanding the difference.
For example the image variable for
inventory_OBLITERATOR does not use the
.SPK file extension:
Code from the extraSprites_FMP.rul file:extraSprites:
- type: inventory_OBLITERATOR
singleImage: true
files:
0: Resources/Races_Compilation/MutonRace/inventory_OBLITERATOR.png
Code from the armors_FMP.rul file:armors:
- type: OBLITERATOR_ARMOR
spriteSheet: OBLITERATOR.PCK
spriteInv: inventory_OBLITERATOR
allowInv: false
corpseGeo: STR_OBLITERATOR_CORPSE
corpseBattle:
- OBLITERATOR_CORPSE_1
- OBLITERATOR_CORPSE_2
- OBLITERATOR_CORPSE_3
- OBLITERATOR_CORPSE_4
frontArmor: 100
sideArmor: 100
rearArmor: 100
underArmor: 100
movementType: 1
drawingRoutine: 3
size: 2
damageModifier:
- 1.0
- 0.8
- 0.4
- 0.8
- 0.6
- 0.8
- 0.0
- 1.2
- 1.2
- 0.0
loftempsSet: [ 92, 89, 90, 91 ]
constantAnimation: true
I've attached the corrected version of my mod file and the
Final Mod Pack (V2.8e)'s
extraSprites_FMP.rul &
armors_FMP.rul files to this post for convenience.
Just in case someone searches this topic in future with a similar problem here is the section of code that needed altering.
In
extraSprites: & the
armors: section's
spriteInv: it was necessary to add the file extension
.SPK to the variable for the two inventory images being loaded.
extraSprites:
- type: inventory_GUNDAM.SPK
singleImage: true
files:
0: Resources/Images/Gundam/Inventory_Gundam.png
- type: inventory_ZEONGUNDAM.SPK
singleImage: true
files:
0: Resources/Images/Zeon_Gundam/Inventory_Zeon_Gundam.png
armors:
- type: STR_POWER_SUIT_UC
spriteInv: inventory_GUNDAM.SPK
- type: STR_FLYING_SUIT_UC
spriteInv: inventory_ZEONGUNDAM.SPK