During a recent terror mission I had the terrifying thought of a rank of alien that used a rocket launcher. I mean, hey, they want to kill EVERYTHING, right? Accept no substitute (before the Blaster Bomb)!
So I wrote the following to make a test "Heavy Gunner" sectoid rank, along with a change to force sectoids on most missions for debug reasons - so I could get one of these guys sooner. The ruleset "works" in that it does not drop any errors when enabling it in OpenXCOM. However, OpenXCOM crashes as soon as I land at a UFO which has my new aliens.
Any ideas? Thanks.
------------------------
# Alien Heavy Gunner aka RocketMan test
alienRaces:
- id: STR_SECTOID
members:
- STR_SECTOID_COMMANDER
- STR_SECTOID_LEADER
- STR_SECTOID_ENGINEER
- STR_SECTOID_MEDIC
- STR_SECTOID_NAVIGATOR
- STR_SECTOID_SOLDIER
- STR_CYBERDISC_TERRORIST
- STR_CYBERDISC_TERRORIST
- STR_SECTOID_HEAVY_GUNNER
extraStrings:
- type: en-US
strings:
STR_LIVE_HEAVY_GUNNER: "Heavy Gunner"
STR_SECTOID_HEAVY_GUNNER: "Sectoid Heavy Gunner"
alienDeployments:
- type: STR_LARGE_SCOUT
data:
- alienRank: 8 # rank starts from 0? using either value 8 or 9 causes crash
lowQty: 1
highQty: 1
dQty: 0
percentageOutsideUfo: 100
itemSets:
-
- STR_ROCKET_LAUNCHER
- STR_SMALL_ROCKET
- STR_SMALL_ROCKET
- STR_SMALL_ROCKET
-
- STR_ROCKET_LAUNCHER
- STR_INCENDIARY_ROCKET
- STR_SMALL_ROCKET
- STR_INCENDIARY_ROCKET
-
- STR_ROCKET_LAUNCHER
- STR_LARGE_ROCKET
- STR_LARGE_ROCKET
- STR_LARGE_ROCKET
units:
- type: STR_SECTOID_HEAVY_GUNNER
race: STR_SECTOID
rank: STR_LIVE_HEAVY_GUNNER
stats:
tu: 60
stamina: 90
health: 30
bravery: 80
reactions: 63
firing: 52
throwing: 58
strength: 50
psiStrength: 40
psiSkill: 0
melee: 76
armor: SECTOID_ARMOR0
standHeight: 16
kneelHeight: 12
value: 10
deathSound: 10
intelligence: 4
aggression: 2
# debugging only
alienMissions:
- type: STR_ALIEN_RESEARCH
points: 0
raceWeights:
0:
STR_SECTOID: 100
1:
STR_SECTOID: 100
3:
STR_SECTOID: 100
5:
STR_SECTOID: 100
7:
STR_SECTOID: 100
waves:
- ufo: STR_SMALL_SCOUT
count: 1
trajectory: P0
timer: 9000
- ufo: STR_MEDIUM_SCOUT
count: 1
trajectory: P2
timer: 7800
- ufo: STR_LARGE_SCOUT
count: 2
trajectory: P4
timer: 9000
- type: STR_ALIEN_HARVEST
points: 30
raceWeights:
0:
STR_SECTOID: 100
1:
STR_SECTOID: 100
3:
STR_SECTOID: 100
5:
STR_SECTOID: 100
7:
STR_SECTOID: 100
waves:
- ufo: STR_SMALL_SCOUT
count: 1
trajectory: P0
timer: 7800
- ufo: STR_SMALL_SCOUT
count: 1
trajectory: P2
timer: 7800
- ufo: STR_MEDIUM_SCOUT
count: 1
trajectory: P2
timer: 6000
- ufo: STR_LARGE_SCOUT
count: 1
trajectory: P0
timer: 7800
- ufo: STR_LARGE_SCOUT
count: 1
trajectory: P3
timer: 9000
- ufo: STR_HARVESTER
count: 1
trajectory: P4
timer: 3000
- ufo: STR_HARVESTER
count: 1
trajectory: P4
timer: 750
- ufo: STR_BATTLESHIP
count: 1
trajectory: P2
timer: 1500
- type: STR_ALIEN_ABDUCTION
points: 50
raceWeights:
0:
STR_SECTOID: 100
1:
STR_SECTOID: 100
3:
STR_SECTOID: 100
5:
STR_SECTOID: 100
7:
STR_SECTOID: 100
waves:
- ufo: STR_SMALL_SCOUT
count: 1
trajectory: P0
timer: 15000
- ufo: STR_MEDIUM_SCOUT
count: 1
trajectory: P1
timer: 18000
- ufo: STR_LARGE_SCOUT
count: 1
trajectory: P3
timer: 9000
- ufo: STR_ABDUCTOR
count: 1
trajectory: P3
timer: 9000
- ufo: STR_ABDUCTOR
count: 2
trajectory: P4
timer: 60
- type: STR_ALIEN_INFILTRATION
points: 0
raceWeights:
0:
STR_SECTOID: 100
1:
STR_SECTOID: 100
3:
STR_SECTOID: 100
5:
STR_SECTOID: 100
7:
STR_SECTOID: 100
waves:
- ufo: STR_SMALL_SCOUT
count: 1
trajectory: P0
timer: 16500
- ufo: STR_MEDIUM_SCOUT
count: 1
trajectory: P1
timer: 15000
- ufo: STR_MEDIUM_SCOUT
count: 1
trajectory: P6
timer: 13800
- ufo: STR_LARGE_SCOUT
count: 1
trajectory: P7
timer: 9000
- ufo: STR_LARGE_SCOUT
count: 1
trajectory: P7
timer: 60
- ufo: STR_TERROR_SHIP
count: 1
trajectory: P7
timer: 60
- ufo: STR_SUPPLY_SHIP
count: 1
trajectory: P7
timer: 60
- ufo: STR_BATTLESHIP
count: 2
trajectory: P7
timer: 60
# end