Godus
43 ratings
Changing Values in the code of Godus (no longer updated)
By gotchaxd
This guide is temporarily no longer being updated.

This guide will help you fix 'things' you don't like about Godus. For example, you don't like the fact that the 4th settlement costs 50 gems, and is not using the belief currency, then this guide will show you how to fix that specific issues, and porvide you with the knowledge to fix other issues, or tweak the game to your preference.

   
Award
Favorite
Favorited
Unfavorite
First Steps
First-off, find the file config.csv in your Godus game files. The below path is for a 'standard' installation to your main drive.

Windows:
C:\Program Files (x86)\Steam\SteamApps\common\Godus\windows\received\balancefiles_b1.4

Mac:
~/Library/Application Support/godus/received/balancefiles_b1.4/desktop/balance/config.csv

Now what that means is instructing is to go to your C drive, then to the Program files (86) folder and so on. It's like a map. Copy and paste it into your adress bar in your file manager (the little window that you use to see all your files). It will not work if your Steam file is installed under a different folder or drive.

Back-up the config.csv file.

Tips

Use the steam guide index on the right to find what you're looking for. The guide has gotten quite long and is still growing.

If there is something particular you would like changed, and it is not included, please send me a message via steam or leave a comment.

When talking about a .cvs file, they can be opened with microsoft excel and the libreoffice non-branded counterpart (which is completely free and legal to use).
Introducing the Code With Settlements
Open the config.csv file. The following is an example of how to edit one series of particular values involving settlements. Read this as a little how-to, and then go to the section you're looking for.

The config.csv can be opened with microsoft excel and the libre office non-branded version (free and legal) of excel for those of you who do not have it.

On line 231 is the price for Settlement 1.
belief_Settlement_Use1,2000,2000,2000,

The first number is the price in belief, change that to what you want. Do not change the last 2 2000s. That goes for all further settlements 'uses'. If you wish to expand the limit, change the number after belief_Settlement_Use(number here, must be in sequence).

If you want a limit of 20 Settlement uses, each getting more expensive by 2500, the code is in the next section. Just an example, hopefully by this point you understand everything well enough to set up your own 'scheme'.

Settlement Scheme Example
belief_Settlement_Use1,2000,2000,2000,
belief_Settlement_Use2,4500,2000,2000,
belief_Settlement_Use3,7000,2000,2000,
belief_Settlement_Use4,9500,2000,2000,
belief_Settlement_Use5,12000,2000,2000,
belief_Settlement_Use6,14500,2000,2000,
belief_Settlement_Use7,16000,2000,2000,
belief_Settlement_Use8,18500,2000,2000,
belief_Settlement_Use9,21000,2000,2000,
belief_Settlement_Use10,23500,2000,2000,
belief_Settlement_Use11,26000,2000,2000,
belief_Settlement_Use12,28500,2000,2000,
belief_Settlement_Use13,31000,2000,2000,
belief_Settlement_Use14,33500,2000,2000,
belief_Settlement_Use15,36000,2000,2000,
belief_Settlement_Use16,38500,2000,2000,
belief_Settlement_Use17,41000,2000,2000,
belief_Settlement_Use18,43500,2000,2000,
belief_Settlement_Use19,46000,2000,2000,
belief_Settlement_Use20,48500,2000,2000,
belief_Settlement_Use1,2000,2000,2000,

You can copy and paste the above lines, removing the first to last line of settlement uses.

First:belief_Settlement_Use1,2000,2000,2000,
Last: the line above the ,,,,, which is above ## GOD POWERS – OTHER,,,,

Make sure each line of code is on it each individual excel line (in a vertical arrangement).

Editing Beautify (.csv)
The following are all references to lines of code in the config.csv file.
Do not copy and paste any lines of code. Edit in .csv file.
.csv files can be edited in microsoft excel, and in the libreoffice non-branded counterpart which is comepletely free and legal to use.
When referring to values, I am referring to the numbers on the target line of code.

--- Line 238: The duration of beautify.

BeautifyLength,8,6,6,

Change the first value only. The value is the number of seconds that beautify will last for.

--- Line 239: The radius of the area of effect for the beautify god power.

BEAUTIFY_RADIUS,1.5,1.5,1.5,

Change all three values. All values must be identical.
Editing Belief (.csv)
The following are all references to lines of code in the config.csv file.
Do not copy and paste any lines of code. Edit in .csv file.
.csv files can be edited in microsoft excel, and in the libreoffice non-branded counterpart which is comepletely free and legal to use.
When referring to values, I am referring to the numbers on the target line of code.

--- Line 170: Belief Per Rock

beliefPerRock,314159,314159,314159, (this is what mine is set to)

Edit all three values. All values must be identical. Go crazy, the game will not glitch with 100 million plus belief.

--- Line 171: Belief Per Tree

