Trying to make a mod... failing hard

Crashade

Chieftain
Joined
Jul 7, 2014
Messages
17
Location
Denmark
EDIT: the problem is fixed
So I've been trying to add a new civ to the game, but so far I haven't even been able to make the civ selectable in the new game menu (it doesn't even show up). I read the how to add a Civ section of the big old guide, but it says that it's outdated, so I don't know what's missing... As I have no idea where the problem is, I have posted all my code below (I copied some of it from another mod as a template):

Placed in XML\Civilizations: CIV5Civilization_Vatican_City.xml
Spoiler :
HTML:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 7/3/2014 11:51:15 PM -->
<GameData>

	<Civilizations>
		<Row>
			<Type>CIVILIZATION_VATICAN_CITY</Type>
			<Description>TXT_KEY_CIV_VATICAN_CITY_DESC</Description>
			<ShortDescription>TXT_KEY_CIV_VATICAN_CITY_SHORT_DESC</ShortDescription>
			<Adjective>TXT_KEY_CIV_VATICAN_CITY_ADJECTIVE</Adjective>
			<CivilopediaTag>TXT_KEY_CIV5_VATICAN_CITY</CivilopediaTag>
			<Playable>1</Playable>
			<AIPlayable>1</AIPlayable>
			<DefaultPlayerColor>PLAYERCOLOR_VATICAN_CITY</DefaultPlayerColor>
			<ArtDefineTag>ART_DEF_CIVILIZATION_ROME</ArtDefineTag>
			<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
			<PortraitIndex>0</PortraitIndex>
			<IconAtlas>CIV_COLOR_ATLAS</IconAtlas>
			<AlphaIconAtlas>CIV_ALPHA_ATLAS</AlphaIconAtlas>
			<MapImage>MapAmerica512.dds</MapImage>
			<ArtStyleSuffix>_MED</ArtStyleSuffix>
			<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
			<DawnOfManQuote>TXT_KEY_CIV5_DAWN_VATICAN_CITY_TEXT</DawnOfManQuote>
			<DawnOfManImage>DOM_Washington.dds</DawnOfManImage>
			<DawnOfManAudio>AS2D_DOM_SPEECH_UNITED_STATES</DawnOfManAudio>
		</Row>
		<Civilization_UnitClassOverrides>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<UnitClassType>UNITCLASS_PIKEMAN</UnitClassType>
				<UnitType>UNIT_VATICAN_SWISS_GUARD</UnitType>
			</Row>
			<!-- test unit-->
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<UnitClassType>UNITCLASS_MUSKETMAN</UnitClassType>
				<UnitType>UNIT_FRENCH_MUSKETEER</UnitType>
			</Row>
		</Civilization_UnitClassOverrides>
		<Civilization_CityNames>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<CityName>TXT_KEY_CITY_NAME_VATICAN_CITY_0</CityName>
			</Row>
		</Civilization_CityNames>
		<Civilization_FreeUnits>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
				<Count>1</Count>
				<UnitAIType>UNITAI_SETTLE</UnitAIType>
			</Row>
		</Civilization_FreeUnits>
		<Civilization_Leaders>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<LeaderheadType>LEADER_GREGORY_IX</LeaderheadType>
			</Row>
		</Civilization_Leaders>
		<Civilization_FreeTechs>
			<Row>
				<TechType>CIVILIZATION_VATICAN_CITY</TechType>
				<TechType>TECH_AGRICULTURE</TechType>
			</Row>
		</Civilization_FreeTechs>
		<Civilization_Religions>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<ReligionType>RELIGION_CATHOLICISM</ReligionType>
			</Row>
		</Civilization_Religions>
		<Civilization_SpyNames>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_0</SpyName>
			</Row>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_1</SpyName>
			</Row>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_2</SpyName>
			</Row>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_3</SpyName>
			</Row>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_4</SpyName>
			</Row>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_5</SpyName>
			</Row>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_6</SpyName>
			</Row>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_7</SpyName>
			</Row>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_8</SpyName>
			</Row>
			<Row>
				<CivilizationType>CIVILIZATION_VATICAN_CITY</CivilizationType>
				<SpyName>TXT_KEY_SPY_NAME_VATICAN_CITY_9</SpyName>
			</Row>
		</Civilization_SpyNames>
		<PlayerColors>
			<Row>
				<Type>PLAYERCOLOR_VATICAN_CITY</Type>
				<PrimaryColor>COLOR_PLAYER_VATICAN_ICON</PrimaryColor>
				<SecondaryColor>COLOR_PLAYER_VATICAN_BACKGROUND</SecondaryColor>
				<TextColor>COLOR_PLAYER_WHITE_TEXT</TextColor>
			</Row>
		</PlayerColors>
		<Colors>
			<Row>
				<Type>COLOR_PLAYER_VATICAN_ICON</Type>
				<Red>1</Red>
				<Green>0.9568627450980392</Green>
				<Blue>0.6823529411764706</Blue>
				<Alpha>1</Alpha>
			</Row>
			<Row>
				<Type>COLOR_PLAYER_VATICAN_BACKGROUND</Type>
				<Red>1</Red>
				<Green>0.6627450980392157</Green>
				<Blue>0.0509803921568627</Blue>
				<Alpha>1</Alpha>
			</Row>
		</Colors>

		<Language_en_US>
			<Row Tag="TXT_KEY_CIV_VATICAN_CITY_DESC">
				<Text>Vatican City State</Text>
			</Row>
			<Row Tag="TXT_KEY_CIV5_VATICAN_CITY_HEADING_1">
				<Text>Gregory IX</Text>
			</Row>
			<Row Tag="TXT_KEY_CIV5_VATICAN_CITY_TEXT_1">
				<Text>Cisarzim, Lord of Chaos</Text>
			</Row>
			<Row Tag="TXT_KEY_CIV5_VATICAN_CITY_HEADING_2">
				<Text>History</Text>
			</Row>
			<Row Tag="TXT_KEY_CIV5_VATICAN_CITY_TEXT_2">
				<Text>
					When the original guildpact was signed by Cisarzim, Lord of Chaos, the Gruul were appointed masters of the wild places of Ravnica. However, as civilization slowly began to eat away at the deadly wilderness, the other guilds began to lay claim to the Gruul&#8217;s responsibilities. Slowly but surely, cityscape replaced the wilderness and the Gruul fell into leaderless ruin, fragmenting into a multitude of clans and tribes.[NEWLINE][NEWLINE] The Clans despise the civilization on Ravnica, and rebel against it at every turn, raiding and razing everything they come in contact with.[NEWLINE][NEWLINE]Though they have no proper leader, Borborygmos, head of the Burning Tree Clan, holds the title of Alpha, guiding the Gruul through pure savagery and might.
				</Text>
			</Row>
			<Row Tag="TXT_KEY_CIV5_VATICAN_CITY_TITLE">
				<Text>Vatican City</Text>
			</Row>
			<Row Tag="TXT_KEY_CIV_VATICAN_CITY_SHORT_DESC">
				<Text>Vatican City</Text>
			</Row>
			<Row Tag="TXT_KEY_CIV_VATICAN_CITY_ADJECTIVE">
				<Text>The Vatican City State</Text>
			</Row>
			<Row Tag="TXT_KEY_CIV5_DAWN_VATICAN_CITY_TEXT">
				<Text>
					Strength unto you, fearsome Borborygmos, Alpha of the Clans, and Leader of the Burning Tree Clan. Your great power is the closest thing the disenfranchised Gruul Clans have to a guildmaster. Civilization has overrun the natural places of your world, lawmakers have written you off as second-class citizens, and your people are abused and enslaved. Your colossal might directs the rage of the Gruul to lash out against those who have robbed you of your purpose, and the Guilds of Ravnica tremble at your name.[NEWLINE][NEWLINE]Oh Borborygmos, your people long for a guiding force one again. With your rage, will you conquer the civilized world, or rebuild the wild paradise that it once was? Can you guide the Clans to prosperity? Can you build an empire to stand the test of time?
				</Text>
			</Row>
			<!--  VATICAN CITY NAME TEXT KEYS  -->
			<Row Tag="TXT_KEY_CITY_NAME_VATICAN_CITY_0">
				<Text>Vatican City</Text>
			</Row>
			<!--  VATICAN SPY NAME TEXT KEYS  -->
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_0">
				<Text>Francesco</Text>
			</Row>
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_1">
				<Text>Stefano</Text>
			</Row>
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_2">
				<Text>Pier</Text>
			</Row>
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_3">
				<Text>Nicolas</Text>
			</Row>
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_4">
				<Text>Diego</Text>
			</Row>
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_5">
				<Text>Alessia</Text>
				<Gender>feminine</Gender>
			</Row>
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_6">
				<Text>Alessandra</Text>
				<Gender>feminine</Gender>
			</Row>
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_7">
				<Text>Michela</Text>
				<Gender>feminine</Gender>
			</Row>
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_8">
				<Text>Rebecca</Text>
				<Gender>feminine</Gender>
			</Row>
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_9">
				<Text>Giorgia</Text>
				<Gender>feminine</Gender>
			</Row>
		</Language_en_US>
	</Civilizations>

</GameData>

Written in XML\Leaders: CIV5Leader_Gregory_IX.xml
Spoiler :
HTML:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 7/3/2014 4:04:09 PM -->
<GameData>
	<Leaders>
		<Row>
			<Type>LEADER_GREGORY_IX</Type>
			<Description>TXT_KEY_LEADER_GREGORY_IX</Description>
			<Civilopedia>TXT_KEY_LEADER_GREGORY_IX_PEDIA</Civilopedia>
			<CivilopediaTag>TXT_KEY_CIVILOPEDIA_LEADERS_GREGORY_IX</CivilopediaTag>
			<ArtDefineTag>Washington_Scene.xml</ArtDefineTag>
			<VictoryCompetitiveness>4</VictoryCompetitiveness>
			<WonderCompetitiveness>7</WonderCompetitiveness>
			<MinorCivCompetitiveness>7</MinorCivCompetitiveness>
			<Boldness>8</Boldness>
			<DiploBalance>3</DiploBalance>
			<WarmongerHate>3</WarmongerHate>
			<DenounceWillingness>8</DenounceWillingness>
			<DoFWillingness>6</DoFWillingness>
			<Loyalty>5</Loyalty>
			<Neediness>4</Neediness>
			<Forgiveness>4</Forgiveness>
			<Chattiness>6</Chattiness>
			<Meanness>6</Meanness>
			<PortraitIndex>7</PortraitIndex>
			<IconAtlas>LEADER_ATLAS</IconAtlas>
		</Row>
	</Leaders>
	<Leader_MajorCivApproachBiases>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MajorCivApproachType>MAJOR_CIV_APPROACH_WAR</MajorCivApproachType>
			<Bias>8</Bias>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MajorCivApproachType>MAJOR_CIV_APPROACH_HOSTILE</MajorCivApproachType>
			<Bias>3</Bias>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MajorCivApproachType>MAJOR_CIV_APPROACH_DECEPTIVE</MajorCivApproachType>
			<Bias>7</Bias>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MajorCivApproachType>MAJOR_CIV_APPROACH_GUARDED</MajorCivApproachType>
			<Bias>6</Bias>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MajorCivApproachType>MAJOR_CIV_APPROACH_AFRAID</MajorCivApproachType>
			<Bias>2</Bias>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MajorCivApproachType>MAJOR_CIV_APPROACH_FRIENDLY</MajorCivApproachType>
			<Bias>6</Bias>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MajorCivApproachType>MAJOR_CIV_APPROACH_NEUTRAL</MajorCivApproachType>
			<Bias>5</Bias>
		</Row>
	</Leader_MajorCivApproachBiases>
	<Leader_MinorCivApproachBiases>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MinorCivApproachType>MINOR_CIV_APPROACH_IGNORE</MinorCivApproachType>
			<Bias>6</Bias>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MinorCivApproachType>MINOR_CIV_APPROACH_FRIENDLY</MinorCivApproachType>
			<Bias>7</Bias>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MinorCivApproachType>MINOR_CIV_APPROACH_PROTECTIVE</MinorCivApproachType>
			<Bias>3</Bias>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<MinorCivApproachType>MINOR_CIV_APPROACH_CONQUEST</MinorCivApproachType>
			<Bias>1</Bias>
		</Row>
	</Leader_MinorCivApproachBiases>
	<Leader_Flavors>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_OFFENSE</FlavorType>
			<Flavor>1</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_DEFENSE</FlavorType>
			<Flavor>7</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
			<Flavor>7</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_MILITARY_TRAINING</FlavorType>
			<Flavor>3</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_RECON</FlavorType>
			<Flavor>5</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_RANGED</FlavorType>
			<Flavor>6</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_MOBILE</FlavorType>
			<Flavor>3</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_NAVAL</FlavorType>
			<Flavor>5</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_NAVAL_RECON</FlavorType>
			<Flavor>4</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_NAVAL_GROWTH</FlavorType>
			<Flavor>5</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_NAVAL_TILE_IMPROVEMENT</FlavorType>
			<Flavor>5</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_AIR</FlavorType>
			<Flavor>5</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_EXPANSION</FlavorType>
			<Flavor>1</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_GROWTH</FlavorType>
			<Flavor>4</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_TILE_IMPROVEMENT</FlavorType>
			<Flavor>4</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_INFRASTRUCTURE</FlavorType>
			<Flavor>6</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_PRODUCTION</FlavorType>
			<Flavor>5</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_GOLD</FlavorType>
			<Flavor>8</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_SCIENCE</FlavorType>
			<Flavor>3</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_CULTURE</FlavorType>
			<Flavor>5</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_HAPPINESS</FlavorType>
			<Flavor>5</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_GREAT_PEOPLE</FlavorType>
			<Flavor>6</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_WONDER</FlavorType>
			<Flavor>7</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_RELIGION</FlavorType>
			<Flavor>10</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_DIPLOMACY</FlavorType>
			<Flavor>7</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_SPACESHIP</FlavorType>
			<Flavor>3</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_WATER_CONNECTION</FlavorType>
			<Flavor>5</Flavor>
		</Row>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<FlavorType>FLAVOR_NUKE</FlavorType>
			<Flavor>7</Flavor>
		</Row>
	</Leader_Flavors>
	<Leader_Traits>
		<Row>
			<LeaderType>LEADER_GREGORY_IX</LeaderType>
			<TraitType>TRAIT_ENHANCED_CULTURE</TraitType>
		</Row>
	</Leader_Traits>
	<Language_en_US>
		<Row Tag="TXT_KEY_LEADER_GREGORY_IX">
			<Text>Borborygmos</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORY_IX_PEDIA">
			<Text>blabla</Text>
		</Row>
		<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_GREGORY_IX_HEADING_1">
			<Text>History</Text>
		</Row>
		<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_GREGORY_IX_NAME">
			<Text>Borborygmos</Text>
		</Row>
		<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_GREGORY_IX_SUBTITLE">
			<Text>Leader of the Gruul Clans</Text>
		</Row>
		<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_GREGORY_IX_TEXT_1">
			<Text>
				Borborygmos is the closest thing the Gruul have to a leader, guiding their destructive impulses through brute force alone. The Gruul are notoriously free-willed and hard to control, but they all listen when Borborygmos speaks, either through respect or fear. He has been the Alpha of the Gruul Clans for centuries, and it is rumored that the Gruul Parun, Cisarzim, is his forebearer.[NEWLINE][NEWLINE]Card Artists: Todd Lockwood. Aleksi Briclot
			</Text>
		</Row>
		<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_GREGORY_IX_TITLES_1">
			<Text>Alpha of the Clans</Text>
		</Row>
		<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_GREGORY_IX_LIVED">
			<Text>Unknown to Present</Text>
		</Row>
	</Language_en_US>
</GameData>

Written in XML\Text\en_US: CIV5_Dialog_Gregory_IX.xml
Spoiler :
HTML:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 7/3/2014 5:13:17 PM -->
<GameData>

	<Language_en_US>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_AGREE_SHORT_1">
			<Text>Very well.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_AGREE_SHORT_2">
			<Text>All right.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_AGREE_SHORT_3">
			<Text>Certainly.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_AGREE_SHORT_4">
			<Text>It is agreed.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_AGREE_SHORT_5">
			<Text>Oh, very well.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_AGREE_SHORT_6">
			<Text>I suppose I must.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_AGREE_SHORT_7">
			<Text>Excellent.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_ATTACKED_1">
			<Text>Fool! The gods will fight by our side!</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_ATTACKED_2">
			<Text>Blasphemetic fool! The gods will destroy you!</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_ATTACKED_3">
			<Text>
				Curse you! The gods will never forgive this offence!
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DECLAREWAR_1">
			<Text>You are no longer of any use to the gods. Die now!</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DECLAREWAR_2">
			<Text>By the will of the gods, prepare to be destroyed!</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DECLAREWAR_3">
			<Text>Your blasphemetic rule stops now! Prepare to be destroyed!</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DEFEATED_1">
			<Text>
				You have shown that you are even mightier than the gods, and so I will kneel before you. My life in this world, is in your hands.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DEFEATED_2">
			<Text>
				You have defeated the holy army of The Vatican City State. The gods kneel before you.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DEFEATED_3">
			<Text>
				The power of the gods have been defeated by your hands. Perhaps you one day will sit high in the sky, ruling this world.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DEMANDTRIBUTE_ANGRY">
			<Text>
				I demand that you give the following as a tribute to the gods.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DEMANDTRIBUTE_HAPPY">
			<Text>
				The holy Vatican City asks this favor of you.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DEMANDTRIBUTE_NEUTRAL">
			<Text>
				Unless you want to feel the wrath of the gods, please hand over the following.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DISAGREE_SHORT_1">
			<Text>No.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DISAGREE_SHORT_2">
			<Text>Certainly not.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DISAGREE_SHORT_3">
			<Text>We decline.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DISAGREE_SHORT_4">
			<Text>Of course not.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DISAGREE_SHORT_5">
			<Text>That's unacceptable.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DISAGREE_SHORT_6">
			<Text>You cannot be serious!</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_DISAGREE_SHORT_7">
			<Text>I beg your pardon?</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_FIRSTGREETING_1">
			<Text>
				The holy glory of the Vatican City welcomes you. We do not seek war, but beware, the gods will fight by our side, if such a time would come.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_FIRSTGREETING_2">
			<Text>
				I, Pope Gregory IX, holy ruler of the Vatican City welcome you. We do not wish for war, but the gods will keep an eye on you.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_FIRSTGREETING_3">
			<Text>
				Greetings. I am the holy ruler of the Vatican city. The gods will assist you, as long as you acknowledge their might.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GOODBYE_1">
			<Text>Good day.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GOODBYE_2">
			<Text>Farewell.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GOODBYE_3">
			<Text>Goodbye.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GOODBYE_4">
			<Text>Until we meet again.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GOODBYE_5">
			<Text>May the gods lead you safely home.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GOODBYE_6">
			<Text>That is all.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GOODBYE_7">
			<Text>Our business here is done.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GREETING_1">
			<Text>Welcome.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GREETING_2">
			<Text>Hello.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GREETING_3">
			<Text>Greetings.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GREETING_4">
			<Text>Good day.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GREETING_5">
			<Text>Oh, it's you.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GREETING_6">
			<Text>I greet you.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_GREETING_7">
			<Text>The gods greet you.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_LETSHEARIT_1">
			<Text>Go ahead.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_LETSHEARIT_2">
			<Text>Proceed.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_LETSHEARIT_3">
			<Text>I'm listening.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_LETSHEARIT_4">
			<Text>Yes?</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_LETSHEARIT_5">
			<Text>You were saying?</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_LETSHEARIT_6">
			<Text>And?</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_LETSHEARIT_7">
			<Text>Go on.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_LOSEWAR_1">
			<Text>
				The god of war have stopped playing his war drums. We welcome peace with your nation.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_ANGRY_1">
			<Text>
				What a pitiful offer. The gods do not accept such junk.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_ANGRY_2">
			<Text>That's not good enough.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_ANGRY_3">
			<Text>You must be able to do better than that.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_HAPPY_1">
			<Text>
				I am sorry, but I must ask a little more of your great wealth.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_HAPPY_2">
			<Text>Can you add a little more?</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_HAPPY_3">
			<Text>You're almost there, just a little more.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_NEUTRAL_1">
			<Text>The gods do not accept that. Please improve your offer.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_NEUTRAL_2">
			<Text>Can you do a little better?</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_NEUTRAL_3">
			<Text>That's not good enough.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NEEDMORE_NEUTRAL_4">
			<Text>Almost&#8230;</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NO_ANGRY">
			<Text>
				Is this a joke? Your disrespectful offer is not amusing to the gods.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NO_HAPPY">
			<Text>
				I am sorry but we can't accept that.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_NO_NEUTRAL">
			<Text>We do not accept.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_YES_ANGRY">
			<Text>I accept.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_YES_HAPPY">
			<Text>We gladly accept your offer.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADE_YES_NEUTRAL">
			<Text>We accept this.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADEREQUEST_ANGRY">
			<Text>Here is our offer. Take it or leave it.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADEREQUEST_HAPPY">
			<Text>My friend, does this seem fair to you?</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRADEREQUEST_NEUTRAL">
			<Text>
				What do you think of this offer?
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRIBUTE_NO_ANGRY">
			<Text>
				How do you dare demand such a thing? The gods will condemn your sorry soul.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRIBUTE_NO_HAPPY">
			<Text>
				I am sorry, but we are not able to comply at this time.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRIBUTE_NO_NEUTRAL">
			<Text>
				I wonder if you realize that playing games with the gods, isn't a good idea...
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRIBUTE_YES_ANGRY">
			<Text>
				Alright. But from now on, expect the wrath of the gods.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRIBUTE_YES_HAPPY">
			<Text>Of course. We are happy to help you.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_TRIBUTE_YES_NEUTRAL">
			<Text>
				Okay, but you are playing with something, you can't control!
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_WARBLUFF_1">
			<Text>Fine. But the gods do not forget.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_WARBLUFF_2">
			<Text>You are calling something upon yourself, you do not want...</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_WARBLUFF_3">
			<Text>How disappointing.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_WARBLUFF_4">
			<Text>How very disappointing.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_WARBLUFF_5">
			<Text>
				You are disappointing the gods.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_WARBLUFF_6">
			<Text>This is foolish.</Text>
		</Row>
		<Row Tag="TXT_KEY_LEADER_GREGORYIX_WINWAR_1">
			<Text>
				You can thank the gods for their mercy. But next time, I'm afraid you wont be able to thank anyone.
			</Text>
		</Row>
	</Language_en_US>

</GameData>

Please read my comment for continuation
 
Written in XML\Units: CIV5Unit_Swiss_Guard.xml
Spoiler :
HTML:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 7/3/2014 7:55:06 PM -->
<GameData>
	<Units>
		<Row>
			<Class>UNITCLASS_PIKEMAN</Class>
			<Type>UNIT_SWISS_GUARD</Type>
			<PrereqTech>TECH_CIVIL_SERVICE</PrereqTech>
			<Combat>14</Combat>
			<Cost>70</Cost>
			<FaithCost>140</FaithCost>
			<RequiresFaithPurchaseEnabled>true</RequiresFaithPurchaseEnabled>
			<Moves>2</Moves>
			<CombatClass>UNITCOMBAT_MELEE</CombatClass>
			<Domain>DOMAIN_LAND</Domain>
			<DefaultUnitAI>UNITAI_COUNTER</DefaultUnitAI>
			<Description>TXT_KEY_UNIT_VATICAN_SWISS_GUARD</Description>
			<Civilopedia>TXT_KEY_CIVILOPEDIA_UNITS_MEDIEVAL_VATICAN_SWISS_GUARD_TEXT</Civilopedia>
			<Strategy>TXT_KEY_UNIT_VATICAN_SWISS_GUARD_STRATEGY</Strategy>
			<Help>TXT_KEY_UNIT_HELP_VATICAN_SWISS_GUARD</Help>
			<MilitarySupport>true</MilitarySupport>
			<MilitaryProduction>true</MilitaryProduction>
			<Pillage>true</Pillage>
			<ObsoleteTech>TECH_METALLURGY</ObsoleteTech>
			<GoodyHutUpgradeUnitClass>UNITCLASS_LANCER</GoodyHutUpgradeUnitClass>
			<AdvancedStartCost>20</AdvancedStartCost>
			<XPValueAttack>3</XPValueAttack>
			<XPValueDefense>3</XPValueDefense>
			<Conscription>3</Conscription>
			<UnitArtInfo>ART_DEF_UNIT_U_GERMAN_LANDSKNECHT</UnitArtInfo>
			<UnitFlagIconOffset>33</UnitFlagIconOffset>
			<IconAtlas>UNIT_ATLAS_1</IconAtlas>
			<PortraitIndex>34</PortraitIndex>
		</Row>
	</Units>
	<Unit_AITypes>
		<Row>
			<UnitType>UNIT_VATICAN_SWISS_GUARD</UnitType>
			<UnitAIType>UNITAI_COUNTER</UnitAIType>
		</Row>
	</Unit_AITypes>
	<Unit_ClassUpgrades>
		<Row>
			<UnitType>UNIT_VATICAN_SWISS_GUARD</UnitType>
			<UnitClassType>UNITCLASS_LANCER</UnitClassType>
		</Row>
	</Unit_ClassUpgrades>
	<Unit_Flavors>
		<Row>
			<UnitType>UNIT_VATICAN_SWISS_GUARD</UnitType>
			<FlavorType>FLAVOR_DEFENSE</FlavorType>
			<Flavor>9</Flavor>
		</Row>
	</Unit_Flavors>
	<Language_en_US>
		<Row Tag="TXT_KEY_UNIT_VATICAN_SWISS_GUARD">
			<Text>Swiss Guard</Text>
		</Row>
		<Row Tag="TXT_KEY_CIVILOPEDIA_UNITS_MEDIEVAL_VATICAN_SWISS_GUARD_TEXT">
			<Text>
				The Swiss Guard are Swiss soldiers that used to protect foreign european countries in the medieval era. They were known for their loyalty and combat techniques, which made them some of the best soldiers in the 15th century. They are however most know for protecting the Pope throughout the ages.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_UNIT_VATICAN_SWISS_GUARD_STRATEGY">
			<Text>
				The Swiss Guard is Vatican City's unique replacement for the pikeman. It fights best when near the capital and is slightly cheaper and less powerful than the pikeman.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_UNIT_HELP_VATICAN_SWISS_GUARD">
			<Text>
				Powerful Medieval Melee Unit, that gets a bonus when fighting near capital. It may also be purchased with [ICON_FAITH] Faith. Only The Vatican may build it.
			</Text>
		</Row>
	</Language_en_US>
</GameData>

Can you see anything, that is obviously missing?
Absolutely any help would be appreciated :)
 
