Modders Guide to Civilization V

I have a question, if anybody is reading this...
Anyway, I am trying to make a mod in which the order of cities is changed. For example, I want Baghdad to appear first on the Arab city list. I know how to do it by "hacking" the xml file, but since I don't want to touch the original files, and do it all in a mod, I want to know how it can be done. I tried to search for the answer everywhere, but just couldn't find it in any tutorial.

Here is the code from my city list where I changed the capital of America from Washington to Philly, rearranged the order a little and added a couple of my own:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 1/15/2014 9:00:45 PM -->
<GameData>
	<Civilization_CityNames>
		<Delete CivilizationType="CIVILIZATION_AMERICA"/>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_PHILADELPHIA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_NEW_YORK</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_BOSTON</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_BALTIMORE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_ATLANTA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_CHICAGO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_NEW_ORLEANS</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_DETROIT</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_KANSAS_CITY</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HOUSTON</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_WASHINGTON</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_ST_LOUIS</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_MIAMI</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_BUFFALO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_RICHMOND</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_LOS_ANGELES</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SAN_FRANCISCO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_DENVER</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_CINCINNATI</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_DALLAS</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_CLEVELAN</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SEATTLE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SAN_DIEGO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_PORTLAND</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_LAS_VEGAS</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_PHOENIX</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_ALBUQUERQUE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_MINNEAPOLIS</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_PITTSBURGH</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_OAKLAND</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_TAMPA_BAY</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_ORLANDO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_TACOMA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SANTA_FE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_OLYMPIA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HUNT_VALLEY</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SPRINGFIELD</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_PALO_ALTO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_CENTRALIA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SPOKANE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_JACKSONVILLE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SAVANNAH</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_CHARLESTON</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SAN_ANTONIO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_OMAHA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_BIRMINGHAM</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HONOLULU</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_ANCHORAGE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SACRAMENTO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SALT_LAKE_CITY</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_RENO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_BOISE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_MILWAUKEE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SANTA_CRUZ</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_MONTEREY</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_SANTA_MONICA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_PARKVILLE</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_CARNEY</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_TOWSON</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_WHITE_MARSH</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_LITTLE_ROCK</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_COLUMBUS</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_LE_BAM</CityName>
		</Row>
	</Civilization_CityNames>
	<Language_en_US>
		<Row Tag="TXT_KEY_CITY_NAME_PARKVILLE">
			<Text>Parkville</Text>
		</Row>
		<Row Tag="TXT_KEY_CITY_NAME_CARNEY">
			<Text>Carney</Text>
		</Row>
		<Row Tag="TXT_KEY_CITY_NAME_TOWSON">
			<Text>Towson</Text>
		</Row>
		<Row Tag="TXT_KEY_CITY_NAME_WHITE_MARSH">
			<Text>White Marsh</Text>
		</Row>
	</Language_en_US>
</GameData>
 
Thanks. Now I get it. I thought about deleting, but I didn't really know what to delete. I was afraid that if I delete the civilization, it will delete everything that has to do with it. I didn't think that I actually delete only the stuff in the <Civilization_CityNames>.
Again, thanks.
 
