Author Topic: [DONE] [Suggestion] Geoscape pop-up events  (Read 2140 times)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 9565
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #15 on: January 14, 2020, 09:27:45 pm »
Can I use both randomItemList and everyItemList in the same event?

Code: [Select]
   - name: STR_COLD_PACKAGE
    description: STR_COLD_PACKAGE_DESCRIPTION
    background: BACK13.SCR
    randomItemList: [STR_SECTOID_CORPSE, STR_FLOATER_CORPSE, STR_SNAKEMAN_CORPSE]
    everyItemList: [STR_PISTOL, STR_PISTOL_CLIP, STR_PISTOL_CLIP]
    timer: 20

In this case, you get the pistol, two clips, and a random corpse: Sectoid, Floater or Snakeman.

Online Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 6219
  • Aaand we're back!
    • View Profile
    • My Wiki
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #16 on: January 14, 2020, 11:45:05 pm »
Can I use both randomItemList and everyItemList in the same event?

Code: [Select]
   - name: STR_COLD_PACKAGE
    description: STR_COLD_PACKAGE_DESCRIPTION
    background: BACK13.SCR
    randomItemList: [STR_SECTOID_CORPSE, STR_FLOATER_CORPSE, STR_SNAKEMAN_CORPSE]
    everyItemList: [STR_PISTOL, STR_PISTOL_CLIP, STR_PISTOL_CLIP]
    timer: 20

In this case, you get the pistol, two clips, and a random corpse: Sectoid, Floater or Snakeman.

yes

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 9565
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #17 on: January 15, 2020, 02:11:33 pm »
Thanks! This will make things more fun.

Online Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 6219
  • Aaand we're back!
    • View Profile
    • My Wiki
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #18 on: May 14, 2020, 08:06:06 pm »
Added more attributes (in OXCE v6.5).
Similar to research and item triggers, there are base facility triggers.

Code: [Select]
eventScripts:
  - type: xxx
...
    facilityTriggers:
       STR_FACILITY1: true
       STR_FACILITY2: false

Facilities from all bases are considered.

-------

Also, there is a "affectsGameProgression" flag.

If set to true, research topics from "researchTriggers" will display a small disclaimer in the TechTreeViewer about affecting game progression.
« Last Edit: May 14, 2020, 08:09:58 pm by Meridian »