Author Topic: Please help me create a mission-event  (Read 1108 times)

Offline Kronos913

  • Colonel
  • ****
  • Posts: 124
    • View Profile
Please help me create a mission-event
« on: July 13, 2024, 10:11:51 pm »
I'm trying to figure out how to create my own mission event, but nothing is clear yet. I look at other fashions - it’s also unclear.

Please help me create a simple test mission, and then I’ll experiment with a working example myself

Let's say a mission that appears on a regular "farm" map, there will be 3 sectoid soldiers with plasma pistols and 2 civilians. And the mission will appear 1 time on the 14th day of the game

Offline Juku121

  • Commander
  • *****
  • Posts: 1798
  • We're all mad here.
    • View Profile
Re: Please help me create a mission-event
« Reply #1 on: July 14, 2024, 09:42:56 am »
Here. As a submod for UFO/xcom1.

Offline Kronos913

  • Colonel
  • ****
  • Posts: 124
    • View Profile
Re: Please help me create a mission-event
« Reply #2 on: July 16, 2024, 11:41:24 pm »
Thanks

Offline Kronos913

  • Colonel
  • ****
  • Posts: 124
    • View Profile
Re: Please help me create a mission-event
« Reply #3 on: July 23, 2024, 10:29:13 pm »
How can I make these missions stop appearing after some research? Or will they begin to appear after the study?

Online Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11726
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Please help me create a mission-event
« Reply #4 on: July 23, 2024, 10:40:17 pm »
How can I make these missions stop appearing after some research?

Code: [Select]
missionScripts:
  - type: yourMission
    researchTriggers:
      STR_YOUR_RESEARCH: false

Or will they begin to appear after the study?

Code: [Select]
missionScripts:
  - type: yourMission
    researchTriggers:
      STR_YOUR_RESEARCH: true