Editing Expansion1 files

Narvana

Chieftain
Joined
Nov 20, 2016
Messages
62
Important note: I'm not creating mods via Mod Buddy (too frustrated to finally learn how to), I just meddle with the backed up files.

So I wanted to add an ability to Wilhelmina, via her "TRAIT_RADIO_ORANJE".

Expansion1 brings a change to the way mod files work. One group of traits is not held in one file like it used to be with the Base, they're split among numerous ones.

That's why the TraitModifier is in the file "Leaders_Major" but the rest of it is kept in the "Leaders" file.

The problem is, I can't seem to connect the changes I've made in the "Leaders" with the "Leaders_Major".

To my knowledge, "Leaders_Major" requires only one lane of code:

"<Row TraitType="TRAIT_RADIO_ORANJE" ModifierId="TRAIT_NEW_ONE"/>"

But whenever I try to turn the game on with it, I get a log that the "TRAIT_NEW_ONE" couldn't be found, even though I copied exactly how her traits work in the both files.

Does anyone know what I have to do to not receive an error?
 
I'd strongly suggest NOT editing the game files directly. It has the potential to create all sorts of problems for you. You don't really need ModBuddy to create mods unless you're doing something with art assets. It's main benefit is to help create the framework (i.e. modinfo, file structure). Honestly, though, I've never even used it for that as I've created all my non-art asset mods by hand in Notepad++.
 
Back
Top Bottom