Well, i have a nev tftd spritesheet (unfinished), and want to try to set him as none armor. So, i take code from xcom2 core and change spritename:
armors: #done
- type: STR_NONE_UC
spriteSheet: TDXCOM1.PCK #here it is
spriteInv: MAN_0
storeItem: STR_NONE
corpseItem: STR_CORPSE
frontArmor: 12
sideArmor: 8
rearArmor: 5
underArmor: 2
damageModifier:
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.6
- 1.5
- 1.0
loftemps: 3
drawingRoutine: 13
spriteFaceGroup: 14
spriteFaceColor: [160, 160, 64, 160, 160, 64, 160, 160] #M0 F0 M1 F1 M2 F2 M3 F3
spriteHairGroup: 4
spriteHairColor: [130, 160, 201, 130, 64, 198, 160, 64] #M0 F0 M1 F1 M2 F2 M3 F3
After that, i add in extrasprites rulfile:
- type: TDXCOM1.PCK
width: 256
height: 1520
subX: 32
subY: 40
files:
0: Resources/TDXCOM1.png
Then try to load tactical game with that mod, and got a crash.
Question: what am i doing wrong?