beliefPerTree,10000000,1000000,1000000 (this is what mine is set to)

Edit all three values. All values must be identical.
Editing Cards (.csv)
The following are all references to lines of code in the cards.csv file.
Do not copy and paste any lines of code. Edit in .csv file.
.csv files can be edited in microsoft excel, and in the libreoffice non-branded counterpart which is comepletely free and legal to use.
When referring to values, I am referring to the numbers on the target line of code.


Search your computer for cards.csv and create a back-up before editing.

What you'll come across is a .csv file that isn't laid out the same way as config.csv so I'll provide more of a walkthrough for this one.

In column A, is the name of the card, do not change anything in column a. Use it as a reference to what cards you are editing.

In column G, is the controlling value to if you can buy the card or not. If you want to but the card, change the value to a 1. If you do not want to be able to purchase the card, change the value to a 0. I suggest only making resource cards available to buy, as if you being to purchase god cards, your game may break.

In column H, is the price of the card in gems. If the price is set to 0, then cards become free.

In column I, is how many of the card you can 'stockpile'. Meaning if it is set to 10, the maximum number of the card you can store is 10.

In columns T, U, V, are the amount of 'elements' needed to activate a god card. Ex, something needs 4 timber, 4 felt, 4 clay. Set values in T, U, V to 1 to reduce the cost to 1 felt, 1 timber, 1 clay.

In columns Q, R, S, are the type of elements that are needed to activate a god card.LEave them blank for no requirement.

In column J, is the age the cards become available. Set all values to 1 for all cards to be available in the first age.

Editing Damage (.csv)
The following are all references to lines of code in the config.csv file.
Do not copy and paste any lines of code. Edit in .csv file.
.csv files can be edited in microsoft excel, and in the libreoffice non-branded counterpart which is comepletely free and legal to use.
When referring to values, I am referring to the numbers on the target line of code.



--- Line 604: Follower damage against buildings.

FollowerBuildingDamagePerHit 0.1 0.1 0.1

Change all three values to whatever you want. All three values must be identical.


--- Line 605: Champion damage against buildings.

ChampionBuildingDamagePerHit 0.25 0.25 0.25

Change all three values to whatever you want. All three values must be identical.


--- Line 687: Follower damage against people.

damagePerPunch -30 -30 -30

Change all three values to whatever you want. All three values must be identical. The numbers must be negative for your followers to deal damage. Positive numbers will give health to the enemies being punched.


--- Line 688: Champion damage against people.

championDamagePerPunch -40 -40 -40

Change all three values to whatever you want. All three must be identical. The numbers must be negative for your followers to deal damage. Positive numbers will give health to the enemies being punched.


Editing Gems (hex)
To instantly change the amount of Gems you have, it will require either a hex editor for the more advanced, or another program called cheat engine.

The gem hex (the file that is the amount of gems you have) has the address of
68C2CDF8.

Cheat engine has a little in-built tutorial, so once you've done that and opened godus, sort the adresses by alphabetical, that way you can just scroll down to your target hex.

Sorry, it is not possible to edit this through the csv file like the other tweaks.

The scaling is funny. The value of the left is the value to change the hex to, and the value on the right is how many gems you will have.

1 = 1
10 = 16
100 = 256
1,000 = 4,096
10,000 = 66,000
100,000 = 1,049
1,000,000 = 17,000,000
10,000,000 = 268,000,000
100,000,000 + = 0

If you do not want to use cheat engine, I will include some csv tweaks soon.
Editing God Power Prices (.csv)
The following are all references to lines of code in the config.csv file.
Do not copy and paste any lines of code. Edit in .csv file.
.csv files can be edited in microsoft excel, and in the libreoffice non-branded counterpart which is comepletely free and legal to use.
When referring to values, I am referring to the numbers on the target line of code.

--- Lines 201 - 230: All the god power prices except for settlements.

belief_TotemActivate,20,20,2,
belief_TotemActivate_Deactivate,20,20,2,
belief_Totem,100,100,10,
belief_Possess,10000,10000,10000,
belief_Knight,10000,5000,5000,
belief_RaiseLand,10000,10000,10000,
belief_LowerLand,10000,10000,10000,
belief_Speedup,10000,10000,10000,
belief_Beautify,5000,2000,2000,
belief_ForgeOfClubs,10000,10000,10000,
belief_ForgeOfDaggers,10000,10000,10000,
belief_ForgeOfSwords,10000,10000,10000,
belief_TempleOfHealing,10000,10000,10000,
belief_TempleOfExtremeHealing,10000,10000,10000,
belief_StatueOfSpeed,5000,10000,10000,
belief_StatueOfExploration,5000,5000,5000,
belief_StatueOfHappiness,10000,10000,10000,
belief_StatueOfFertility,10000,10000,10000,
belief_FingerOfGod,2000,2000,2000,
belief_RainOfPurity,10000,10000,10000,
belief_MusicOfWorking,10000,10000,10000,
belief_MusicOfFertility,10000,10000,10000,
belief_Swamp,3000,3000,3000,
belief_Earthquake,10000,10000,10000,
belief_MeteorStrike,10000,10000,120000,
belief_TidalWave,20000,20000,20000,
belief_Tornado,30000,30000,30000,
belief_Volcano,50000,50000,50000,
belief_Armageddon,80000,20000,20000,
belief_LandExpansion,5000,80000,80000,

