In my mod I have a variant of the Chryssalid which is supposed to turn soldiers into a variant of the zombie which then can be killed to spawn the chryssalid variant. The problem is that the chryssalid variant spawns just a regular zombie.
units:
- type: STR_CHRYSSALID_TERRORIST_C
race: STR_CHRYSSALID
rank: STR_LIVE_TERRORIST
armor: CHRYSSALID_ARMOR_C
livingWeapon: true
- type: STR_ZOMBIE_C
race: STR_ZOMBIE
rank: STR_LIVE_TERRORIST
armor: ZOMBIE_ARMOR_C
spawnUnit: STR_CHRYSSALID_TERRORIST_C
livingWeapon: true
armors:
- type: CHRYSSALID_ARMOR_C
spriteInv: CHRYSSALID_C
spriteSheet: CHRYSSALID_C.PCK
corpseBattle:
- STR_CHRYSSALID_C_CORPSE
- type: ZOMBIE_ARMOR_C
spriteInv: ZOMBIE_C
spriteSheet: ZOMBIE_C.PCK
items:
- type: CHRYSSALID_C_WEAPON
fixedWeapon: true
zombieUnit: STR_ZOMBIE_C
edit: I determined that the STR_CHRYSSALID_C is apparently using STR_CHRYSSALID_WEAPON instead of STR_CHRYSSALID_C_WEAPON, which I tested by trying to change the bullet sprite on a different alien variant. What I don't understand is how the game determines that the alien should use STR_CHRYSSALID_WEAPON, as I have not told it at any point in the ruleset which weapon to use.