OpenXcom Forum

Modding => Released Mods => XPiratez => Topic started by: peirceg on April 08, 2019, 04:03:12 pm

Title: Modding to get all Codex options.
Post by: peirceg on April 08, 2019, 04:03:12 pm
Before I start a new game for realz I would like to test all the codex options before I really go for it. How do I do that with my current save file? Thanks!
Title: Re: Modding to get all Codex options.
Post by: Ashghan on April 08, 2019, 04:26:18 pm
Edit your savegame with any text editor and change value in lines:
      STR_TINY_DRILL: 1
      STR_MENACING_HULL: 1

to
      STR_TINY_DRILL: 4
      STR_MENACING_HULL: 4

This will give you 4 Tiny drills and hulls, so you can use each on a different codex.
Title: Re: Modding to get all Codex options.
Post by: LytaRyta on April 08, 2019, 09:18:39 pm
..so easy, so damn easy.. ;D :p

(..or, eventuallly even more, instead of "4" write there any bigger number.. (for example "8" , so you get, if i´m correct, 2 or 4 from each those "speacial weapons, and extra, elite, top stuffs.. )
Title: Re: Modding to get all Codex options.
Post by: peirceg on April 09, 2019, 12:42:35 pm
Thanks guys. Going to give it an ironman run through now!
Title: Re: Modding to get all Codex options.
Post by: Zippicus on April 09, 2019, 08:58:17 pm
You probably shouldn't play ironman, especially if you're trying to do something that's probably going to cause extra bugs.
Title: Re: Modding to get all Codex options.
Post by: LytaRyta on April 09, 2019, 11:34:44 pm
..but arent they (at least 2 of them) "mutually exclusive" ? ?!

( ~~ if you get the one Codex, you cant get some other, specifically.. )

yu get .."Red, --~~> cant get Green, ..and so on..
Title: Re: Modding to get all Codex options.
Post by: Martin on April 10, 2019, 12:50:10 pm
Yes, they disable one another. Dioxine seems to be keen on "choices and consequences". Still trivial to mod away.
Title: Re: Modding to get all Codex options.
Post by: LytaRyta on April 11, 2019, 10:16:30 pm
@Martin ..and how you can mod this *mutually exclusivity" away, (off  ?    ?

how could you disable that mutually-excliusivity off ? 

( - to avalaible getting all of them, all 4 Codexes alltogehter, (parallelly)
Title: Re: Modding to get all Codex options.
Post by: Martin on April 11, 2019, 10:38:02 pm
Open piratez.rul in text editor
Search for codex projects (- name: STR_ CODEX_ GOLD etc.)
Delete references to other codides in "disables:" section of the entry

I never tested it but I am fairly sure it should work. If it doesn’t chekc dependencies. You can even add the reference top otehr codices under "getOneFree:" section, this should lock you to single Menace class but give you access to all the voodoo.
Title: Re: Modding to get all Codex options.
Post by: LytaRyta on April 11, 2019, 11:16:11 pm
thx, mercii,

as i remember, few versions (releases) before, thias mutually-exclusivity still wasnt implemented yet, before
Title: Re: Modding to get all Codex options.
Post by: peirceg on April 12, 2019, 02:23:56 pm
Thanks again guys!  Just playing on supermutant mode! Decisions you make have real weight now!
Title: Re: Modding to get all Codex options.
Post by: peirceg on April 19, 2019, 03:17:06 pm
Do I have to edit anything for research items that need things like "anything but red" etc?

Title: Re: Modding to get all Codex options.
Post by: legionof1 on April 20, 2019, 06:04:05 am
not that im aware of, not that i know the tree 100%
Title: Re: Modding to get all Codex options.
Post by: cc on April 22, 2019, 06:12:06 pm
Do I have to edit anything for research items that need things like "anything but red" etc?
No. Those techs are (as of now) only there to make the dependency trees more readable.