Editing civilization bonuses

Modding, Map Editor, IES Scripting and Other Questions
Post Reply
nines
Posts: 2
Joined: 06 Jul 2019, 21:07

Editing civilization bonuses

Post by nines »

Hello, I would like to ask how I could modify it
Image

User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Editing civilization bonuses

Post 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.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
nines
Posts: 2
Joined: 06 Jul 2019, 21:07

Re: Editing civilization bonuses

Post by nines »

Thank you very much for your help. I managed to do what I wanted
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Editing civilization bonuses

Post 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?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Post Reply

Return to “Questions”