What am I missing when adding City-States?

SJSerio

Centurion
Joined
Aug 21, 2005
Messages
1,453
Location
Carney, MD
OK... I am trying to add new City States. Maybe somebody who has already done so can guide me?!?

I created to XML files. The first one contains all of the data:

MinorCivilizations.xml
Spoiler :
<GameData>
<!-- TODO: Insert table creation example here. -->

<!-- TODO: Insert table data example here.-->

<!-- Enter your Game Data here. -->

<MinorCivilizations>
<Row>
<Type>Barcelona</Type>
<Description>Barcelona</Description>
<ShortDescription>Barcelona</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_BARCELONA_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_BARCELONA_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_MINOR_CYAN</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
<ArtStylePrefix>EUROPEAN</ArtStylePrefix>
<ArtStyleSuffix>_EURO</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_MILITARISTIC</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_CARTHAGE</Type>
<Description>Carthage</Description>
<ShortDescription>Carthage</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_CARTHAGE_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_CARTHAGE_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_LIGHT_ORANGE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
<ArtStyleSuffix>_MED</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_MARITIME</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_GRANADA</Type>
<Description>Granada</Description>
<ShortDescription>Granada</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_GRANADA_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_GRANADA_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_LIGHT_PURPLE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
<ArtStylePrefix>EUROPEAN</ArtStylePrefix>
<ArtStyleSuffix>_EURO</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_CULTURED</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_HATTUSA</Type>
<Description>Hattusa</Description>
<ShortDescription>Hattusa</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_HATTUSA_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_HATTUSA_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_GRAY</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_MIDDLE_EAST</ArtStyleType>
<ArtStylePrefix>AFRICAN</ArtStylePrefix>
<ArtStyleSuffix>_AFRI</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_MILITARISTIC</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_JERICHO</Type>
<Description>Jericho</Description>
<ShortDescription>Jericho</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_JERICHO_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_JERICHO_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_LIGHT_GREEN</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_MIDDLE_EAST</ArtStyleType>
<ArtStylePrefix>AFRICAN</ArtStylePrefix>
<ArtStyleSuffix>_AFRI</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_CULTURED</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_JERUSALEM</Type>
<Description>Jerusalem</Description>
<ShortDescription>Jerusalem</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_JERUSALEM_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_JERUSALEM_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_PURPLE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_MIDDLE_EAST</ArtStyleType>
<ArtStylePrefix>AFRICAN</ArtStylePrefix>
<ArtStyleSuffix>_AFRI</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_CULTURED</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_KNOSSOS</Type>
<Description>Knossos</Description>
<ShortDescription>Knossos</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_KNOSSOS_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_KNOSSOS_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_MIDDLE_BLUE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
<ArtStyleSuffix>_MED</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_MARITIME</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_RHODES</Type>
<Description>Rhodes</Description>
<ShortDescription>Rhodes</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_RHODES_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_RHODES_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_MIDDLE_CYAN</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
<ArtStyleSuffix>_MED</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_CULTURED</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_SPARTA</Type>
<Description>Sparta</Description>
<ShortDescription>Sparta</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_SPARTA_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_SPARTA_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_LIGHT_BLUE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
<ArtStyleSuffix>_MED</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_MILITARISTIC</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_TARQUINIA</Type>
<Description>Tarquinia</Description>
<ShortDescription>Tarquinia</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_TARQUINIA_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_TARQUINIA_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_PEACH</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
<ArtStyleSuffix>_MED</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_MILITARISTIC</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_TRIPOLI</Type>
<Description>Tripoli</Description>
<ShortDescription>Tripoli</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_TRIPOLI_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_TRIPOLI_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_YELLOW</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
<ArtStyleSuffix>_MED</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_MILITARISTIC</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_TROY</Type>
<Description>Troy</Description>
<ShortDescription>Troy</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_TROY_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_TROY_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_WHITE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
<ArtStyleSuffix>_MED</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_CULTURED</MinorCivTrait>
</Row>
<Row>
<Type>MINOR_CIV_TLAXCALA</Type>
<Description>Tlaxcala</Description>
<ShortDescription>Tlaxcala</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_TLAXCALA_ADJ</Adjective>
<Civilopedia>TXT_KEY_CIV5_TLAXCALA_TEXT</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_LIGHT_GREEN</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_SOUTH_AMERICA</ArtStyleType>
<ArtStylePrefix>AMERICAN</ArtStylePrefix>
<ArtStyleSuffix>_AMER</ArtStyleSuffix>
<MinorCivTrait>MINOR_TRAIT_MILITARISTIC</MinorCivTrait>
</Row>
</MinorCivilizations>
<MinorCivilizations_CityNames>
<Row>
<Type>MINOR_CIV_BARCELONA</Type>
<CityName>TXT_KEY_CITYSTATE_BARCELONA</CityName>
</Row>
<Row>
<Type>MINOR_CIV_CARTHAGE</Type>
<CityName>TXT_KEY_CITYSTATE_CARTHAGE</CityName>
</Row>
<Row>
<Type>MINOR_CIV_GRANADA</Type>
<CityName>TXT_KEY_CITYSTATE_GRANADA</CityName>
</Row>
<Row>
<Type>MINOR_CIV_HATTUSA</Type>
<CityName>TXT_KEY_CITYSTATE_HATTUSA</CityName>
</Row>
<Row>
<Type>MINOR_CIV_JERICHO</Type>
<CityName>TXT_KEY_CITYSTATE_JERICHO</CityName>
</Row>
<Row>
<Type>MINOR_CIV_JERUSALEM</Type>
<CityName>TXT_KEY_CITYSTATE_JERUSALEM</CityName>
</Row>
<Row>
<Type>MINOR_CIV_KNOSSOS</Type>
<CityName>TXT_KEY_CITYSTATE_KNOSSOS</CityName>
</Row>
<Row>
<Type>MINOR_CIV_RHODES</Type>
<CityName>TXT_KEY_CITYSTATE_RHODES</CityName>
</Row>
<Row>
<Type>MINOR_CIV_SPARTA</Type>
<CityName>TXT_KEY_CITYSTATE_SPARTA</CityName>
</Row>
<Row>
<Type>MINOR_CIV_TARQUINIA</Type>
<CityName>TXT_KEY_CITYSTATE_TARQUINIA</CityName>
</Row>
<Row>
<Type>MINOR_CIV_TRIPOLI</Type>
<CityName>TXT_KEY_CITYSTATE_TRIPOLI</CityName>
</Row>
<Row>
<Type>MINOR_CIV_TROY</Type>
<CityName>TXT_KEY_CITYSTATE_TROY</CityName>
</Row>
<Row>
<Type>MINOR_CIV_TLAXCALA</Type>
<CityName>TXT_KEY_CITYSTATE_TLAXCALA</CityName>
</Row>
</MinorCivilizations_CityNames>
<MinorCivilization_Flavors>
<Row>
<Type>MINOR_CIV_BARCELONA</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_BARCELONA</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_BARCELONA</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_BARCELONA</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_CARTHAGE</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_CARTHAGE</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_CARTHAGE</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_CARTHAGE</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_GRANADA</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_GRANADA</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_GRANADA</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_GRANADA</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_HATTUSA</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_HATTUSA</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_HATTUSA</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_HATTUSA</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_JERICHO</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_JERICHO</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_JERICHO</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_JERICHO</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_JERUSALEM</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_JERUSALEM</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_JERUSALEM</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_JERUSALEM</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_KNOSSOS</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_KNOSSOS</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_KNOSSOS</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_KNOSSOS</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_RHODES</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_RHODES</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_RHODES</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_RHODES</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_SPARTA</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_SPARTA</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_SPARTA</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_SPARTA</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TARQUINIA</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TARQUINIA</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TARQUINIA</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TARQUINIA</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TRIPOLI</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TRIPOLI</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TRIPOLI</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TRIPOLI</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TROY</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TROY</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TROY</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TROY</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TLAXCALA</Type>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TLAXCALA</Type>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<FLAVOR>10</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TLAXCALA</Type>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<FLAVOR>5</FLAVOR>
</Row>
<Row>
<Type>MINOR_CIV_TLAXCALA</Type>
<FlavorType>FLAVOR_WONDER</FlavorType>
<FLAVOR>0</FLAVOR>
</Row>
</MinorCivilization_Flavors>
</GameData>


