How would I go about modding certain aspects of the barbarians

todd_10

Chieftain
Joined
Jan 16, 2013
Messages
20
Location
New Zealand
I'm curious as to how straight forward/or not it would be to fiddle around with upping how much gold you get for raiding a barbarians camp etc?

Moderator Action: Moved to C&C.
 
GlobalDefines XML if I'm not wrong. See Modiki, and some Barbarian Mods in the previous Posts.
 
The amount of gold you get from barb camps is calculated as BarbCampGold in HandicapInfos table, modified by PlunderModifier in Traits table and GoldPercent in GameSpeeds table (just checked in the DLL code).
 
The amount of gold you get from barb camps is calculated as BarbCampGold in HandicapInfos table, modified by PlunderModifier in Traits table and GoldPercent in GameSpeeds table (just checked in the DLL code).

Okay, I found those with a bit of effort. Do I need any special tool to go about altering them. Or is it a case of changing the values, saving, and then playing the game?
 
Okay, I found those with a bit of effort. Do I need any special tool to go about altering them. Or is it a case of changing the values, saving, and then playing the game?

In an ideal world you'd write a mod to make the changes, but if it's just for personal fun (and you don't mind re-editing the files everytime you validate the game with Steam or Firaxis release a new patch), you can edit the files directly.

Note, that there are TWO sets of (most) files - one for vanilla (in C:\Program Files (x86)\Steam\SteamApps\common\sid meier's civilization v\assets\Gameplay\XML) and one for G&K (in C:\Program Files (x86)\Steam\SteamApps\common\sid meier's civilization v\assets\DLC\Expansion\Gameplay\XML)

Firstly, take a back-up of any files you are going to edit - and keep them safe because at somepoint you WILL make a mistake and need to get them back! Then use a plain text editor (such as Notepad, Notepad++ or TextEdit) to make your changes. If the game then fails to start, you've made a mistake, so put the originals back and try again.
 
In an ideal world you'd write a mod to make the changes, but if it's just for personal fun (and you don't mind re-editing the files everytime you validate the game with Steam or Firaxis release a new patch), you can edit the files directly.

Note, that there are TWO sets of (most) files - one for vanilla (in C:\Program Files (x86)\Steam\SteamApps\common\sid meier's civilization v\assets\Gameplay\XML) and one for G&K (in C:\Program Files (x86)\Steam\SteamApps\common\sid meier's civilization v\assets\DLC\Expansion\Gameplay\XML)

Firstly, take a back-up of any files you are going to edit - and keep them safe because at somepoint you WILL make a mistake and need to get them back! Then use a plain text editor (such as Notepad, Notepad++ or TextEdit) to make your changes. If the game then fails to start, you've made a mistake, so put the originals back and try again.

So I need to modify both sets of files, vanilla and G&K?
 
So I need to modify both sets of files, vanilla and G&K?

Only if you play both versions.

The usual "gotcha" is that people edit the vanilla files and then wonder why the changes arn't showing up (as they play G&K)
 
Back
Top Bottom