Author Topic: missionScripts (recon and invasion)  (Read 3079 times)

Offline Cooper

  • Colonel
  • ****
  • Posts: 151
  • Chryssalids are awesome
    • View Profile
missionScripts (recon and invasion)
« on: December 11, 2015, 05:13:09 am »
 In the missionScripts, what exactly is hidden behind these?
 - type: recon
 - type: invasion

Would be really helpful to know the details :)

And how to add new alien missions without adding them under "missionScript" ?

Offline Hobbes

  • Commander
  • *****
  • Posts: 2102
  • Infiltration subroutine in progress
    • View Profile
Re: missionScripts (recon and invasion)
« Reply #1 on: December 11, 2015, 03:56:38 pm »
In the missionScripts, what exactly is hidden behind these?
 - type: recon
 - type: invasion

Would be really helpful to know the details :)

And how to add new alien missions without adding them under "missionScript" ?

Each of those generates a random mission from the mission table, starting on the month defined. The mission table is composed of all the alienMissions defined in regions (example: STR_ALIEN_BASE: 20)

To add a new mission you need to define it first under alienMissions (and add the relevant entries to regions, etc.), and then use the missionScripts to define the conditions where it can be generated.

Offline Cooper

  • Colonel
  • ****
  • Posts: 151
  • Chryssalids are awesome
    • View Profile
Re: missionScripts (recon and invasion)
« Reply #2 on: December 11, 2015, 07:45:42 pm »
That explains a lot, thank you!