Having Problems with XML

Sager Hijinks

Chieftain
Joined
Oct 30, 2016
Messages
3
So, I'm not up for doing a legit mod yet, I'm just going into the XML and editing some stuff when I feel like it.

One thing I want to do, but can't, is allow Qin Shi Huang to use his builder charges on wonders from any age.

Spoiler My Journey Through the Files :
I went to Leaders first, and found TRAIT_BUILDER_WONDER_PERCENT, which let me find MODIFIER_PLAYER_ADJUST_UNIT_WONDER_PERCENT in the same file.
From there I went to Modifiers and ended up finding EFFECT_ADJUST_PLAYER_UNIT_WONDER_PERCENT.
I tried going to GameEffects afterwards, and saw EFFECT_ADJUST_PLAYER_UNIT_WONDER_PERCENT again, except it only appeared once and offered no explanation as to how it worked.


I can very easily do things like give Chinese builders 50 extra charges, or make them build Ancient/Classical wonders 100% in 1 turn with 1 charge. But I can't seem to figure out how to change the parameters of which wonders the builders can effect.
 
Last edited:
I believe the Effects themselves are hard-coded.

On a side note, It sounds like you're going to each file separately and looking for the items. If so, personally I use notepad++ and search all the files for the item, then search all the files for the related entries. And just for the info, the files you are referring to are xml files.
 
Last edited:
Back
Top Bottom