I've been making a
mod to display firing animations in TFTD.
So far the unit sprite sheets are finished but now I need the land variants to be worn by X-Com when not underwater.
The solution to this I'm attempting is to use
startingConditions: &
armorTransformations: to swap the X-Com soldier's armor for their land versions when engaging in the
Base Defence,
Port attacks,
Island attacks and
Ship attack missions.
Unfortunately my attempts to use
startingConditions: have not yielded results.
In the current version of my mod when the aliens attack a surface city X-Com soldier's armor is not transformed into the variant without a helmet.
Here is the code involving the transformation.# [====] Alien Deployments [====]
alienDeployments:
# [=] Island Terror Mission [=]
- type: STR_ISLAND_TERROR
startingCondition: STR_LAND_MISSION_HELMETS_OFF
# [=] Port Terror Mission [=]
- type: STR_PORT_TERROR
startingCondition: STR_LAND_MISSION_HELMETS_OFF
# [=] Cargo Ship Mission (Part 1) [=]
- type: STR_CARGO_SHIP_P1
startingCondition: STR_LAND_MISSION_HELMETS_OFF
# [=] Cargo Ship Mission (Part 2) [=]
- type: STR_CARGO_SHIP_P2
startingCondition: STR_LAND_MISSION_HELMETS_OFF
# [=] Cruise Ship Mission (Part 1) [=]
- type: STR_CRUISE_SHIP_P1
startingCondition: STR_LAND_MISSION_HELMETS_OFF
# [=] Cruise Ship Mission (Part 2) [=]
- type: STR_CRUISE_SHIP_P2
startingCondition: STR_LAND_MISSION_HELMETS_OFF
# [=] Base Defence Mission [=]
- type: STR_BASE_DEFENSE
startingCondition: STR_LAND_MISSION_HELMETS_OFF
# [====] Starting Conditions [====]
startingConditions:
- type: STR_LAND_MISSION_HELMETS_OFF
armorTransformations:
STR_NONE_UC: STR_NONE_UC_LAND
STR_PLASTIC_AQUA_ARMOR_UC: STR_PLASTIC_AQUA_ARMOR_UC_LAND
STR_ION_ARMOR_UC: STR_ION_ARMOR_UC_LAND
STR_MAGNETIC_ION_ARMOR_UC: STR_MAGNETIC_ION_ARMOR_UC_LAND
I've also attached the mod directly to this post as well for convenience:
.
Firing Animation for TFTD (V0-4)