Select your god power. The name of the power is the word after belief_(the name is here),values,values,values,.

Change all three values of your selected power. All three must be identical. Be careful not to erase the comma after the final value on each line when editing.
Editing Start-Up Values (.csv)
The following are all references to lines of code in the config.csv file.
Do not copy and paste any lines of code. Edit in .csv file.
.csv files can be edited in microsoft excel, and in the libreoffice non-branded counterpart which is comepletely free and legal to use.
When referring to values, I am referring to the numbers on the target line of code.

--- Line 6: Initial amount of belief.

InitialBelief,75,1000,500,

Edit the first value only. This will change your starting amount of belief. There is no limit that I have come across.

--- Line 7: Initial amount of followers.

InitialFollowers,2,2,2,# Not used in MP/Battle

Edit all three values. They must be identical. This will change the number of followers you begin with. If you begin with too many, they will die and reduce your belief as they will not have housing.

--- Line 286: Initial amount of gems.

InitialGems,100,100,100,

Edit all three values. They must be identical. This will edit the number of gems you will receive at the start of your game when your first get gems.
Editing Settlements (Extra) (.csv)
The following are all references to lines of code in the templetypes.csv file.
Do not copy and paste any lines of code. Edit in .csv file.
.csv files can be edited in microsoft excel, and in the libreoffice non-branded counterpart which is comepletely free and legal to use.
When referring to values, I am referring to the numbers on the target line of code.


Search your computer for templetypes.csv Copy and back-up that file before editing any values.

--- Line 5: Changing the area of effect of your settlements (how big of an area that your settlement can absorb belief from).

settlement,Hamlet,,0.7,2.8,20,1,3

You want to change the third value (which is 20), and only the third value, to any value you want. Changing it to 40 will double the area of effect, 60 will triple and so on.
Editing Wolves (.csv)
The following are all references to lines of code in the config.csv file.
Do not copy and paste any lines of code. Edit in .csv file.
.csv files can be edited in microsoft excel, and in the libreoffice non-branded counterpart which is comepletely free and legal to use.
When referring to values, I am referring to the numbers on the target line of code.

--- Line 379: Wolf Width

wolfWidth,1,1,1,

Edit all three values. All values must be identical. Have fun with extra fat wolves!

--- Line 380: Wolf Height

wolfHeight,0.4,0.4,0.4,

Edit all three values. All values must be identical. When editing both height and width, I suggest keeping a 10/4 ratio. For double size wolves that would be 20/8 or 2 for width and 0.8 for height.
Conclusion
You can look through and see other values and change them to what you like. If you mess up, change them back to their orginal state, or use you back-up copy of the config.csv file

Sorry for being slow to the point for those who are more technically advanced, I had to treat the guide like everyone reading it was scared of computers.

This is my first little contribution to the community.

Large update on 27.09.2013
97 Comments
vegafoxfire Mar 16, 2014 @ 3:32pm 
Will no longer work
aamirusmandus Feb 25, 2014 @ 3:13pm 
That's why it says no longer updated :P
It's funny though that they fixed it because it was one thing that actually gave us something else to do in this game
gotchaxd  [author] Feb 24, 2014 @ 12:44am 
I don't believe it is.
Abestheman Feb 14, 2014 @ 8:23am 
Is this working still? 1.3.1 when ever I load up the game after changing and save other values, the game rewrites to what it was before. Any word on this still working?
aamirusmandus Jan 28, 2014 @ 12:25pm 
Cheat Engine is a memory editor...
John_Doe Jan 15, 2014 @ 5:44pm 
why bother with a cheat engine? just use poke... i ended up using poke (mem editor) to increase crystals and it brought me about 7more hours of gameplay.

using a mem editor also makes you feel like ur a geek or something.. there's probably an achievement there somewhere.
George Fawley Jan 10, 2014 @ 9:37pm 
in the current version gem variable is located on: 5A3331D0
ANClENTS Jan 1, 2014 @ 12:28pm 
Ya, I cant get the files to stay the same after i launch the game. I delete the old code then add the new one and save, when i open the game it auto updates itsself and reverts back to the original coding.
Dood Nov 25, 2013 @ 4:55pm 
pretty sure this doesnt work anymore
wren Nov 20, 2013 @ 5:18pm 
any way to make expansion cards go crazy?