The game is dicarding the entire CIV5Civilization_Vatican_City.xml because of this
Code:
			<Row Tag="TXT_KEY_SPY_NAME_VATICAN_CITY_9">
				<Text>Giorgia</Text>
				<Gender>feminine</Gender>
			</Row>
		</Language_en_US>
	[COLOR="Red"] </Civilizations> [/COLOR]
You are attempting to encapsulate mutliple game tables within another game table. Each game table is it's own 'deal', and must stand on it's own with it's correct opener command (in this case <Civilizations>) which is followed by individual <Row> -- </Row> sets, which are then followed by the table's closer command (in this case </Civilizations>) . Each game table must be closed before the next game table can be opened.

Looking at your other files I assume you just made a copy-paste error somewhere along the line when you made the CIV5Civilization_Vatican_City.xml file, but this is exactly the sort of thing you should look for when your mod is not working. Typos such as <oRW> or leaving the '/' off when required is another common copy-paste-typo error to look for.
 
Thank you for the answer, but I found another thread, that told me to enable logging, which showed me all the flaws. So it's fixed now and I can see it in-game :)
Sorry for the inconvenience!
BTW: do you know how to remove the thread again?
 
I'm glad you got it resolved. We leave the thread open in case other modders have a similar problem and find the resolution by reading this (or want to ask an additional question).
 
Thank you for the answer, but I found another thread, that told me to enable logging, which showed me all the flaws. So it's fixed now and I can see it in-game :)
Sorry for the inconvenience!
BTW: do you know how to remove the thread again?
Don't worry about it. Just edit your original post and add a note that your problem is solved if you want.
[edit]err, guess you already did that :)
 
Back
Top Bottom