The second one, I did the text:

GameText:
Spoiler :
<GameData>
<!-- TODO: Insert table creation example here. -->

<!-- TODO: Insert table data example here.-->

<!-- Enter your Game Data here. -->
<Language_en_US>
<Row Tag="TXT_KEY_CITYSTATE_BARCELONA">
<TEXT>Barcelona</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_BARCELONA_ADJ">
<TEXT>Barcelonan</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_BARCELONA_TEXT">
<Text>The City State of Barcelona</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_CARTHAGE">
<TEXT>Carthage</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_CARTHAGE_ADJ">
<TEXT>Carthaginian</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_CARTHAGE_TEXT">
<Text>The City State of Carthage</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_GRANADA">
<TEXT>Granada</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_GRANADA_ADJ">
<TEXT>Granada</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_GRANADA_TEXT">
<Text>The City State of Granada</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_HATTUSA">
<TEXT>Hattusa</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_HATTUSA_ADJ">
<TEXT>Hittite</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_HATTUSA_TEXT">
<Text>The City State of Hattusa</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_JERICHO">
<TEXT>Jericho</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_JERICHO_ADJ">
<TEXT>Palestinian</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_JERICHO_TEXT">
<Text>The City State of Jericho</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_JERUSALEM">
<TEXT>Jerusalem</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_JERUSALEM_ADJ">
<TEXT>Hebrew</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_JERUSALEM_TEXT">
<Text>The City State of Jerusalem</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_KNOSSOS">
<TEXT>Knossos</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_KNOSSOS_ADJ">
<TEXT>Knossian</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_KNOSSOS_TEXT">
<Text>The City State of Knossos</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_RHODES">
<TEXT>Rhodes</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_RHODES_ADJ">
<TEXT>Rhode</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_RHODES_TEXT">
<Text>The City State of Rhodes</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_SPARTA">
<TEXT>Sparta</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_SPARTA_ADJ">
<TEXT>Spartan</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_SPARTA_TEXT">
<Text>The City State of Sparta</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_TARQUINIA">
<TEXT>Tarquinia</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_TARQUINIA_ADJ">
<TEXT>Tarquinian</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_TARQUINIA_TEXT">
<Text>The City State of Tarquinia</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_TRIPOLI">
<TEXT>Tripoli</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_TRIPOLI_ADJ">
<TEXT>Tripolan</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_TRIPOLI_TEXT">
<Text>The City State of Tripoli</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_TROY">
<TEXT>Troy</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_TROY_ADJ">
<TEXT>Trojan</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_TROY_TEXT">
<Text>The City State of Troy</Text>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_TLAXCALA">
<TEXT>Tlaxcala</TEXT>
</Row>
<Row Tag="TXT_KEY_CITYSTATE_TLAXCALA_ADJ">
<TEXT>Tlaxcalan</TEXT>
</Row>
<Row Tag="TXT_KEY_CIV5_TLAXCALA_TEXT">
<Text>The City State of Tlaxcala</Text>
</Row>
</Language_en_US>

