Author Topic: [DONE] [Suggestion] Get country back after they sign a pact with aliens  (Read 21056 times)

Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
Excue me, but what is a "vars-section"?

Could you just tell me the name of the file, that must be worked with an the position, where the line hast to be pasted into?

@Meridian, couldn`t this be implemented as an advanced option to the game?

allowCountriesToCancelAlienPact: true

This is a parameter for the file "vars.rul".

Offline LouisdeFuines

  • Commander
  • *****
  • Posts: 586
    • View Profile
allowCountriesToCancelAlienPact: true

This is a parameter for the file "vars.rul".
Okay, got it. Where do I find that file? It isn`t in the OXCE+ folder as far as I had seen.

Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
Okay, got it. Where do I find that file? It isn`t in the OXCE+ folder as far as I had seen.

openxcom\standard\xcom1\

Offline LouisdeFuines

  • Commander
  • *****
  • Posts: 586
    • View Profile
Found that file. On which position has the entry need to be pasted?

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
What if I changed the type of mission generated from successful infiltration?
Example:

  - type: STR_ALIEN_SUBVERSION  # replaces classic ALIEN INFILTRATION
    points: 150  # Pact score only awarded on month end
    objective: 1
    siteType: STR_SUBVERTED_CORPORATE_HQ # alienbase-like mission site
    spawnZone: 4 # Mission zone for alien bases
    raceWeights: ...
    waves: ...

Would it still work?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
@Meridian, couldn`t this be implemented as an advanced option to the game?

You are not supposed to change this as a user... modders should be doing this.

I'm pretty sure it is NOT supposed to be turned on for PirateZ that you're playing now...

--- posts merged. seriously, 2 minutes apart? ---

What if I changed the type of mission generated from successful infiltration?
Example:

  - type: STR_ALIEN_SUBVERSION  # replaces classic ALIEN INFILTRATION
    points: 150  # Pact score only awarded on month end
    objective: 1
    siteType: STR_SUBVERTED_CORPORATE_HQ # alienbase-like mission site
    spawnZone: 4 # Mission zone for alien bases
    raceWeights: ...
    waves: ...

Would it still work?

I don't know... what does that even do?

But it probably will work... "objective: 1" is important thing here...
« Last Edit: July 31, 2018, 09:28:46 pm by Solarius Scorch »

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
I don't know... what does that even do?

But it probably will work... "objective: 1" is important thing here...
Well,
STR_SUBVERTED_CORPORATE_HQ would be a mission like an alien base, just with a different terrain.
The rest is 1:1 with vanilla infiltration, besides the names.

The big doubt is about the enemy race that will populate the "alien base".
Normally it is the alien race that succeeds the infiltration.
But I'd need a different race, a human race (maybe with a sprinkle of aliens). I can define this specific race into the alienDeployments (like it is done for Cydonia)... the problem is that I don't know if that option can override the race set from the infiltration mission.


Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
Well,
STR_SUBVERTED_CORPORATE_HQ would be a mission like an alien base, just with a different terrain.
The rest is 1:1 with vanilla infiltration, besides the names.

The big doubt is about the enemy race that will populate the "alien base".
Normally it is the alien race that succeeds the infiltration.
But I'd need a different race, a human race (maybe with a sprinkle of aliens). I can define this specific race into the alienDeployments (like it is done for Cydonia)... the problem is that I don't know if that option can override the race set from the infiltration mission.

No. Only this

Code: [Select]
alienMissions:
  - type: STR_ALIEN_INFILTRATION
    points: 150
    objective: 1
    siteType: STR_CULT_VAULT_MISSION
    spawnZone: 4 #Mission zone for alien bases
....
alienDeployments:
  - type: STR_CULT_VAULT_MISSION
...
    race: STR_CULT

Quote
.. the problem is that I don't know if that option can override the race set from the infiltration mission.

It's not clear-infiltration after infiltration?
« Last Edit: July 31, 2018, 01:00:02 pm by Ethereal »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
The big doubt is about the enemy race that will populate the "alien base".
Normally it is the alien race that succeeds the infiltration.
But I'd need a different race, a human race (maybe with a sprinkle of aliens). I can define this specific race into the alienDeployments (like it is done for Cydonia)... the problem is that I don't know if that option can override the race set from the infiltration mission.

Yes, you can do that.

What Ethereal described is exactly what you were asking about... if I understand correctly.
« Last Edit: July 31, 2018, 07:46:43 pm by Meridian »

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Yes, you can do that.

What Ethereal described is exactly what you were asking about... if I understand correctly.
Yeah, I was talking about the same thing that Ethereal described.

This feature was on my wishlist, thank you for adding it.

Offline DaveQB

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Re: [DONE] [Suggestion] Get country back after they sign a pact with aliens
« Reply #25 on: September 14, 2018, 02:44:43 pm »
I really like this feature. It may create a great sensation of getting an edge against the aliens, or playing a nervous tug-of-war with them (get bac one country, lose another). I'll certainly try it in a future play.

Offline Garich

  • Squaddie
  • *
  • Posts: 9
    • View Profile
Is it works in OXCE 6.5.3 (v2020-05-28) with swithced on "OpenXCom FinalMod pack 2.7"?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11730
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Is it works in OXCE 6.5.3 (v2020-05-28) with swithced on "OpenXCom FinalMod pack 2.7"?

No, FMP doesn't have this feature.

Offline KiethSomataw99

  • Captain
  • ***
  • Posts: 63
    • View Profile
Re: [DONE] [Suggestion] Get country back after they sign a pact with aliens
« Reply #28 on: February 12, 2021, 05:27:15 am »
Is it possible for this mod to be compatible with OpenXCOM rather than OpenXCOM extended? Or can you create a mod for that purpose?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11730
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [DONE] [Suggestion] Get country back after they sign a pact with aliens
« Reply #29 on: February 12, 2021, 03:08:16 pm »
Is it possible for this mod to be compatible with OpenXCOM rather than OpenXCOM extended? Or can you create a mod for that purpose?

Sorry, which mod? From the context I can't see any mod you could be referring to.