Author Topic: [solved] Custom infiltration mission working but not generating site  (Read 279 times)

Offline robin

  • Commander
  • *****
  • Posts: 986
  • ULTIMATE ROOKIE
    • View Profile
 alienMissions:
 - type: STR_ALIEN_SUBVERSION  # replaces classic ALIEN INFILTRATION
    #operationType: 6  # take off and land in the same alien base that spawned the mission
    points: 150  # Pact score only awarded on month end
    objective: 1
    siteType: STR_SUBVERTED_HQ
    spawnZone: 4 # Mission zone for alien bases
    raceWeights: *raceWeightsAlienDrop
    waves:
      - ufo: STR_UFO_PROBE
        count: 1
        trajectory: P0
        timer: 16500
      - ufo: STR_BATTLESHIP
        count: 2
        trajectory: P7
        timer: 60

alienDeployments:
  - type: STR_SUBVERTED_HQ
    data:
      [ cut ]
    width: 50
    length: 50
    height: 4
    terrains:
      - HQ
    randomRace: [STR_SUBVERTED_NEUTEK, STR_SUBVERTED_OMNISYNTH]
    script: HQ
    briefing:
      textOffset: -16
      title: STR_SUBVERTED_HQ_MISSION
      desc: STR_SUBVERTED_HQ_BRIEFING
      background: BACK01.SCR
      showTarget: false
    alienBase: true    # this is only to tell new battle mode what to do with this deployment

The alien mission happens corectly, with the country forming a pact with the aliens at the end, but the STR_SUBVERTED_HQ site is not generated.
The deployment works correctly in New Battle mode.
What I'm doing wrong?
Thanks.
« Last Edit: April 23, 2019, 04:42:15 pm by robin »

Offline robin

  • Commander
  • *****
  • Posts: 986
  • ULTIMATE ROOKIE
    • View Profile
[SOLVED] Re: Custom infiltration mission working but not generating site
« Reply #1 on: April 23, 2019, 04:14:00 pm »
I think I solved it by adding the following to the deployment:
    markerName: STR_SUBVERTED_HQ
    markerIcon: 7
    points: 5