OpenXcom Forum
Modding => OpenXcom Extended => OXCE Support => Topic started by: The Martian on January 27, 2023, 04:38:53 pm
-
My current understanding is that when a alienMissions: entry starts its waves: all UFOs share the same alien race.
Is there a variable I can assign or something script related that would allow for each UFO in a wave to have a different alien race?
Fighting the same alien until the end of the month can be a bit repetitive, if possible I'd like to increase the variety of aliens in the same month.
If this functionality doesn't already exist please consider this a feature request.
Perhaps something like being able to also assign the race weights to the UFO sets in the waves: section and having just those UFOs re-roll the crew's race and override the waves currently assigned race with the rest of the wave continuing to spawn using the one that was picked when that mission first started.
- type: STR_ALIEN_PROBE_MISSION
RaceWeights:
0:
STR_AQUATOID: 50
STR_GILLMAN: 50
waves:
- ufo: STR_SURVEY_SHIP
count: 1
trajectory: P0
timer: 9000
- ufo: STR_ESCORT
count: 1
trajectory: P2
timer: 7800
RaceWeights:
0:
STR_AQUATOID: 25
STR_GILLMAN: 20
STR_LOBSTERMAN: 20
STR_TASOTH: 35
- ufo: STR_CRUISER
count: 2
trajectory: P4
timer: 9000
- ufo: STR_LOBSTER_CRUISER_OF_DOOM
count: 2
trajectory: P4
timer: 9000
RaceWeights:
0:
STR_LOBSTER: 100
-
Well, you can force the race in deployment... if you're okay with having separate UFOs for different races.
I haven't tested it on a UFO, though.
-
If I use alienDeployments: randomRace: will the Hyper-wave Decoder / Transmission Resolver in the Geoscape still correctly display the race that will be fought in the Battlescape?
Edit:
I just tested it.
This method does work! However the Hyper-wave Decoder / Transmission Resolver will become unreliable as it displays the original wave's alien race pick instead of the randomRace: that is replacing them.
I can work with this, thank you very much for the help. (https://openxcom.org/forum/Themes/InsidiousV1-k/images/post/thumbup.gif)