</GameData>


Is there something I am missing? I ran the build (on both the mod and the Solutions) and when I open the map to place them, the City States I created are still not there. What am I missing? Can anybody help me with this?
 
in your mods properties you will need to add Action for any xml or sql files for it to take effect.

I would say read the tutorial, maybe you haven't, but it isn't very hard...

in the first part put OnModActivated

in the 2nd part put UpdateDatabase

then in the 3rd part put XML/MinorCivilizations.xml

you will need to do this for every single file you add (not maps though or art I think)
 
in your mods properties you will need to add Action for any xml or sql files for it to take effect.

I would say read the tutorial, maybe you haven't, but it isn't very hard...

in the first part put OnModActivated

in the 2nd part put UpdateDatabase

then in the 3rd part put XML/MinorCivilizations.xml

you will need to do this for every single file you add (not maps though or art I think)

OK... I went back and looked at Kael's guide and found what you were talking about. I put those in for both files (MinorCivilizations.xml and GameText.xml) and rebuilt the mod. (Do I have to build just the mod part or the whole solution... or both?) I opened up the world builder and I still can't select the city-states that I created.

Besides that, I can't select the map when I start the game. Maybe that is because I have included other elements The Celtic civilization from Kael's Queen of Icendi mod?!? I see other maps that I created (but didn't add anything to them). But, that is another problem.
 
it is weird. For me, usually none of the changes take effect unless I build absolutely everything from within world builder. Folders, files, everything. If you do that it should work, but who knows, I still think there are many bugs in MB regardless of what anyone else says.
 
it is weird. For me, usually none of the changes take effect unless I build absolutely everything from within world builder. Folders, files, everything. If you do that it should work, but who knows, I still think there are many bugs in MB regardless of what anyone else says.

How do you mean to build it in WorldBuilder? Do you mean to actually build the XML files in the Mod part there? Not sure exactly how that works!
 
yes, you go to Project.. Add new Item... if you don't do that it will not read it basically. It may or may not work if you already have the files, and you use "Add Existing Item".. I am unsure, but MB is most definitely buggy on recognizing which files are there and where. The only way I can promise you that it will work is if you use Add new item.
 
Shiggs meant ModBuddy, not WB, just to clear up confusion :)
If you haven't, try creating new XML files on ModBuddy and cutpasting the content of your current files into that ones. MB doesn't read files added, only created by it.

