Adding Miniaturization and Logistics (instructions)

Want to add Miniaturization and/or Logistics as Customization Abilities? Thanks to a few other posts on the board, you can!

First, open GalCiv2\Data\English\English.str in your favorite editor (notepad is good).
Search for [TABLEALIAS AbilityOptions]

Copy in the follow before [TableEnd]
// logistics
[A28_Option0Text] Logistics 1
[A28_Option0Bonus] 10
[A28_Option0Cost] 1
[A28_Option1Text] Logistics 2
[A28_Option1Bonus] 20
[A28_Option1Cost] 2

// miniaturization
[A29_Option0Text] Miniaturization 1
[A29_Option0Bonus] 10
[A29_Option0Cost] 1
[A29_Option1Text] Miniaturization 2
[A29_Option1Bonus] 20
[A29_Option1Cost] 2

Now open GalCiv2\Data\English\AbilityBonuses.xml in your favorite editor
Copy in the follow before [/AbilityBonuses] (replacing the [ and ] with lessthan and greaterthan symbols respectively)
[Ability Name="Logistics"]
[AbilityIndex]28[/AbilityIndex]
[AvailableOptions]2[/AvailableOptions]
[Option0Text]Logistics 1[/Option0Text]
[Option0Bonus]10[/Option0Bonus]
[Option0Cost]1[/Option0Cost]
[Option1Text]Logistics 2[/Option1Text]
[Option1Bonus]20[/Option1Bonus]
[Option1Cost]2[/Option1Cost]
[BonusUnits]%[/BonusUnits]
[Ability]
[Ability Name="Miniaturization"]
[AbilityIndex]29[/AbilityIndex]
[AvailableOptions]2[/AvailableOptions]
[Option0Text]Miniaturization 1[/Option0Text]
[Option0Bonus]10[/Option0Bonus]
[Option0Cost]1[/Option0Cost]
[Option1Text]Miniaturization 2[/Option1Text]
[Option1Bonus]20[/Option1Bonus]
[Option1Cost]2[/Option1Cost]
[BonusUnits]%[/BonusUnits]

Adjust the names, costs, number of options to your liking.
*A note on logistics* Each percent is equal to 1 point of logistics. Choosing logistics as a bonus will replace your default logistics with what the bonus is.
7,107 views 9 replies
Reply #1 Top
Please add this to the wiki
Reply #2 Top
Don't forget about Home Planet Quality and Government options and there seems to be a few number mismatches. I suggest going through and rebuilding it line by line (like I did) making sure the options in the English.str match the ones you want in the AbilityBonuses.xml

By the way, I'm not sure if the Interest ability is fully functional.
Reply #3 Top
there seems to be a few number mismatches


what's mismatched?

making sure the options in the English.str match the ones you want in the AbilityBonuses.xml


I'm not too sure they need to match. Whatever is in AbilityBonus.xml is what is in effect.

I don't know if Interest rates (Ability #17), Crime (Ability #20), Cabinet(Ability #21), Government(Ability #26), and Home Planet Quality (Ability #30) even work at all. The current Planet Quality (Ability #18) doesn't work properly (It increases the Class of planets, but only the usable tiles on your Home Planet).
Reply #4 Top
Yeah, #17, 20, 21 -no luck.
Govt & Home Planet- do not seem to work as well (still testing things however)

Mismatched data options (not important as far as I know - but I like it all to match in the end) and Speed = Propulsion

Regarding the Colony Quality = yeah working on redoing that one at least in description.
Reply #6 Top
You can do the same with Interest Rates (17) and Government (26). Interest Rates controls the amount of interest you pay per turn (as well as the number of turns) when you buy something (a ship, or improvement) versus building it normally. Government apparently affects the amount of bias towards you, all other things considered, in senate races.

Apparently "Crime" and "Cabinet" are marked as "not yet implemented.'
Reply #7 Top
Try adding these two lines in your My Documents\My Games\GalCiv2\*.raceconfig file:
[LOGISTICS]100[/LOGISTICS]
[MINIATURIZATION]100[/MINIATURIZATION]

And be sure to replace the brackets with less-than/greater-than symbols.
Reply #8 Top
From the v1.1 beta 3 release notes, it seems you will only need to edit the AbilityBonus.xml now.
Reply #9 Top
I've uploaded a mod that contains the bonuses, three days ago. However, it's pending approval('til it will probably be obsolete with appearance of 1.1 patch)