OpenXcom Forum

Modding => Released Mods => The X-Com Files => Topic started by: baron21mdp on April 02, 2021, 03:40:26 pm

Title: Force a type of mission
Post by: baron21mdp on April 02, 2021, 03:40:26 pm
Hello! This is September 2000, and I am not finishing the Red Dawn arc because there are no quests generated to capture its supervisor. Is there any way to force the creation of these types of missions?
Title: Re: Force a type of mission
Post by: Solarius Scorch on April 02, 2021, 03:59:17 pm
Yes, you can go to missionScripts and look for this part:

Code: [Select]
  - type: CultBaseZSRR
    firstMonth: 0
    executionOdds: 4
    missionWeights:
      0:
        STR_CULT_BASE_ZSRR: 100
    regionWeights:
      0:
        REGION_ZSRR_BASE: 100
    useTable: false
    researchTriggers:
      STR_ZSRR_OPERATIONS: true
      STR_DESTROY_ZSRR: false
    startDelay: 20
    randomDelay: 43500

Remove this line:

Code: [Select]
    executionOdds: 4

Assuming you have the prerequisites, this will spawn a Red Dawn base in each subsequent month with 100% certainty.
Title: Re: Force a type of mission
Post by: baron21mdp on April 02, 2021, 04:31:46 pm
Thanks!!!!