Regarding the Action, note that if your folder structure is not XML/MinorCivilizations.xml, then putting that won't work. If you don't have any folders in ModBuddy, just put MinorCivilizations.xml in the last field of the Action.

If those don't work, posting a printscreen of your ModBuddy mod in the Actions tab might help us see any other problem.
 
Shiggs meant ModBuddy, not WB, just to clear up confusion :)
If you haven't, try creating new XML files on ModBuddy and cutpasting the content of your current files into that ones. MB doesn't read files added, only created by it.

Regarding the Action, note that if your folder structure is not XML/MinorCivilizations.xml, then putting that won't work. If you don't have any folders in ModBuddy, just put MinorCivilizations.xml in the last field of the Action.

If those don't work, posting a printscreen of your ModBuddy mod in the Actions tab might help us see any other problem.

I did create the files in ModBuddy. As far as the screenshot, I will try to get that later when I get home from work.
 
The first thing I would say is, if you're new to modding, you shouldn't be trying to add so many city states at once. Start by trying to add one, see if it works. Get your method set. When you get one to work, adding the rest is easy.


You should be using player colors of the form PLAYERCOLOR_MINOR_[COLOR]. (The full list of which can be found in the PlayerColors table or CIV5PlayerColors.xml)

In <TEXT> </TEXT> should not be in all caps. It should be <Text> </Text>

And similarly <FLAVOR> </FLAVOR> should not be in all caps. <Flavor> </Flavor>

Having a simply capitalization mistake like that (even once) can ruin your day.
 
there's a thread somewhere around here I posted all the data you'll need to add a city state, I think the "Kael we need part 2 thread". That is for sure all the data you'll need ;) the only thing from there is making sure your actions are linked correctly, and then building it.
 
The first thing I would say is, if you're new to modding, you shouldn't be trying to add so many city states at once. Start by trying to add one, see if it works. Get your method set. When you get one to work, adding the rest is easy.


You should be using player colors of the form PLAYERCOLOR_MINOR_[COLOR]. (The full list of which can be found in the PlayerColors table or CIV5PlayerColors.xml)

In <TEXT> </TEXT> should not be in all caps. It should be <Text> </Text>

And similarly <FLAVOR> </FLAVOR> should not be in all caps. <Flavor> </Flavor>

Having a simply capitalization mistake like that (even once) can ruin your day.

It's not that I am new to modding... it is just that the way it is done in CIV V is, so far, even worse than in CIV IV. Simple changes or additions that should take a second to do are even worse. In fact, the errors that you have mentioned is one of the reasons that I am so against using a text editor to mod and would much prefer a GUI based editor. I am wondering how you could even update, change or reorder the city lists for the Civilizations! Even in CIV IV, I could do it with some ease! Now, it looks like it could take a week in order to change one list!

That said, I just made the fixes that you suggested and rebuilt the solution and it still didn't work.

I've included a screenshot of my MB Actions.

QUESTIONS: I was exploring MB and I wonder... Do we have to create the "Schema" for each XML file created? Also, when building, do we build or rebuild and should it be on the project, the solution or both?
 

Attachments

  • MB Actions.jpg
    MB Actions.jpg
    136.7 KB · Views: 88
It's not that I am new to modding... it is just that the way it is done in CIV V is, so far, even worse than in CIV IV. Simple changes or additions that should take a second to do are even worse.

I used to think that to, but I was having the exact same issues as you, and I eventually got it to work (but now that I think about it, I can't remember if it was anything I did, or if simple restarting the computer worked).

In any case, eventually it began to work for me, and I do believe that this is a much better system than civ IVs.

Do other city state mods work perfectly fine? Can you modify any other part of the game, such as a unit?

Oh and, trust me, make a new mod, copypaste the code for one city state, try to make it work. And prepare to rip your hair out for a few more days before it all falls in to place.

In fact, the errors that you have mentioned is one of the reasons that I am so against using a text editor to mod and would much prefer a GUI based editor.

We'd all love the GUI or WYSIWYG editor they all but promised, but I think the way they have it set up is actually quite useful.
 
I used to think that to, but I was having the exact same issues as you, and I eventually got it to work (but now that I think about it, I can't remember if it was anything I did, or if simple restarting the computer worked).

In any case, eventually it began to work for me, and I do believe that this is a much better system than civ IVs.

Do other city state mods work perfectly fine? Can you modify any other part of the game, such as a unit?

Oh and, trust me, make a new mod, copypaste the code for one city state, try to make it work. And prepare to rip your hair out for a few more days before it all falls in to place.

The point, though, is that we shouldn't have to be ripping our hair out just to get something to work that should be a relatively easy change!

So, does anybody else have any ideas that may help?
 
Back
Top Bottom