Hi guys !
So, hum... I began modding a while ago, but droped it and I begin again since yesterday.
I have as project to add a civilization to the game. I have created my files, added links and all, I get no debugg errors, no warnings, everythings seems to be fine BUT (yes, there's always one)

My mod show up in the "Mods" Subsection of the game, I can activate it and all, but as I go to select my newly added civilization to play, I just isn't in the list.

I followed the guide on page 1, asked friends around, and I can't get why it's not showing up. I quite convinced I made an minor but critical error, but I can't find where it is, and what it is.

So, here's my files, I hope you will be able to help me understand my errors


Gallia.xml
Spoiler :
<Civilizations>

<Row>

<Type>CIVILIZATION_GALLIA</Type>
<Description>TXT_KEY_CIV_GALLIA_DESC</Description>
<ShortDescription>TXT_KEY_CIV_GALLIA_SHORT_DESC</ShortDescription>
<Adjective>TXT_KEY_CIV_GALLIA_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_CIV_GALLIA_PEDIA</Civilopedia>
<CivilopediaTag>TXT_KEY_CIV5_GALLIA</CivilopediaTag>
<DefaultPlayerColor="">PLAYERCOLOR_LIGHT_BLUE</DefaultPlayerColor>
<ArtDefineTag="">ART_DEF_CIVILIZATION_ENGLAND</ArtDefineTag>
<ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
<ArtStyleSuffix>_EURO</ArtStyleSuffix>
<ArtStylePrefix>EUROPEAN </ArtStylePrefix>
<PortraitIndex>0</PortraitIndex>
<IconAtlas>CIV_COLOR_ATLAS_LEGENDS</IconAtlas>
<AlphaIconAtlas>CIV_ALPHA_ATLAS</AlphaIconAtlas>
<MapImage>MapEngland512.dds</MapImage>
<DawnOfManQuote>TXT_KEY_CIV5_GALLIA_TEXT_1</DawnOfManQuote>
<DawnOfManImage>DOM_Elizabeth.dds</DawnOfManImage>
</Row>

</Civilizations>


<Civilization_CityNames>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_RANDGRIZ</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_FOUZEN</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_GHIRLANDAIO</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_VASEL</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_ANTHOLD</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_BRUHL</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_KOLDEN</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_LANSEAL</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_MELLVERE</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_YUELL</CityName>
</Row>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_VALUA</CityName>
</Row>

</Civilization_CityNames>


<Civilization_FreeBuildingClasses>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
</Row>

</Civilization_FreeBuildingClasses>


<Civilization_FreeTechs>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<TechType>TECH_AGRICULTURE</TechType>
</Row>

</Civilization_FreeTechs>


<Civilization_FreeUnits>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
<Count>1</Count>
<UnitAIType>UNITAI_SETTLE</UnitAIType>
</Row>

</Civilization_FreeUnits>


<Civilization_Leaders>

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<LeaderheadType>LEADER_ELIZABETH</LeaderheadType>
</Row>
</Civilization_Leaders>


<Civilization_Start_Region_Priority="">

<Row>
<CivilizationType>CIVILIZATION_GALLIA</CivilizationType>
<RegionType>REGION_PLAIN</RegionType>
</Row>
</Civilization_Start_Region_Priority


</GameData>



GameText.xml
Spoiler :
<GameData>
<Language_en_US>

<Row Tag="TXT_KEY_CITY_NAME_RANDGRIZ">
<Text>Randgriz</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_FOUZEN">
<Text>Fouzen</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_GHRILANDAIO">
<Text>Ghirlandaio</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_VASEL">
<Text>Vasel</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_ANTHOLD">
<Text>Anthold</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_BRUHL">
<Text>Bruhl</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_KOLDEN">
<Text>Kolden</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_LANSEAL">
<Text>Lanseal</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_MELLVERE">
<Text>Mellvere</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_YUELL">
<Text>Yuell</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_VALUA">
<Text>Valua</Text>
</Row>

<Row Tag="TXT_KEY_CIV_GALLIA_ADJECTIVE">
<Text>Gallian</Text>
</Row>

<Row Tag="TXT_KEY_CIV_GALLIA_DESC">
<Text>Principallity of Gallia</Text>
</Row>

<Row Tag="TXT_KEY_CIV_GALLIA_SHORT_DESC">
<Text>Gallia</Text>
</Row>

<Row Tag="TXT_KEY_CIV5_GALLIA_HEADING_1">
<Text>History</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_GALLIA_TEXT_1">
<Text>
This small, central, Europan nation is a constitutional monarchy, ruled by House Randgriz, the hereditary sovereign of Gallia. The first ruling ancestor of the house, revered as the legendary hero of the ancient War of the Valkyrur, built a castle on the site of what is now the capital city Randgriz, establishing it as the seat of Gallian rule.

Despite its size of only 38,567 sq. km and a population of just over 430,000, it boasts a rich and unique culture. The official currency is the Ducat (DCT).

Internationally, Gallia is characterized by its policies of armed neutrality and universal conscription and is notable amongst smaller independent states for its success in declining to ally themselves to either of the warring superpowers that border it.

The nation was formally born in the 3rd Century, when Castle Randgriz was built and rule over surrounding areas began.

When the Empire invaded Gallia at the turn of the 19th Century, the king renounced his crown, instead ruling over an autonomous region within the Empire as archduke. But as democratic movements swept western Europa, the archduke harnessed that energy in Gallia to push for freedom from the Empire, resulting in the War of Gallian Independence.

Stretched thin between multiple fronts, the Empire was unable to maintain its hold, and the small nation rose as the independent Principality of Gallia, declaring neutrality and establishing a system of universal conscription.
</Text>
</Row>
</Language_en_US>
</GameData>



CIV5IconTextureAtlases.xml
Spoiler :
<GameData>

<IconTextureAtlases>

<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>256</IconSize>
<Filename>CivSymbolsColorLegends256.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>128</IconSize>
<Filename>CivSymbolsColorLegends128.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>80</IconSize>
<Filename>CivSymbolsColorLegends80.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>64</IconSize>
<Filename>CivSymbolsColorLegends64.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>45</IconSize>
<Filename>CivSymbolsColorLegends45.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>32</IconSize>
<Filename>CivSymbolsColorLegends32.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>

</IconTextureAtlases>

</GameData>


(I grab them right now and edit it in a minute, sorry for the inconevience)
 
Yep, I set it in modbuddy, and i checked the spelling.
Well, concerning VFS, I searched the "properties" of the files, as mentionned earlier in the thread, but I can't see anything having something to do with VFS.

Are the icons an absolute prerequisite for the civ to shop up in the select screen ?
 
Yep, I set it in modbuddy, and i checked the spelling.
Well, concerning VFS, I searched the "properties" of the files, as mentionned earlier in the thread, but I can't see anything having something to do with VFS.

Are the icons an absolute prerequisite for the civ to shop up in the select screen ?

The property is named Import into VFS. I don't know if an icon is a prerequisite to make the civ show up, but I wouldn't be surprised if that was the case.
 
Here's what my ModBuddy look like.
Spoiler :


I tried every "properties" tab I could find and I still don't see any "Import into VFS". I'm sorry to disturb you with such a small matter, but I really want to learn and understand what's not working.
 
I seems to have errors in the database log, yes. But it's only on a "strategicview". Adding a new civ to the game modify the strategic view ?

Oh, here's me Database log. I build both the project and the solution, launched the game, activated the mod, went all the way to the select screen (nothing new here), then went all the way back to the main menu and exited.

Database.log
Spoiler :
[8198.875] columns StrategicViewType, TileType are not unique
[8198.875] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[8229.515] no such table: ContentPackage.LocalizedText
[8229.531] no such table: ContentPackage.LocalizedText
[8229.531] no such table: ContentPackage.LocalizedText
[8239.718] no such table: ContentPackage.LocalizedText
[8256.515] columns StrategicViewType, TileType are not unique
[8256.515] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[8259.156] no such table: ContentPackage.LocalizedText
[8259.156] no such table: ContentPackage.LocalizedText
[8259.156] no such table: ContentPackage.LocalizedText
[8279.593]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 6438728 81534352
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 6022296 67688208
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6376

Prepared Statements:
Current: 6
------------------------------
[8280.234]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 6439904 81534352
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 6023472 67688208
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6376

Prepared Statements:
Current: 6
------------------------------




{EDIT} Ok so I found a big problem and solved it. My Modbuddy wasn't updated (that's the reason why "Import into VFS" wasn't here). After the update it worked well, and the import option was present. So I imported all my DDS files into VFS.

I redone the mod from scratch before importing, just to be sure.
Now, I thought I solved it all but it still doesn't show up.

oh and I updated the Database log too
 
Those errors show up for everybody; they're the result of Firaxis' misdoings. It's a sign that either you're updating the database correctly (no problems with your XML) or that your logs actually aren't enabled.

We get these kind of "my new civ isn't working reports all the time, it's not new. This post basically has all the tutorials we normally link new modders to compiled into one convenient location, including enabling logging and mod attachment.

Remember that a built and attached mod is more useful than a wall of coding. And from what I can tell from the walls of code you posted, in your civilization XML file you're missing <GameData> at the beginning and you haven't defined two unique components - without DLL modding like is in scenarios, the game will not respond to a civ that doesn't have at least 2 UCs.
 
Oh ok, thanks for the info about the UC, I thought I could not create them yet.

I worked again on the mod, added units, icons, maps, a leader and her traits, a unique trait, ...
I know I should have figured out why it's not working before adding more stuff but I couldn't help it.

By "a built and attached mod", do you mean the mod folder located in the Mygames/Civ5/MODS ?

{EDIT} Here's the url to the ziped mod folder (built).
http://www.mediafire.com/download/jjzx26zpczhb2qa/VC++Gallia+(v+1).zip
I couldn't upload it with the attachments windowd because it's larger than the max size, sorry :/
 
Oh ok, thanks for the info about the UC, I thought I could not create them yet.

I worked again on the mod, added units, icons, maps, a leader and her traits, a unique trait, ...
I know I should have figured out why it's not working before adding more stuff but I couldn't help it.

By "a built and attached mod", do you mean the mod folder located in the Mygames/Civ5/MODS ?

{EDIT} Here's the url to the ziped mod folder (built).
http://www.mediafire.com/download/jjzx26zpczhb2qa/VC++Gallia+(v+1).zip
I couldn't upload it with the attachments windowd because it's larger than the max size, sorry :/
You really should be creating your own thread about this. Since this conversation right now... is technically a hijack of someone else's thread. :shifty:

Anyway, I couldn't find any errors just looking through the XML (probably mostly because I wasn't sure what error I was supposed to be looking for). But remember that logs are your friends.
(Y'know, after you've enabled them and loaded the mod again)
 
