aliens

Author Topic: Modification after new GIT ?  (Read 4732 times)

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Modification after new GIT ?
« on: May 25, 2013, 09:44:14 pm »
So I made few modification in RuleSet file but very often nightly builds appears overwriting my work. How to update to newest GIT keeping my removed Ruleset values?
I know that I can add new ruleset values and start it in options.cfg but what about strings  that was removed? It cames back with new GIT
« Last Edit: May 25, 2013, 10:13:57 pm by Amiga »

Offline Nightwolf

  • Captain
  • ***
  • Posts: 70
    • View Profile
Re: Modification after new GIT ?
« Reply #1 on: May 25, 2013, 10:18:02 pm »
Now its pretty easy, you need to create you own ruleset file with the change you want. Then, go to options.cfg file (you can find it on, if using win7 C:\Users\<username>\Documents\OpenXcom , and add it and the end of document, after the Xcom1Ruleset. For example:

rulesets:
  - Xcom1Ruleset
  - Mycoolmod

Always your mod should be after Xcom1Ruleset

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Modification after new GIT ?
« Reply #2 on: May 25, 2013, 10:21:43 pm »
Yes I know. Changed values works fine but values that has been removed returns :(
For example:
- I removed MEDIKIT from research screen - with updated RuleSet it will back again

Offline Nightwolf

  • Captain
  • ***
  • Posts: 70
    • View Profile
Re: Modification after new GIT ?
« Reply #3 on: May 25, 2013, 10:33:53 pm »
did you make your own ruleset file, instead of editing Xcom1Ruleset.rul file? Also tried if a new game takes effect?

Offline AndO3131

  • Colonel
  • ****
  • Posts: 137
    • View Profile
Re: Modification after new GIT ?
« Reply #4 on: May 25, 2013, 11:46:40 pm »
@Amiga, I think this

rulesets:
  - Xcom1Ruleset
  - Mycoolmod

will load 'Xcom1Ruleset.rul' and then add 'Mycoolmod.rul' features, but I don't think it's possible to remove entries added by 'Xcom1Ruleset.rul'. You could copy original ruleset as 'Mycoolmod.rul', do whatever you want on this copy and in 'options.cfg' put

rulesets:
  - Mycoolmod

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Modification after new GIT ?
« Reply #5 on: May 26, 2013, 01:36:19 am »
Its shame that its impossible to remove values :( Maybe somebody will find out how to do it

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2159
    • View Profile
Re: Modification after new GIT ?
« Reply #6 on: May 26, 2013, 04:41:18 am »
Instead of removing the entry, you could just make it impossible to research/manufacture/buy/etc.

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Modification after new GIT ?
« Reply #7 on: May 26, 2013, 11:06:36 am »
Sounds simple but still I cant find out how to remove medikit from research search in my Ruleset leaving original Ruleset untouched....
[update]
- i know how :-) just add extra dependies on research that never came.
Thx SupSuper for advice
« Last Edit: May 26, 2013, 11:12:03 am by Amiga »