This is probably an easy one for most of you. :P
But, how do you make HWP's leave corpses that can be taken back to base? I want to make it possible to repair them-I have seen this can be done in other mods, but I can't figure how to get past this part.
This is what I am messing with right now, taking the light scout from the TFTD mod. It can spawn a corpse on the battlefield I can pick up with my soldiers, but the 'wreck' never returns to base with me.
items:
- type: STR_DRONE
size: 1
costBuy: 60000
costSell: 30000
transferTime: 48
weight: 0
bigSprite: 20
floorSprite: 19
handSprite: 120
bulletSprite: 1
fireSound: 39
hitSound: 38
power: 60
blastRadius: -1
damageType: 9
hitAnimation: 8
hitAnimation: 108
battleType: 1
accuracyAimed: 100
tuAimed: 2
flatRate: true
fixedWeapon: true
arcingShot: true
maxRange: 10
invWidth: 1
invHeight: 1
clipSize: 1
listOrder: 1073
- type: STR_DRONE_CORPSE
weight: 20
bigSprite: 65
floorSprite: 53
invWidth: 2
invHeight: 2
battleType: 11
recover: true
armor: 25
units:
- type: STR_DRONE
race: STR_DRONE
stats:
tu: 90
stamina: 120
health: 50
bravery: 110
reactions: 70
firing: 65
throwing: 60
strength: 15
psiStrength: 120
psiSkill: 0
melee: 60
armor: DRONE_ARMOR
standHeight: 8
floatHeight: 16
kneelHeight: 8
value: 5
moveSound: 444
deathSound: 57
energyRecovery: 60
armors:
- type: DRONE_ARMOR
spriteSheet: BIODROZ.PCK
spriteInv: DRONE_INV
allowInv: false
corpseBattle:
- STR_DRONE_CORPSE
corpseGeo: STR_DRONE_CORPSE
frontArmor: 30
sideArmor: 30
rearArmor: 30
underArmor: 30
movementType: 3
drawingRoutine: 16
damageModifier:
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 0.0
- 1.0
- 1.0
- 0.0
loftemps: 2
constantAnimation: true
extraStrings:
- type: en-US
strings:
STR_DRONE: "LWP/Recon"
STR_DRONE_CORPSE: "LWP/Recon Wreck"
STR_DRONE_MELEE: "Smoke"
STR_DRONE_UFOPEDIA: "These Light Weapon Platforms, also nicknamed 'Roaches', can be equipped with a variety of items to carry out many different missions. However, they are rather fragile and need good planning to be deployed correctly, especially on land missions."
Well I added size, cost sell, and listorder (Not sure about the last one but I am just looking for anything I missed) and still no luck.
- type: STR_DRONE_CORPSE
size: 2
costSell: 5000
weight: 20
bigSprite: 65
floorSprite: 53
invWidth: 1
invHeight: 1
battleType: 11
recover: true
armor: 25
listOrder: 15000
Just gonna be one of those annoying things I never figure out.