View Full Version : How do I edit buildings?
Tigranes
05-14-2005, 03:44
How do I edit buildings? For instance, I'm rather sick of my distant cities rebelling, so I'd like to make all government buildings grant 100+, for all cultures (so that it is balanced with the other factions). How would I go about doing this?
Tigranes
05-14-2005, 16:33
Anyone?
Jut a simple explanation of which file I use would be nice. I can figure the rest out from there.
Dol Guldur
05-14-2005, 20:55
100+ what?
Tigranes
05-14-2005, 21:09
Oops, I meant 100+ health benefits, to counter squalor and distance to capital.
Dol Guldur
05-14-2005, 21:25
Go to export_descr_buildings.txt (data folder) and look up core_buildings - they are the first ones listed.
Then add the "population_health_bonus bonus 5" capability to them (check out the other types of buildings to see the correct format for inserting capabilities).
I've used "bonus 5" above because that works (and is the R:TW maximum), you can try 6 or more but I've not tested that and it may cause problems later on.
You can make the capability faction-specific by using "faction_capability" (this is used for barbarian bodyguard upgrades in some of the core buildings).
I'm sure there are some tweak mods out there that will accomplish this for you - but there's my 2 cents.
Hope this helps
Tigranes
05-14-2005, 21:38
Thank you. Would that be just a +5, however? Is that because it is a health bonus, or because it's the maximum for any benefit? For instance, would a bonus to law be able to go higher than 5?
Dol Guldur
05-14-2005, 22:58
Each point of the value appears to represent 5%...so 5=25%. Same for law.
1 Pop. growth, however, is 0.5%
Tigranes
05-15-2005, 00:13
I see. I put in Law bonus 20, and it gave me 100% bonus. This is only a temporary fix, however. I just wish that distance to capital and population booming didn't become such a problem in the late game.
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.