Simple? Mod but need help

rikkia

Chieftain
Joined
Sep 29, 2010
Messages
29
Hello Guys n Galls,

New to the forums so be gentle with me :)

I have spent the past few hours trying but failing miserably to create a mod which will let Barbs give 60 XP vs 30 and to tweak XP gains for different unit types. but regardless of what I try nothing seems to work.

I understand this is mostly due to me lack of knowledge of programming but I'm hoping someone may be able to advise me of where i am going wrong please...

Spoiler :

PHP:
<GameData>
    <Defines>
        <Update>
            <Set Value="4"/>
            <Where Defines="EXPERIENCE_ATTACKING_UNIT_MELEE"/>
        </Update>
    </Defines>
</GameData>


Just 1 part where I wanted to begin testing, with melee attack XP down from 5 to 4 as a quick testing board.

I'm pretty sure my errors are the tags used but without having a much firmer grasp on programming its my first stumbling block.

I would love to keep at this so I can eventually move onto bigger and better things.

Thanks for reading
Rikki
 
It should be <Where Name="ABCD"> instead of Defines ;)

Also keep in mind that if you in any way altered the original GlobalDefines.xml file in your Civ5 installation folder, that might prevent your change from being updated. In which case you can do a reinstall or ask someone to post attached an untampered GlobalDefines file.
 
It should be <Where Name="ABCD"> instead of Defines ;)

Also keep in mind that if you in any way altered the original GlobalDefines.xml file in your Civ5 installation folder, that might prevent your change from being updated. In which case you can do a reinstall or ask someone to post attached an untampered GlobalDefines file.

Or simply press verify integrity check, which takes about 45 seconds rather than 5 hours.
 
Or simply press verify integrity check, which takes about 45 seconds rather than 5 hours.

Didn't really work, it said integrity was alright even after I deliberately renamed the whole Assets folder. How is that reliable?
 
Szpilman, will deffo stick with it and also thanked you in the mod :goodjob:

Soduka, how did you know it was 5hours :mischief::lol: but handy tip will try in future thanks!
 
I'm having a similar issue. every thing looks great, but no dice. do I need to do anything besides add my lines I am updating?
 
In all seriousness, my mod looks fine on paper, but does nothing in game. I have no clue why.
 
pdonettes, sorry wasn't able to check back sooner but been laid up in bed with manflu all day. Glad you figured it out and will check it out when i feel a bit better and can muster energy to play.

Rikki
 
Back
Top Bottom