Page 1 of 1

Editing civilization bonuses

Posted: 06 Jul 2019, 21:10
by nines
Hello, I would like to ask how I could modify it
Image

Re: Editing civilization bonuses

Posted: 07 Jul 2019, 07:11
by Dr.MonaLisa
It depends what exactly you're trying to do.
I found something in file:
zips_ee2x\EE2X_db.zip\EE2X_db\TechTree\civ_reg_bonus_upgrades.ddf

For example, under:

Code: Select all

UpgradeCivRegBonus CivUpgr_SpecRes_Cost {
Those are tweaks for text entry from file: zips_ee2x\EE2X_db.zip\EE2X_db\dbtext_techtreetips.utf8

Code: Select all

tt_civTrait_SpecRes_Cost,"""All units have their special resource costs reduced by 25%"""
Based on zips_ee2x\EE2X_db.zip\EE2X_db\TechTree\dbtechtreenode.csv

Code: Select all

CivAtt_SpecRes_Cost,,tt_civTrait_SpecRes_Cost,1,0,Main,,0,0,0,,,Traits_SpecRes_Cost,0,0,0,0,0,0,0,0,0,0,0,,[],(CivAttribute)
It's best to:
1. Backup EE2 folder.
2. Open file zips_ee2x\EE2X_db.zip with WinRar
3. In WinRar -> "Tools" -> "Find files" -> "String to find" type the entry you're looking for (for example I typed: "all units have their special resource costs reduced".
4. It will list files where this text was used. Then you can find another "ID", and go deeper in research. Maybe you will be able to add new entries instead of replacing existing.

Re: Editing civilization bonuses

Posted: 10 Jul 2019, 01:09
by nines
Thank you very much for your help. I managed to do what I wanted

Re: Editing civilization bonuses

Posted: 10 Jul 2019, 04:07
by Dr.MonaLisa
And what you wanted? Could you please share the code you changed, so other users can see when they need the same thing?