aliens

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

Offline Finnik

  • Colonel
  • ****
  • Posts: 451
  • Finnik#0257
    • View Profile
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #45 on: August 11, 2022, 09:23:20 am »
What about check for having specific soldier types on the base? Like stacking 20 dogs on a base would spawn something fun :)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 7938
    • View Profile
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #46 on: August 11, 2022, 09:50:03 am »
You know how I hate sentences beginning with "What about".

Either you need it or you don't need it... say it clearly please.
I cannot read minds.

If that wasn't a question for me, I apologize in advance.

Offline Finnik

  • Colonel
  • ****
  • Posts: 451
  • Finnik#0257
    • View Profile
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #47 on: August 13, 2022, 09:53:23 am »
Sorry. I do need this property. I wonder if it can be done in OXCE?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 7938
    • View Profile
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #48 on: August 14, 2022, 10:31:37 am »
OK.

Do you have any specific syntax in mind?

Do you want to do a PR or should I implement it myself?

Offline Finnik

  • Colonel
  • ****
  • Posts: 451
  • Finnik#0257
    • View Profile
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #49 on: August 14, 2022, 12:12:41 pm »
OK.

Do you have any specific syntax in mind?

Do you want to do a PR or should I implement it myself?

I was thinking about something like that.
Code: [Select]
  - type: wildDogs
    oneTimeSequentialEvents: [STR_WILD_DOGS]
    soldierTypeTriggers:
      STR_SOLDIER: false
      STR_DOG: true
    executionOdds: 100

So once you process scripts, you iterate through all bases to see if a single base match those conditions. Would be enough for me, but AFAIK there is a regional system for event scripts (what region causes the event), not sure if those should interact somehow...

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 7938
    • View Profile
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #50 on: August 22, 2022, 09:13:39 pm »
I was thinking about something like that.
Code: [Select]
  - type: wildDogs
    oneTimeSequentialEvents: [STR_WILD_DOGS]
    soldierTypeTriggers:
      STR_SOLDIER: false
      STR_DOG: true
    executionOdds: 100

Added.

Offline Finnik

  • Colonel
  • ****
  • Posts: 451
  • Finnik#0257
    • View Profile
Re: [DONE] [Suggestion] Geoscape pop-up events
« Reply #51 on: October 21, 2022, 09:31:14 am »
Thanks!