Author Topic: [DONE][SUGGESTION] Research for mission success, fail and site despawn  (Read 1239 times)

Offline Finnik

  • Colonel
  • ****
  • Posts: 490
  • Finnik#0257
    • View Profile
Due to my project complex mission progression, it turns out I need to specify several researches to be unlocked for both mission success and failure cases. I'd like to know if that can be done in OXCE (if it is a required feature for other modders), or should I do that myself in my branch? I can also make it based on OXCE and commit pull request if desired. AFAIK, it's a pretty small code change.

« Last Edit: January 02, 2022, 10:17:59 am by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: [SUGGESTION] List of researches for fail and success deployments
« Reply #1 on: December 29, 2021, 10:55:50 pm »
Can you give some examples too?

I can imagine why a research on fail might be needed; but I can't yet imagine why multiple would be needed.

Offline Finnik

  • Colonel
  • ****
  • Posts: 490
  • Finnik#0257
    • View Profile
Re: [SUGGESTION] List of researches for fail and success deployments
« Reply #2 on: December 29, 2021, 11:00:10 pm »
Well, I have a mission that can affect 2 different arcs on failure, tho they can be triggered separately with another ways.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: [SUGGESTION] Research for mission success, fail and site despawn
« Reply #3 on: January 02, 2022, 10:16:00 am »
Added.

Code: [Select]
alienDeployments:
  - type: STR_TERROR_MISSION
    unlockedResearch: STR_MOTION_SCANNER  # on success
    unlockedResearchOnFailure: STR_LASER_PISTOL
    unlockedResearchOnDespawn: STR_LASER_RIFLE
« Last Edit: January 02, 2022, 10:17:46 am by Meridian »