Hi, recently have a hard crash that doesn't make sense. A mission in my missionscript, STR_SEARESOURCERAIDTASOTH, it is not suppose to spawn till December of the year. I have put in the checks in the missionscript,
raceWeights:
12:
STR_TASOTH: 100
This mission is not suppose to spawn till STR_THE_MARTIAN_SOLUTION is researched.
Yet it spawn on the 29 feb of the year, two months after the game start. Why? I have include a screenshot of the error, and the error log. Perhaps it can be explained.
In alienmission raceweight: 12,
This is my missionscript in relating to the crash.
missionscript
- type: resourceraidTFTD
firstMonth: 8
missionWeights:
8:
STR_SEARESOURCERAIDSECTOID: 50
STR_SEARESOURCERAIDGILLMAN: 50
9:
STR_SEARESOURCERAIDSECTOID: 44
STR_SEARESOURCERAIDGILLMAN: 33
STR_SEARESOURCERAIDLOBSTERMAN: 23
12:
STR_SEARESOURCERAIDSECTOID: 22
STR_SEARESOURCERAIDGILLMAN: 33
STR_SEARESOURCERAIDLOBSTERMAN: 23
STR_SEARESOURCERAIDTASOTH: 22
researchTriggers:
STR_THE_MARTIAN_SOLUTION: true
maxRuns: -1
varName: resourceraidTFTD
executionOdds: 60
Alien mission
- type: STR_SEARESOURCERAIDTASOTH
points: 50
retaliationOdds: 20
raceWeights:
12:
STR_TASOTH: 100
waves:
- ufo: STR_SURVEY_SHIP
count: 1
trajectory: P0
timer: 15000
hunterKillerPercentage: 70
huntMode: 2
huntBehavior: 2
escort: true
interruptPercentage: 20
- ufo: STR_ESCORT
count: 1
trajectory: P1
timer: 18000
hunterKillerPercentage: 70
huntMode: 2
huntBehavior: 2
escort: true
interruptPercentage: 20
- ufo: STR_CRUISER
count: 1
trajectory: P3
timer: 9000
hunterKillerPercentage: 70
huntMode: 2
huntBehavior: 2
escort: true
interruptPercentage: 20
- ufo: STR_HEAVY_CRUISER
count: 1
trajectory: P3
timer: 9000
hunterKillerPercentage: 70
huntMode: 2
huntBehavior: 2
escort: true
interruptPercentage: 20
- ufo: STR_HEAVY_CRUISER
count: 2
trajectory: P4
timer: 60
hunterKillerPercentage: 70
huntMode: 2
huntBehavior: 2
escort: true
interruptPercentage: 20