Oh ok, thanks for the info about the UC, I thought I could not create them yet.

I worked again on the mod, added units, icons, maps, a leader and her traits, a unique trait, ...
I know I should have figured out why it's not working before adding more stuff but I couldn't help it.

By "a built and attached mod", do you mean the mod folder located in the Mygames/Civ5/MODS ?

{EDIT} Here's the url to the ziped mod folder (built).
http://www.mediafire.com/download/jjzx26zpczhb2qa/VC++Gallia+(v+1).zip
I couldn't upload it with the attachments windowd because it's larger than the max size, sorry :/
DataBase.log error message:
Code:
[282743.890] columns Language, Tag are not unique
[282743.890] While executing - 'insert into Language_en_US('Tag', 'Text') values (?, ?);'
[282743.890] In XMLSerializer while inserting row into table insert into Language_en_US('Tag', 'Text') with  values (TXT_KEY_CIV5_GALLIA_TEXT_1, The nation was formally born in the 3rd Century, when Castle Randgriz was built and rule over surrounding areas began.

				When the Empire invaded Gallia at the turn of the 19th Century, the king renounced his crown, instead ruling over an autonomous region within the Empire as archduke. But as democratic movements swept western Europa, the archduke harnessed that energy in Gallia to push for freedom from the Empire, resulting in the War of Gallian Independence.

				Stretched thin between multiple fronts, the Empire was unable to maintain its hold, and the small nation rose as the independent Principality of Gallia, declaring neutrality and establishing a system of universal conscription., ).
