OpenXcom Extended version: 7.8 (v2022-10-29)
I've been trying to use alienDeployments: genMissionRaceFromAlienBase: false to cause an alien base's colony supply mission to use the alienMissions: raceWeights: settings to assign the UFO's race instead of the base itself.
alienDeployments:
# [=] Fleet Supply Cruiser [=]
- &STR_FLEET_SUPPLY_CRUISER
type: STR_FLEET_SUPPLY_CRUISER
genMissionRaceFromAlienBase: false # true (default) = take race from base (vanilla behavior); false = take from mission 'raceWeights' if not empty (if empty take from base)
alienMissions:
# [=] Alien Supply [=]
- &STR_ALIEN_SUPPLY
type: STR_ALIEN_SUPPLY
points: 0
objective: 5
# raceWeights: {} #Special case, race comes from base.
raceWeights:
0:
STR_IAR_EXTREME_THREAT: 100
waves:
- ufo: STR_FLEET_SUPPLY_CRUISER
count: 1
trajectory: P9
timer: 6000
objective: true
Unfortunately instead of the race being "Extreme Threat" I keep getting other races assigned like "Intermediate Threat" and "Low Threat" which makes me think that it is still inheriting its race from the base that is spawning the mission.
Using the saved game attached to this post the Colony Supply Mission will appear on either 31st Aug 2040 (Sub-147) or 6th Aug 2040 (Sub-134) depending on if you've turned on debug mode while still in July.
Loaded save without re-activating debug in July: Alien Sub-147 31st Aug 2040
Loaded save and re-activated debug in July: Alien Sub-134 6th Aug 2040
Am I using genMissionRaceFromAlienBase: incorrectly?