Author Topic: Searching for a specific mod. [Defeat\Victory Conditions]  (Read 6468 times)

Offline KOYK

  • Sergeant
  • **
  • Posts: 14
  • To walk a fine line
    • View Profile
Searching for a specific mod. [Defeat\Victory Conditions]
« on: November 26, 2015, 12:02:30 pm »
Hi i am searching for a mod that changes the defeat\victory conditions.

i want to play the game at my own pace and not rushing out.i don't really care if the martians invade my base 10 times the day,nor having less than 10 dollars(euros in my case) in my pocket,or my soldiers get mind controlled at mission-start and start acting like chickens.

So is there a mini mod that changes that? make you undefeatable in geoscape?

Offline KOYK

  • Sergeant
  • **
  • Posts: 14
  • To walk a fine line
    • View Profile
Re: Searching for a specific mod. [Defeat\Victory Conditions]
« Reply #1 on: November 27, 2015, 03:16:00 pm »
really now no one will reply? come on dudes i need help here


Offline KOYK

  • Sergeant
  • **
  • Posts: 14
  • To walk a fine line
    • View Profile

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Searching for a specific mod. [Defeat\Victory Conditions]
« Reply #4 on: November 27, 2015, 04:13:37 pm »
There are the following defeat conditions in OpenXcom:
1. Your last base gets destroyed by aliens (or yourself)
2. You fail the final mission
3. You have a negative budget for two months
4. You have a negative score for two months (how much negative it can be depends on difficulty)

All of these are hard-coded and cannot be removed by modding.

You can however create mods to fix it indirectly (instead of removing the conditions, you can change the game so that these conditions will never be true):
1. Mod the damage of Missile Defences to 50000 (original 500), build time to 1 day (original 16), hit ratio to 100% (original 50%) and cost to $1k (original $200k) and add it to your starting base; also when you build a new base, build Missile Defences too
2. Don't do the final mission
3. Mod your starting budget to $100'000'000'000... that should do
4. Mod the score penalty of all alien activity to zero... that way you won't get any negative score

Final words: if you do all this, you just fucked up the game completely... but if it makes you happy, who am I to judge you

EDIT: there are no mods like this... nobody ever needed them... you'll need to write them yourself (I'd say it could take about 30 minutes for point 1, 5 minutes for point 3 and about 1-2 hours for point 4)
« Last Edit: November 27, 2015, 04:18:08 pm by Meridian »

Offline KOYK

  • Sergeant
  • **
  • Posts: 14
  • To walk a fine line
    • View Profile
Re: Searching for a specific mod. [Defeat\Victory Conditions]
« Reply #5 on: November 27, 2015, 04:21:13 pm »
4. Mod the score penalty of all alien activity to zero... that way you won't get any negative score

well that should do it! thanks man!

Offline Shoes

  • Commander
  • *****
  • Posts: 502
    • View Profile
Re: Searching for a specific mod. [Defeat\Victory Conditions]
« Reply #6 on: November 27, 2015, 04:32:29 pm »

Final words: if you do all this, you just fucked up the game completely... but if it makes you happy, who am I to judge you


Speaking of that, I managed to mix up my rulesets so bad that aliens stopped spawning. It was just a quiet Earth, in no need of defending. Countries loved the "work" I did.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Searching for a specific mod. [Defeat\Victory Conditions]
« Reply #7 on: November 27, 2015, 04:36:12 pm »
Speaking of that, I managed to mix up my rulesets so bad that aliens stopped spawning. It was just a quiet Earth, in no need of defending. Countries loved the "work" I did.

I always knew you have Jedi powers Shoes ;-)

Offline KOYK

  • Sergeant
  • **
  • Posts: 14
  • To walk a fine line
    • View Profile
Re: Searching for a specific mod. [Defeat\Victory Conditions]
« Reply #8 on: November 27, 2015, 08:59:42 pm »
Ok sorry for bothering you all again but can some one give me the file Names that i need to mod in order to achieve step 4?
So i can experiment on them.Thanks

(not the files but ther NAMES ONLY)
« Last Edit: November 27, 2015, 09:02:02 pm by KOYK »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Searching for a specific mod. [Defeat\Victory Conditions]
« Reply #9 on: November 27, 2015, 09:04:41 pm »
Ok sorry for bothering you all again but can some one give me the file Names that i need to mod in order to achieve step 4?
So i can experiment on them.Thanks

(not the files but ther NAMES ONLY)

You can name your files as you wish, the name doesn't matter ;-)