[282743.890] In XMLSerializer while updating table Language_en_US from file XML/GameText.xml.
In your GameText.xml file you have
Spoiler :
Code:
		<Row Tag="TXT_KEY_CIV5_GALLIA_TEXT_1">
			<Text>
				This small, central, Europan nation is a constitutional monarchy, ruled by House Randgriz, the hereditary sovereign of Gallia. The first ruling ancestor of the house, revered as the legendary hero of the ancient War of the Valkyrur, built a castle on the site of what is now the capital city Randgriz, establishing it as the seat of Gallian rule.

				Despite its size of only 38,567 sq. km and a population of just over 430,000, it boasts a rich and unique culture. The official currency is the Ducat (DCT).

				Internationally, Gallia is characterized by its policies of armed neutrality and universal conscription and is notable amongst smaller independent states for its success in declining to ally themselves to either of the warring superpowers that border it.
			</Text>
		</Row>
		<Row Tag="TXT_KEY_CIV5_GALLIA_HEADING_2">
			<Text>History</Text>
		</Row>
		[COLOR="Red"]<Row Tag="TXT_KEY_CIV5_GALLIA_TEXT_1">
			<Text>
				The nation was formally born in the 3rd Century, when Castle Randgriz was built and rule over surrounding areas began.

				When the Empire invaded Gallia at the turn of the 19th Century, the king renounced his crown, instead ruling over an autonomous region within the Empire as archduke. But as democratic movements swept western Europa, the archduke harnessed that energy in Gallia to push for freedom from the Empire, resulting in the War of Gallian Independence.

				Stretched thin between multiple fronts, the Empire was unable to maintain its hold, and the small nation rose as the independent Principality of Gallia, declaring neutrality and establishing a system of universal conscription.
			</Text>
		</Row>[/COLOR]
