Modifying XML files Guide???

Logik

Modder,Skyrim,ETW,MTW 2
Joined
Aug 16, 2011
Messages
108
Location
I Am Hidden From All Mortal Eyes
Hello i 've searched far and wide for a tutorial or guide regarding editing the Civ 5 game XML files like the Ai etc but cannot find one specifically for that.

Basically i want a guide that will tell me things like for example what values to modify,What is the maximum value i can use what is the default value etc,etc.

This is my first attempt at modding Civ 5 and i just want a step by step guide to help me along.

For my first attempt at modding i want to modify the Ai to make them more aggressive.And secondly i want to edit the Unit stats like damage inflected,range attack damage etc,etc.

Can someone please point me in the right direction or let me know if such a guide even exits?

I already checked out the other guides around the web but they don't cover XML editing as thoroughly as i like.

Thank You.
 
Hello i 've searched far and wide for a tutorial or guide regarding editing the Civ 5 game XML files like the Ai etc but cannot find one specifically for that.

Basically i want a guide that will tell me things like for example what values to modify,What is the maximum value i can use what is the default value etc,etc.

This is my first attempt at modding Civ 5 and i just want a step by step guide to help me along.

For my first attempt at modding i want to modify the Ai to make them more aggressive.And secondly i want to edit the Unit stats like damage inflected,range attack damage etc,etc.

Can someone please point me in the right direction or let me know if such a guide even exits?

I already checked out the other guides around the web but they don't cover XML editing as thoroughly as i like.

Thank You.

http://kael.civfanatics.net/files/ModdersGuide.pdf

This covers all the basics. Pay attention to the part on adding actions too, as any mod you build won't work in game otherwise.

As for fixing the AI, that is not so easy. There doesn't appear to be a reference anywhere that explains exactly what each xml entry controls. So that leaves us with having to infer what they do based on what it sounds like (which usually works ok), or having to run tests (which are no fun and take a long time to run).
There are some threads in here that discuss attempts at fixing the AI's tactics. I know I started one myself about a month ago, and just recently was trying to fix naval combat behavior. I'd recommend just typing in something like "Changing AI combat" or "Ai tactics" in the search box in the top right part of the website if you want to read any.
 
Kael's guide offers a pretty solid explanation on how XML works in Civ modding, however what each tag does specifically can only be guessed and trail&error.

For your purpose of making AI more aggressive, you should look at <Leader_MajorCivApproachBiases> sections and change number for most civ to favor war over diplomacy.

Changing Unit stats would be in <Unit> section, each tag there is pretty self-explanatory
 
Thanks gentlemen for the replies i'll try what you suggested.I'll post here if i have further questions.
 
Back
Top Bottom