But, to help you a little bit, I would start with the alien missions (https://www.ufopaedia.org/index.php?title=Ruleset_Reference_Nightly_%28OpenXcom%29#Alien_Missions), which you can find in alienMissions.rul file.

Offline KOYK

  • Sergeant
  • **
  • Posts: 14
  • To walk a fine line
    • View Profile
Re: Searching for a specific mod. [Defeat\Victory Conditions]
« Reply #10 on: November 27, 2015, 09:13:17 pm »
But, to help you a little bit

Thank you for your time and help! I appreciate that.

Offline KOYK

  • Sergeant
  • **
  • Posts: 14
  • To walk a fine line
    • View Profile
Re: Searching for a specific mod. [Defeat\Victory Conditions]
« Reply #11 on: November 27, 2015, 09:59:33 pm »
Its working nice! Thank you again Meridian!!!

If some one wants to use this Click on the spoiler, and copy paste all that you see there , inside the file: alienMissions.rul
but first make a BackUp of the file

The change is this: points: -100000
From: points: 0

Spoiler:
alienMissions:
  - type: STR_ALIEN_RESEARCH
    points: -100000
    raceWeights:
      0:
        STR_SECTOID: 70
        STR_SNAKEMAN: 10
        STR_FLOATER: 20
      1:
        STR_SECTOID: 60
        STR_SNAKEMAN: 10
        STR_FLOATER: 30
      3:
        STR_SECTOID: 30
        STR_SNAKEMAN: 10
        STR_MUTON: 30
        STR_FLOATER: 30
      5:
        STR_SECTOID: 20
        STR_SNAKEMAN: 10
        STR_MUTON: 40
        STR_FLOATER: 30
      7:
        STR_SECTOID: 30
        STR_SNAKEMAN: 10
        STR_MUTON: 30
        STR_FLOATER: 30
    waves:
      - ufo: STR_SMALL_SCOUT
        count: 1
        trajectory: P0
        timer: 9000
      - ufo: STR_MEDIUM_SCOUT
        count: 1
        trajectory: P2
        timer: 7800
      - ufo: STR_LARGE_SCOUT
        count: 2
        trajectory: P4
        timer: 9000
  - type: STR_ALIEN_HARVEST
    points: -100000
    raceWeights:
      0:
        STR_SECTOID: 50
        STR_SNAKEMAN: 20
        STR_FLOATER: 30
      1:
        STR_SECTOID: 50
        STR_FLOATER: 50
      3:
        STR_SECTOID: 30
        STR_MUTON: 30
        STR_FLOATER: 40
      5:
        STR_SECTOID: 10
        STR_MUTON: 40
        STR_FLOATER: 50
      7:
        STR_SECTOID: 30
        STR_MUTON: 30
        STR_FLOATER: 40
    waves:
      - ufo: STR_SMALL_SCOUT
        count: 1
        trajectory: P0
        timer: 7800
      - ufo: STR_SMALL_SCOUT
        count: 1
        trajectory: P2
        timer: 7800
      - ufo: STR_MEDIUM_SCOUT
        count: 1
        trajectory: P2
        timer: 6000
      - ufo: STR_LARGE_SCOUT
        count: 1
        trajectory: P0
        timer: 7800
      - ufo: STR_LARGE_SCOUT
        count: 1
        trajectory: P3
        timer: 9000
      - ufo: STR_HARVESTER
        count: 1
        trajectory: P4
        timer: 3000
      - ufo: STR_HARVESTER
        count: 1
        trajectory: P4
        timer: 750
      - ufo: STR_BATTLESHIP
        count: 1
        trajectory: P2
        timer: 1500
  - type: STR_ALIEN_ABDUCTION
    points: -100000
    raceWeights:
      0:
        STR_SECTOID: 60
        STR_FLOATER: 40
      1:
        STR_SECTOID: 40
        STR_FLOATER: 60
      3:
        STR_SECTOID: 50
        STR_FLOATER: 50
      5:
        STR_SECTOID: 30
        STR_FLOATER: 70
      7:
        STR_SECTOID: 50
        STR_FLOATER: 50
    waves:
      - ufo: STR_SMALL_SCOUT
        count: 1
        trajectory: P0
        timer: 15000
      - ufo: STR_MEDIUM_SCOUT
        count: 1
        trajectory: P1
        timer: 18000
      - ufo: STR_LARGE_SCOUT
        count: 1
        trajectory: P3
        timer: 9000
      - ufo: STR_ABDUCTOR
        count: 1
        trajectory: P3
        timer: 9000
      - ufo: STR_ABDUCTOR
        count: 2
        trajectory: P4
        timer: 60
  - type: STR_ALIEN_INFILTRATION
    points: -100000
    objective: 1
    spawnZone: 4 #Mission zone for alien bases
    raceWeights:
      0:
        STR_SECTOID: 60
        STR_SNAKEMAN: 20
        STR_FLOATER: 20
      1:
        STR_SECTOID: 50
        STR_SNAKEMAN: 20
        STR_FLOATER: 30
      3:
        STR_SECTOID: 20
        STR_SNAKEMAN: 20
        STR_MUTON: 50
        STR_FLOATER: 10
      5:
        STR_SECTOID: 10
        STR_SNAKEMAN: 10
        STR_ETHEREAL: 40
        STR_MUTON: 30
        STR_FLOATER: 10
      7:
        STR_SECTOID: 20
        STR_SNAKEMAN: 20
        STR_ETHEREAL: 10
        STR_MUTON: 40
        STR_FLOATER: 10
    waves:
      - ufo: STR_SMALL_SCOUT
        count: 1
        trajectory: P0
        timer: 16500
      - ufo: STR_MEDIUM_SCOUT
        count: 1
        trajectory: P1
        timer: 15000
      - ufo: STR_MEDIUM_SCOUT
        count: 1
        trajectory: P6
        timer: 13800
      - ufo: STR_LARGE_SCOUT
        count: 1
        trajectory: P7
        timer: 9000
      - ufo: STR_LARGE_SCOUT
        count: 1
        trajectory: P7
        timer: 60
      - ufo: STR_TERROR_SHIP
        count: 1
        trajectory: P7
        timer: 60
      - ufo: STR_SUPPLY_SHIP
        count: 1
        trajectory: P7
        timer: 60
      - ufo: STR_BATTLESHIP
        count: 2
        trajectory: P7
        timer: 60
  - type: STR_ALIEN_BASE
    points: -100000
    objective: 2
    spawnZone: 4 #Mission zone for alien bases
    raceWeights:
      0:
        STR_SECTOID: 30
        STR_SNAKEMAN: 20
        STR_FLOATER: 50
      1:
        STR_SECTOID: 40
        STR_SNAKEMAN: 20
        STR_FLOATER: 40
      3:
        STR_SECTOID: 10
        STR_SNAKEMAN: 40
        STR_MUTON: 30
        STR_FLOATER: 20
      5:
        STR_SECTOID: 10
        STR_SNAKEMAN: 40
        STR_ETHEREAL: 10
        STR_MUTON: 20
        STR_FLOATER: 20
      7:
        STR_SECTOID: 10
        STR_SNAKEMAN: 20
        STR_ETHEREAL: 40
        STR_MUTON: 20
        STR_FLOATER: 10
    waves:
      - ufo: STR_SMALL_SCOUT
        count: 1
        trajectory: P1
        timer: 13500
      - ufo: STR_MEDIUM_SCOUT
        count: 1
        trajectory: P5
        timer: 15000
      - ufo: STR_LARGE_SCOUT
        count: 1
        trajectory: P5
        timer: 60
      - ufo: STR_SUPPLY_SHIP
        count: 2
        trajectory: P5
        timer: 60
      - ufo: STR_BATTLESHIP
        count: 1
        trajectory: P6
        timer: 60
  - type: STR_ALIEN_TERROR
    points: -100000
    objective: 3
    spawnZone: 3 #Mission zone for terror missions
    raceWeights:
      0:
        STR_SECTOID: 30
        STR_FLOATER: 70
      1:
        STR_SECTOID: 60
        STR_FLOATER: 40
      3:
        STR_SECTOID: 20
        STR_SNAKEMAN: 60
        STR_FLOATER: 20
      5:
        STR_SECTOID: 10
        STR_SNAKEMAN: 20
        STR_ETHEREAL: 40
        STR_MUTON: 20
        STR_FLOATER: 10
      7:
        STR_SECTOID: 20
        STR_SNAKEMAN: 30
        STR_ETHEREAL: 20
        STR_MUTON: 20
        STR_FLOATER: 10
    waves:
      - ufo: STR_MEDIUM_SCOUT
        count: 1
        trajectory: P1
        timer: 15000
      - ufo: STR_LARGE_SCOUT
        count: 1
        trajectory: P1
        timer: 9600
      - ufo: STR_TERROR_SHIP
        count: 1
        trajectory: P0
        timer: 12000
      - ufo: STR_TERROR_SHIP
        count: 1
        trajectory: P7
        timer: 9000
        objective: true
  - type: STR_ALIEN_RETALIATION
    points: -100000
    objective: 4
    spawnUfo: STR_BATTLESHIP # Spawned for the final retaliation run
    raceWeights: # In the case of a shootdown, race comes from the UFO that triggered the mission.
      0:
        STR_SECTOID: 20
        STR_SNAKEMAN: 20
        STR_ETHEREAL: 20
        STR_MUTON: 20
        STR_FLOATER: 20
    waves:
      - ufo: STR_SMALL_SCOUT
        count: 1
        trajectory: P8
        timer: 3000
      - ufo: STR_MEDIUM_SCOUT
        count: 2
        trajectory: P8
        timer: 3000
      - ufo: STR_LARGE_SCOUT
        count: 3
        trajectory: P8
        timer: 3000
      - ufo: STR_BATTLESHIP
        count: 2
        trajectory: P8
        timer: 3000
  - type: STR_ALIEN_SUPPLY
    points: -100000
    objective: 5
    raceWeights: {} #Special case, race comes from base.
    waves:
      - ufo: STR_SUPPLY_SHIP
        count: 1
        trajectory: P9
        timer: 6000
        objective: true
You can change the value to "points: -100" if you want, and get small negative scores in the monthly budgets.

But Be Aware The game it's not meant to be played like this! this is only for the players that want to relax and just play until the world ends (the real world)