The second one is a repeat, and causes the game to reject and discard the entire GameText.xml file.

-----------------------------------------------------------------------------------------------------------

DataBase.log error message:
Code:
[282743.984] Database::XMLSerializer (XML/GallianMusic.xml): 'Row' or 'Delete' expected, got 'ScriptID'.
I'm pretty sure what you are using outdated tables for adding sound to the game, plus you have no <Row> -- </Row> wraps.

DataBase.log error message:
Code:
282743.984] Database::XMLSerializer (XML/GallianMusicDefines.xml): 'Row' or 'Delete' expected, got 'SoundID'.
Same as above.

See Making a custom Leader use Custom Music! (by Leugi) That's a tutorial I forgot to add to that post AgressiveWimp linked to.

-----------------------------------------------------------------------------------------------------------

DataBase.log error message:
Code:
[282746.203] Invalid Reference on Civilization_UnitClassOverrides.UnitType - "UNIT_GALLIA_MILITIA" does not exist in Units
[282746.203] Invalid Reference on Civilization_UnitClassOverrides.UnitType - "UNIT_GALLIA_EDELWEISS" does not exist in Units
You never added your Units.xml as an "<OnModActivated> -> <UpdateDatabase>"

-----------------------------------------------------------------------------------------------------------

These should be Import Into VFS = "true" and not "<OnModActivated> -> <UpdateDatabase>"
Code:
<UpdateDatabase>Music/Cordelia_Peace.mp3</UpdateDatabase>
<UpdateDatabase>Music/Cordelia_War.mp3</UpdateDatabase>
 
I made my custom civilization using kael's guide and it shows up on the mod page but when i go to select them as my civilization it's not there. Anyone have any idea why?:confused:
this is my first mod so i may have made a noob mistake. I also have absolutely no experience in coding
 
Yes, there are many, and I mean many possible reasons.
But there are two main problems with your request:
1. You've given us next to no information to diagnose your problem.
2. You have proceeded to hijack someone else's thread instead of creating your own in the main C&C forum.

Read through this. It has an in-progress list of common errors made by new modders (in-progress, so it may be confusing and incomplete, be forewarned) as well as a list of tutorials. I would point you towards whoward's logging and mod attachment tutorials - read them thoroughly and follow every step carefully. That link also has a list of a couple forum procedures for when you ask for help.

And after that, if you still can't figure out the problem, you can open up a new thread in the main forums with an attached mod at the ready for us to diagnose the issue.
 
kk thanks ill look through all this stuff. sry bout being noob with forums. I lterally just started doing this last weekend and i only signed up to this site yesterday
 
It's not so much of a problem really, it's just that when you post on this thread far fewer people who might be able to help you will see it. Plus we really can't help you without the mod to look at. There are just too many possibilities for what you may have done wrong. Posting the mod here as an attachment to a post is really no good either because you've still got the problem of "far fewer people who might be able to help you will see it".
 
I would suggest making a new thread in the main Creation & Customization forum detailing your issues and posting your mod code. That will get more people to see it and be able to help you.
 
Pretty much. It's at least a very, very good start, but of course it won't teach you absolutely everything you'll need to create every possible civ, but the, that's what we're here for.

It is out of date, although honestly I still haven't figured out what specifically needs to be revised. AFAIK it's mostly all still relevant.
 
Top Bottom