Hi guys,
I have been trying to spawn alien bases and missionsite using technical region like TFTD Artifact spawns and Shipping strikes, instead of the normal Missionzones.
So far, I have mixed results.
For my human enemy faction bases, they generate on the globe with no problem in the start of each game. However, later when new bases are to be generated a few weeks after the game has started, the game keep crashing.
Please see the error screenshot.
The base generator keeps searching for a missionzone value greater than zero, despite the technical region only have one missionzone.
In the Alienmission entry for the base. I have listed operationSpawnZone: 0, it should not be looking for other missionzone other than 0. Why is it searching for a value >0?
This is the Alienmission entry.
- type: STR_FACTIONBASEGENERATIONWILDWESTSEA
objective: 0
operationType: 2
operationSpawnZone: 0
operationBaseType: STR_HUMAN_BASE_ASSAULTWILDWEST_UNDERWATER
points: 50
retaliationOdds: 20
raceWeights:
0:
STR_WILDWEST_REGIMENT: 100
waves:
- ufo: Dummy
count: 1
trajectory: MISSION_SPAWN
timer: 0
- ufo: STR_PLANE1
count: 1
trajectory: P1
timer: 13500
Missionscript entry
#################
- type: invasionBASEWILDWESTSEA
missionWeights:
0:
STR_FACTIONBASEGENERATIONWILDWESTSEA: 100
firstMonth: 0
varName: invasionWildsea
maxRuns: -1
executionOdds: 5
regionWeights:
0:
SEASPAWNS: 100
The technical region in region.rul
##########################
- type: SEASPAWNS
missionWeights:
STR_ALIEN_BASETFTDSEA: 3
STR_FACTIONBASEGENERATIONNAZISEA: 1
STR_FACTIONBASEGENERATIONWILDWESTSEA: 2
STR_FACTIONBASEGENERATIONMERCSEA: 2
STR_FACTIONBASEGENERATIONMARSECSEA: 1
STR_FACTIONBASEGENERATIONCORPORATESEA: 1
STR_FACTIONBASEGENERATIONCHURCHSEA: 1
STR_FACTIONBASEGENERATIONBANDITSEA: 2
STR_DIMENTIONAL_BASESEA: 6
missionZones:
- - - 181.20506333988
- 274.058487886591
- -7.1259618138434
- 59.914386517837
Only this section the missionwieght mentioned STR_FACTIONBASEGENERATIONWILDWESTSEA:, so why is it keep searching for a missionzone greater then 0?
Can technical region be used for Alien base and mission site generation?
If it can, can a sample coding for Alienmission and Missionscript be provided? Having some examples using the already examples provided prior above?