Ok so I'm a novice at this but from what I've tried so far when updating a xml you can do it like this :
So you can write several <set> commands if it's using the same <where>, and the other way around works aswell of course (several <where> commands). This wasn't very clear in Kael's Guide, I believe he only mentionned the several <where> but his examples always used a new line for each <set> so I'm posting this just in case some of you didn't already know this.
By the way this example changes the Aztec civ colors, the values are in Arithmetic RGB ( 1,1,1 = white ; 0,0,0 = black ; 1,0,0 = full red )
This is very simple but I'm sure others can post in this thread more usefull tips & examples
Code:
<GameData>
<Colors>
<Update>
<Set Red="1" Green="0.55" Blue="0.55"></Set>
<Where Type="COLOR_PLAYER_AZTEC_ICON"></Where>
</Update>
<Update>
<Set Red="0.08" Green="0.45" Blue="0.2"></Set>
<Where Type="COLOR_PLAYER_AZTEC_BACKGROUND"></Where>
</Update>
</Colors>
</GameData>
So you can write several <set> commands if it's using the same <where>, and the other way around works aswell of course (several <where> commands). This wasn't very clear in Kael's Guide, I believe he only mentionned the several <where> but his examples always used a new line for each <set> so I'm posting this just in case some of you didn't already know this.
By the way this example changes the Aztec civ colors, the values are in Arithmetic RGB ( 1,1,1 = white ; 0,0,0 = black ; 1,0,0 = full red )
This is very simple but I'm sure others can post in this thread more usefull tips & examples
