Trigan Emperor
Prince
- Joined
- Apr 11, 2015
- Messages
- 438
I was wondering if it would be possible for conquered cities to be indicated as such in the city banner.
Currently, only conquered capitals are indicated.
It would make mods like Rosetta - Dynamic City Names feasible to use.
I've looked through the files, and there are a couple of bits of relevant code.
From Expansion1_CityBanner_Text.XML:
From Expansion1_Icons_CityBanner.XML:
Could try something like this and see if it works:
Currently, only conquered capitals are indicated.

It would make mods like Rosetta - Dynamic City Names feasible to use.
I've looked through the files, and there are a couple of bits of relevant code.
From Expansion1_CityBanner_Text.XML:
Code:
<GameData>
<EnglishText>
<Row Tag="LOC_CITY_BANNER_ORIGINAL_CAPITAL_TT">
<Text>Original capital of {1_Owner}</Text>
</Row>
<Row Tag="LOC_CITY_BANNER_NEW_CAPITAL_TT">
<Text>New capital of {1_Owner}</Text>
</Row>
<Row Tag="LOC_CITY_BANNER_CAPTURED_CAPITAL_TT">
<Text>Original capital of {1_OriginalOwner} (Captured)</Text>
</Row>
<Row Tag="LOC_CITY_BANNER_OTHER_CITY_TT">
<Text>City of {1_Owner}</Text>
</Row>
<Row Tag="LOC_CITY_BANNER_CITY_STATE_TT">
<Text>City State</Text>
</Row>
<Row Tag="LOC_CITY_BANNER_FREE_CITY_TT">
<Text>Free City</Text>
</Row>
</EnglishText>
</GameData>
From Expansion1_Icons_CityBanner.XML:
Code:
<GameInfo>
<IconDefinitions>
<Row Name="ICON_CITY_CAPITAL" Atlas="ICON_ATLAS_EXPANSION_1_CITY_CAPITAL" Index="0"/>
<Row Name="ICON_NEW_CAPITAL" Atlas="ICON_ATLAS_EXPANSION_1_CITY_CAPITAL" Index="1"/>
<Row Name="ICON_CAPTURED_CAPITAL" Atlas="ICON_ATLAS_EXPANSION_1_CITY_CAPITAL" Index="2"/>
<Row Name="ICON_OTHER_CITIES" Atlas="ICON_ATLAS_EXPANSION_1_CITY_CAPITAL" Index="3"/>
<Row Name="ICON_CITY_STATE" Atlas="ICON_ATLAS_EXPANSION_1_CITY_CAPITAL" Index="4"/>
<Row Name="ICON_FORMER_CAPITAL" Atlas="ICON_ATLAS_EXPANSION_1_CITY_CAPITAL" Index="5"/>
</IconDefinitions>
</GameInfo>
Code:
<Row Tag="LOC_CITY_BANNER_CAPTURED_OTHER_CITY_TT"">
<Text>Original city of {1_OriginalOwner} (Captured)</Text>
</Row>
Last edited: