Lua and xml changes not taking effect

miguelferreira

Chieftain
Joined
Oct 26, 2014
Messages
7
Hi,

I am new to modding, and I was following Kael's guide to CiV V but I am having some problems getting my changes to appear in-game.

I have tried the SimpleClock example and it works perfectly but when I try to apply a simple change just to get a feel for the whole process, the game ends up the same.

Here is what I did, I added a UnitUpgradePopup.xml file with the same content as the original file and tried to change the close button's position by changing the line

HTML:
<Button	ID="CloseButton" Anchor="R,T" Offset="7,7" Style="CloseButton"/>

to

HTML:
<Button	ID="CloseButton" Anchor="L,T" Offset="27,27" Style="CloseButton"/>

but nothing happens in-game. I compile, install and load the mod, start a new game, go to upgrade screen and the close button remains positioned in the top-right corner of the popup.

Is it something obvious that I am missing?

Thank you
 
Back
Top Bottom