Creating a City State

This page documents the process to create a new city state within Civ 5

## Information Needed

Information Needed to Generate City States
 Adjective
 Civilopedia
 Default Player Color
 Art Style Type
 Minor Civ Trait

## Minor Civilization Setup HTML Example

The list below is the setup to create a new City State within civ, the only bits not covered in the setion above is the Art Style Suffix and Prefix which will be dependent on your Art Style type. Anything that involves TXT\_KEY should keep this at the start as will be used later in the text xml file shown at the bottom of this page

Art Style
 South American
 Middle East
 Asian
 Greco Roman

```
<GameData>
 <MinorCivilizations>
 <Row>
 <Type>MINOR_CIV_BRATISLAVA</Type>
 <Description>TXT_KEY_CITYSTATE_BRATISLAVA</Description>
 <ShortDescription>TXT_KEY_CITYSTATE_BRATISLAVA</ShortDescription>
 <Adjective>TXT_KEY_CITYSTATE_BRATISLAVA_ADJ</Adjective>
 <Civilopedia>TXT_KEY_CIV5_BRATISLAVA_TEXT</Civilopedia>
 <DefaultPlayerColor>PLAYERCOLOR_MINOR_WHITE</DefaultPlayerColor>
 <ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
 <ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
 <ArtStyleSuffix>_EURO</ArtStyleSuffix>
 <ArtStylePrefix>EUROPEAN </ArtStylePrefix>
 <MinorCivTrait>MINOR_TRAIT_CULTURED</MinorCivTrait>
 </Row>
 </MinorCivilizatoins>
<GameData>

```

## Assigning a City Name

To name the city for your city state insert the following xml code into the document being used. The MinorCivType is what you have used in the xml just above and the CityName will be a text code shown at the end of this page

```
<GameData>
 <MinorCivilization\_CityNames>
 <Row>
 <MinorCivType>MINOR_CIV_BRATISLAVA</MinorCivType>
 <CityName>TXT_KEY_CITYSTATE_BRATISLAVA</CityName>
 </Row>
 </MinorCivilization\_CityNames>
</GameData>

```

## Assigning Flavor to a City State

A city state must contain Flavor. Flavor is used to determine how a city state behaves within the game based on several factors. The defaults are based on the city state minor traits. Copy one of the following based on the civ trait you are using and replace the MinorCivType with the one you are using for your civ. These can be edited if you want to create a new variation in how a city state behaves however it is adviced to keep EXPANSION at 0 to prevent them creating a new city and NUKE at 0 to stop them nuking players when they go to war.

### Culture Flavor

```
<GameData>
 <MinorCivilization\_Flavors>
 <Row>
 <MinorCivType>MINOR_CIV_BRATISLAVA</MinorCivType>
 <FlavorType>FLAVOR_EXPANSION</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BRATISLAVA</MinorCivType>
 <FlavorType>FLAVOR_NUKE</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BRATISLAVA</MinorCivType>
 <FlavorType>FLAVOR_WONDER</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BRATISLAVA</MinorCivType>
 <FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
 <Flavor>5</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BRATISLAVA</MinorCivType>
 <FlavorType>FLAVOR_CULTURE</FlavorType>
 <Flavor>10</Flavor>
 </Row>
 </MinorCivilization\_Flavors>
</GameData>

```

### Military Flavor

```
<GameData>
 <MinorCivilization\_Flavors>
 <Row>
 <MinorCivType>MINOR_CIV_BUDAPEST</MinorCivType>
 <FlavorType>FLAVOR_EXPANSION</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BUDAPEST</MinorCivType>
 <FlavorType>FLAVOR_NUKE</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BUDAPEST</MinorCivType>
 <FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
 <Flavor>7</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BUDAPEST</MinorCivType>
 <FlavorType>FLAVOR_DEFENSE</FlavorType>
 <Flavor>7</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BUDAPEST</MinorCivType>
 <FlavorType>FLAVOR_OFFENSE</FlavorType>
 <Flavor>7</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BUDAPEST</MinorCivType>
 <FlavorType>FLAVOR_MILITARY_TRAINING</FlavorType>
 <Flavor>7</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_BUDAPEST</MinorCivType>
 <FlavorType>FLAVOR_WONDER</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 </MinorCivilization\_Flavors>
</GameData>

```

### Religion Flavor

```
<GameData>
 <MinorCivilization\_Flavors>
 <Row>
 <MinorCivType>MINOR_CIV_GENEVA</MinorCivType>
 <FlavorType>FLAVOR_EXPANSION</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_GENEVA</MinorCivType>
 <FlavorType>FLAVOR_NUKE</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_GENEVA</MinorCivType>
 <FlavorType>FLAVOR_WONDER</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_GENEVA</MinorCivType>
 <FlavorType>FLAVOR_RELIGION</FlavorType>
 <Flavor>10</Flavor>
 </Row>
 </MinorCivilization\_Flavor>
</GameData>

```

### Maritime Flavor

```
<GameData>
 <MinorCivilization\_Flavors>
 <Row>
 <MinorCivType>MINOR_CIV_RIGA</MinorCivType>
 <FlavorType>FLAVOR_EXPANSION</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_RIGA</MinorCivType>
 <FlavorType>FLAVOR_NUKE</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_RIGA</MinorCivType>
 <FlavorType>FLAVOR_WONDER</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_RIGA</MinorCivType>
 <FlavorType>FLAVOR_NAVAL</FlavorType>
 <Flavor>8</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_RIGA</MinorCivType>
 <FlavorType>FLAVOR_GROWTH</FlavorType>
 <Flavor>8</Flavor>
 </Row>
 </MinorCivilization\_Flavors>
</GameData>

```

### Mercantile Flavor

```
<GameData>
 <MinorCivilization\_Flavors>
 <Row>
 <MinorCivType>MINOR_CIV_GENOA</MinorCivType>
 <FlavorType>FLAVOR_EXPANSION</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_GENOA</MinorCivType>
 <FlavorType>FLAVOR_NUKE</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_GENOA</MinorCivType>
 <FlavorType>FLAVOR_WONDER</FlavorType>
 <Flavor>0</Flavor>
 </Row>
 <Row>
 <MinorCivType>MINOR_CIV_GENOA</MinorCivType>
 <FlavorType>FLAVOR_GOLD</FlavorType>
 <Flavor>10</Flavor>
 </Row>
 </MinorCivilization\_Flavors>
</GameData>

```

## Text File

All text needed for the city state needs to be put into it's own xml file any thing that is proceded with TXT\_KEY\_ will need an entry I have put an example of the XML for a city state in here as the name of the city is used for several fields there isn't too much text needed

```
<GameData>
 <Language\_en\_US>
 <Row Tag="TXT\_KEY\_CITYSTATE\_BRATISLAVA">
 <Text>Bratislava</Text>
 </Row>
 <Row Tag="TXT\_KEY\_CITYSTATE\_BRATISLAVA\_ADJ">
 <Text>Bratislavian</Text>
 </Row>

 <Row Tag="TXT\_KEY\_CITYSTATE\_BRATISLAVA\_TEXT">
 <Text>Text Describing the city state Bratislavia</Text>
 </Row>
 </Language\_en\_US>
</GameData>

```