So I'm trying to add a doggie soldier type, so they could have their own names, colours, experience etc. Sadly, the game crashes.
Here's the entry in soldiers_XCOMFILES:
- type: STR_DOGE
costBuy: 10000
costSalary: 800
minStats:
tu: 60
stamina: 80
health: 15
bravery: 10
reactions: 50
firing: 0
throwing: 0
strength: 1
psiStrength: 40
psiSkill: 0
melee: 70
maxStats:
tu: 70
stamina: 90
health: 20
bravery: 20
reactions: 60
firing: 0
throwing: 0
strength: 1
psiStrength: 40
psiSkill: 0
melee: 90
statCaps:
tu: 100
stamina: 130
health: 40
bravery: 40
reactions: 90
firing: 10
throwing: 10
strength: 2
psiStrength: 40
psiSkill: 0
melee: 140
trainingStatCaps:
tu: 70
stamina: 90
health: 20
bravery: 20
reactions: 60
firing: 0
throwing: 0
strength: 1
psiStrength: 40
psiSkill: 0
melee: 90
armor: DOGE_ARMOR
armorForAvatar: DOGE_ARMOR
avatarOffsetX: 68
avatarOffsetY: 48
soldierNames:
- delete
- SoldierName/ZZZ_Doge.nam
allowPiloting: false
allowPromotion: false
standHeight: 12
kneelHeight: 12
femaleFrequency: 50
deathMale: 94
deathFemale: 94
I'm also attaching the .nam file.
If I remove this part:
soldierNames:
- delete
- SoldierName/ZZZ_Doge.nam
AND physically delete the ZZZ_Doge.nam file, the game works as normal - the dogs just don't get any names.
Please tell me what I am doing wrong.