HOW TO: Create a Civilization

It turns into a text file, not an XML file. Unless the game can go off of text files, I am at a dead end.
 
It displays the image as a text file, it is described as a text file, and it can only save as a text file.
 
It's kind of funny that I stumble upon this post now as I am trying to create an Imperium of Man civilization. I had success but now am trying to make it modular. Here's what I've done.

I'm working off of this tutorial : http://forums.civfanatics.com/showthread.php?t=234970

I'm starting with BTS 3.19, Rise of Mankind 3.81 and Rise of Mankind : A New Dawn 1.53.

I've made the following files from blank templates I found somewhere. I "made them" by taking the templates and then copying sample text from the RoM/Assets/ folders, pasting them into the templates and then editing over the info. I'll copy what I have in each.

Imperium_Civ4ArtDefines_Civilization.xml
Spoiler :
<?xml version="1.0"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Firaxis Games (Firaxis Games) -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Civilization art path information -->
<Civ4ArtDefines xmlns="x-schema:Imperium_CIV4ArtDefinesSchema.xml">
<CivilizationArtInfos>
<CivilizationArtInfo>
<Type>ART_DEF_CIVILIZATION_IMPERIUM</Type>
<Button>Modules/Custom Civilizations/The Imperium of Man/ImperiumCivButton.dds</Button>
<Path>Modules/Custom Civilizations/The Imperium of Man/ImperialEagle.dds</Path>
<bWhiteFlag>1</bWhiteFlag>
</CivilizationArtInfo>
</CivilizationArtInfos>
</Civ4ArtDefines>


Imperium_CIV4ArtDefines_Leaderhead.xml
Spoiler :
<?xml version="1.0"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Firaxis Games (Firaxis Games) -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Leaderhead art path information -->
<Civ4ArtDefines xmlns="x-schema:Imperium_CIV4ArtDefinesSchema.xml">
<LeaderheadArtInfos>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_EMPEROR</Type>
<Button>Modules/Custom Civilizations/The Imperium of Man/</Button>
<NIF>Modules/Custom Civilizations/The Imperium of Man/</NIF>
<KFM/>
<NoShaderNIF/>
<BackgroundKFM/>
</LeaderheadArtInfo>
</LeaderheadArtInfos>
</Civ4ArtDefines>


Imperium_CIV4CivilizationInfos.xml
Spoiler :
<?xml version="1.0"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Firaxis Games (Firaxis Games) -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Civilization Infos -->
<Civ4CivilizationInfos xmlns="x-schema:Imperium_CIV4CivilizationsSchema.xml">
<CivilizationInfos>
<CivilizationInfo>
<Type>CIVILIZATION_IMPERIUM</Type>
<Description>TXT_KEY_CIV_IMPERIUM_DESC</Description>
<ShortDescription>TXT_KEY_CIV_IMPERIUM_SHORT_DESC</ShortDescription>
<Adjective>TXT_KEY_CIV_IMPERIUM_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_CIV_IMPERIUM_PEDIA</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_RED</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_IMPERIUM</ArtDefineTag>
<ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
<UnitArtStyleType>UNIT_ARTSTYLE_EUROPEAN</UnitArtStyleType>
<bPlayable>1</bPlayable>
<bAIPlayable>0</bAIPlayable>
<Cities>
<City>TXT_KEY_CITY_NAME_IMPERIAL_PALACE</City>
<City>TXT_KEY_CITY_NAME_NOVA_YOURK</City>
<City>TXT_KEY_CITY_NAME_ZHONGDU</City>
<City>TXT_KEY_CITY_NAME_ROMA</City>
<City>TXT_KEY_CITY_NAME_ATHINA</City>
<City>TXT_KEY_CITY_NAME_BYZANTIUM</City>
<City>TXT_KEY_CITY_NAME_MEMPHYS</City>
</Cities>
<Buildings>
<Building>
<BuildingClassType>BUILDINGCLASS_SUPERMARKET</BuildingClassType>
<BuildingType>BUILDING_AMERICAN_MALL</BuildingType>
</Building>
</Buildings>
<Units>
<Unit>
<UnitClassType>UNITCLASS_MARINE</UnitClassType>
<UnitType>UNIT_AMERICAN_NAVY_SEAL</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_MUSKETMAN</UnitClassType>
<UnitType>UNIT_MINUTEMAN</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EARLY_TANK</UnitClassType>
<UnitType>UNIT_FT17US</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_SEAPLANE</UnitClassType>
<UnitType>UNIT_J2F</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_LIGHT_TANK</UnitClassType>
<UnitType>UNIT_M3A1</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_TANK</UnitClassType>
<UnitType>UNIT_TANK_M4A3</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EARLYJET</UnitClassType>
<UnitType>UNIT_F86</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_BOMBER</UnitClassType>
<UnitType>UNIT_b17</UnitType>
</Unit>
</Units>
<FreeUnitClasses>
<FreeUnitClass>
<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
<iFreeUnits>1</iFreeUnits>
</FreeUnitClass>
</FreeUnitClasses>
<FreeBuildingClasses>
<FreeBuildingClass>
<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
<bFreeBuildingClass>1</bFreeBuildingClass>
</FreeBuildingClass>
</FreeBuildingClasses>
<FreeTechs>
<FreeTech>
<TechType>TECH_FISHING</TechType>
<bFreeTech>1</bFreeTech>
</FreeTech>
<FreeTech>
<TechType>TECH_AGRICULTURE</TechType>
<bFreeTech>1</bFreeTech>
</FreeTech>
</FreeTechs>
<DisableTechs/>
<InitialCivics>
<CivicType>CIVIC_CHIEFDOM</CivicType>
<CivicType>CIVIC_OLIGARCHY</CivicType>
<CivicType>CIVIC_TRIBAL</CivicType>
<CivicType>CIVIC_BARTER</CivicType>
<CivicType>CIVIC_FOLKLORE</CivicType>
<CivicType>CIVIC_SURVIVAL</CivicType>
<CivicType>CIVIC_NOTHING</CivicType>
</InitialCivics>
<Leaders>
<Leader>
<LeaderName>LEADER_EMPEROR</LeaderName>
<bLeaderAvailability>1</bLeaderAvailability>
</Leader>
</Leaders>
<DerivativeCiv>NONE</DerivativeCiv>
<CivilizationSelectionSound>AS3D_AMERICA_SELECT</CivilizationSelectionSound>
<CivilizationActionSound>AS3D_AMERICA_ORDER</CivilizationActionSound>
</CivilizationInfo>
</CivilizationInfos>
</Civ4CivilizationInfos>


Imperium_CIV4GameText.xml
*too big for post*

Imperium_CIV4LeaderHeadInfos.xml
Spoiler :
<?xml version="1.0"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Alex Mantzaris (Firaxis Games) -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Leader Infos and AI Settings -->
<Civ4LeaderHeadInfos xmlns="x-schema:CIV4CivilizationsSchema.xml">
<LeaderHeadInfos>
<LeaderHeadInfo>
<Type>LEADER_EMPEROR</Type>
<Description>TXT_KEY_LEADER_EMPEROR</Description>
<Civilopedia>TXT_KEY_LEADER_EMPEROR_PEDIA</Civilopedia>
<ArtDefineTag>ART_DEF_LEADER_EMPEROR</ArtDefineTag>
<iWonderConstructRand>20</iWonderConstructRand>
<iBaseAttitude>0</iBaseAttitude>
<iBasePeaceWeight>0</iBasePeaceWeight>
<iPeaceWeightRand>3</iPeaceWeightRand>
<iWarmongerRespect>2</iWarmongerRespect>
<iEspionageWeight>100</iEspionageWeight>
<iRefuseToTalkWarThreshold>8</iRefuseToTalkWarThreshold>
<iNoTechTradeThreshold>5</iNoTechTradeThreshold>
<iTechTradeKnownPercent>30</iTechTradeKnownPercent>
<iMaxGoldTradePercent>5</iMaxGoldTradePercent>
<iMaxGoldPerTurnTradePercent>10</iMaxGoldPerTurnTradePercent>
<iMaxWarRand>50</iMaxWarRand>
<iMaxWarNearbyPowerRatio>90</iMaxWarNearbyPowerRatio>
<iMaxWarDistantPowerRatio>70</iMaxWarDistantPowerRatio>
<iMaxWarMinAdjacentLandPercent>0</iMaxWarMinAdjacentLandPercent>
<iLimitedWarRand>40</iLimitedWarRand>
<iLimitedWarPowerRatio>130</iLimitedWarPowerRatio>
<iDogpileWarRand>50</iDogpileWarRand>
<iMakePeaceRand>40</iMakePeaceRand>
<iDeclareWarTradeRand>40</iDeclareWarTradeRand>
<iDemandRebukedSneakProb>40</iDemandRebukedSneakProb>
<iDemandRebukedWarProb>25</iDemandRebukedWarProb>
<iRazeCityProb>0</iRazeCityProb>
<iBuildUnitProb>35</iBuildUnitProb>
<iBaseAttackOddsChange>4</iBaseAttackOddsChange>
<iAttackOddsChangeRand>8</iAttackOddsChangeRand>
<iWorseRankDifferenceAttitudeChange>-2</iWorseRankDifferenceAttitudeChange>
<iBetterRankDifferenceAttitudeChange>0</iBetterRankDifferenceAttitudeChange>
<iCloseBordersAttitudeChange>-4</iCloseBordersAttitudeChange>
<iLostWarAttitudeChange>-1</iLostWarAttitudeChange>
<iAtWarAttitudeDivisor>-5</iAtWarAttitudeDivisor>
<iAtWarAttitudeChangeLimit>5</iAtWarAttitudeChangeLimit>
<iAtPeaceAttitudeDivisor>60</iAtPeaceAttitudeDivisor>
<iAtPeaceAttitudeChangeLimit>1</iAtPeaceAttitudeChangeLimit>
<iSameReligionAttitudeChange>1</iSameReligionAttitudeChange>
<iSameReligionAttitudeDivisor>10</iSameReligionAttitudeDivisor>
<iSameReligionAttitudeChangeLimit>4</iSameReligionAttitudeChangeLimit>
<iDifferentReligionAttitudeChange>-1</iDifferentReligionAttitudeChange>
<iDifferentReligionAttitudeDivisor>-5</iDifferentReligionAttitudeDivisor>
<iDifferentReligionAttitudeChangeLimit>-1</iDifferentReligionAttitudeChangeLimit>
<iBonusTradeAttitudeDivisor>50</iBonusTradeAttitudeDivisor>
<iBonusTradeAttitudeChangeLimit>2</iBonusTradeAttitudeChangeLimit>
<iOpenBordersAttitudeDivisor>25</iOpenBordersAttitudeDivisor>
<iOpenBordersAttitudeChangeLimit>2</iOpenBordersAttitudeChangeLimit>
<iDefensivePactAttitudeDivisor>12</iDefensivePactAttitudeDivisor>
<iDefensivePactAttitudeChangeLimit>2</iDefensivePactAttitudeChangeLimit>
<iShareWarAttitudeChange>1</iShareWarAttitudeChange>
<iShareWarAttitudeDivisor>8</iShareWarAttitudeDivisor>
<iShareWarAttitudeChangeLimit>4</iShareWarAttitudeChangeLimit>
<iFavoriteCivicAttitudeChange>1</iFavoriteCivicAttitudeChange>
<iFavoriteCivicAttitudeDivisor>10</iFavoriteCivicAttitudeDivisor>
<iFavoriteCivicAttitudeChangeLimit>2</iFavoriteCivicAttitudeChangeLimit>
<DemandTributeAttitudeThreshold>ATTITUDE_CAUTIOUS</DemandTributeAttitudeThreshold>
<NoGiveHelpAttitudeThreshold>ATTITUDE_CAUTIOUS</NoGiveHelpAttitudeThreshold>
<TechRefuseAttitudeThreshold>ATTITUDE_ANNOYED</TechRefuseAttitudeThreshold>
<StrategicBonusRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StrategicBonusRefuseAttitudeThreshold>
<HappinessBonusRefuseAttitudeThreshold>ATTITUDE_ANNOYED</HappinessBonusRefuseAttitudeThreshold>
<HealthBonusRefuseAttitudeThreshold>ATTITUDE_ANNOYED</HealthBonusRefuseAttitudeThreshold>
<MapRefuseAttitudeThreshold>ATTITUDE_PLEASED</MapRefuseAttitudeThreshold>
<DeclareWarRefuseAttitudeThreshold>ATTITUDE_ANNOYED</DeclareWarRefuseAttitudeThreshold>
<DeclareWarThemRefuseAttitudeThreshold>ATTITUDE_PLEASED</DeclareWarThemRefuseAttitudeThreshold>
<StopTradingRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StopTradingRefuseAttitudeThreshold>
<StopTradingThemRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StopTradingThemRefuseAttitudeThreshold>
<AdoptCivicRefuseAttitudeThreshold>ATTITUDE_PLEASED</AdoptCivicRefuseAttitudeThreshold>
<ConvertReligionRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</ConvertReligionRefuseAttitudeThreshold>
<OpenBordersRefuseAttitudeThreshold>ATTITUDE_ANNOYED</OpenBordersRefuseAttitudeThreshold>
<DefensivePactRefuseAttitudeThreshold>ATTITUDE_PLEASED</DefensivePactRefuseAttitudeThreshold>
<PermanentAllianceRefuseAttitudeThreshold>ATTITUDE_PLEASED</PermanentAllianceRefuseAttitudeThreshold>
<VassalRefuseAttitudeThreshold>ATTITUDE_PLEASED</VassalRefuseAttitudeThreshold>
<iVassalPowerModifier>20</iVassalPowerModifier>
<iFreedomAppreciation>10</iFreedomAppreciation>
<FavoriteCivic>CIVIC_DESPOTISM</FavoriteCivic>
<FavoriteReligion>RELIGION_HELLENISM</FavoriteReligion>
<Traits>
<Trait>
<TraitType>TRAIT_IMPERIALIST</TraitType>
<bTrait>1</bTrait>
</Trait>
<Trait>
<TraitType>TRAIT_SCIENTIFIC</TraitType>
<bTrait>1</bTrait>
</Trait>
</Traits>
<Flavors>
<Flavor>
<FlavorType>FLAVOR_MILITARY</FlavorType>
<iFlavor>5</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_GROWTH</FlavorType>
<iFlavor>2</iFlavor>
</Flavor>
</Flavors>
<ContactRands>
<ContactRand>
<ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
<iContactRand>250</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_CIVIC_PRESSURE</ContactType>
<iContactRand>1000</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_JOIN_WAR</ContactType>
<iContactRand>20</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_STOP_TRADING</ContactType>
<iContactRand>50</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_GIVE_HELP</ContactType>
<iContactRand>500</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_ASK_FOR_HELP</ContactType>
<iContactRand>250</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_DEMAND_TRIBUTE</ContactType>
<iContactRand>250</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_OPEN_BORDERS</ContactType>
<iContactRand>20</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_DEFENSIVE_PACT</ContactType>
<iContactRand>80</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_PERMANENT_ALLIANCE</ContactType>
<iContactRand>80</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_PEACE_TREATY</ContactType>
<iContactRand>20</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_TRADE_TECH</ContactType>
<iContactRand>5</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_TRADE_BONUS</ContactType>
<iContactRand>5</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_TRADE_MAP</ContactType>
<iContactRand>20</iContactRand>
</ContactRand>
</ContactRands>
<ContactDelays>
<ContactDelay>
<ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_CIVIC_PRESSURE</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_JOIN_WAR</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_STOP_TRADING</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_GIVE_HELP</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_ASK_FOR_HELP</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_DEMAND_TRIBUTE</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_OPEN_BORDERS</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_DEFENSIVE_PACT</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_PERMANENT_ALLIANCE</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_PEACE_TREATY</ContactType>
<iContactDelay>10</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_TRADE_TECH</ContactType>
<iContactDelay>30</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_TRADE_BONUS</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_TRADE_MAP</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
</ContactDelays>
<MemoryDecays>
<MemoryDecay>
<MemoryType>MEMORY_GIVE_HELP</MemoryType>
<iMemoryRand>200</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_REFUSED_HELP</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPTED_JOIN_WAR</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_STOPPED_TRADING_RECENT</MemoryType>
<iMemoryRand>30</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_MADE_DEMAND_RECENT</MemoryType>
<iMemoryRand>20</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_CANCELLED_OPEN_BORDERS</MemoryType>
<iMemoryRand>10</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_TRADED_TECH_TO_US</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_RECEIVED_TECH_FROM_ANY</MemoryType>
<iMemoryRand>20</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_VOTED_AGAINST_US</MemoryType>
<iMemoryRand>10</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_VOTED_FOR_US</MemoryType>
<iMemoryRand>10</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_EVENT_GOOD_TO_US</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_EVENT_BAD_TO_US</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
</MemoryDecays>
<MemoryAttitudePercents>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DECLARED_WAR</MemoryType>
<iMemoryAttitudePercent>-300</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DECLARED_WAR_ON_FRIEND</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_HIRED_WAR_ALLY</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_NUKED_US</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_NUKED_FRIEND</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_RAZED_CITY</MemoryType>
<iMemoryAttitudePercent>-250</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_RAZED_HOLY_CITY</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_SPY_CAUGHT</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_GIVE_HELP</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_REFUSED_HELP</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
<iMemoryAttitudePercent>50</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_STOPPED_TRADING</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_HIRED_TRADE_EMBARGO</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_MADE_DEMAND</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_TRADED_TECH_TO_US</MemoryType>
<iMemoryAttitudePercent>10</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_VOTED_AGAINST_US</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_VOTED_FOR_US</MemoryType>
<iMemoryAttitudePercent>200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_EVENT_GOOD_TO_US</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_EVENT_BAD_TO_US</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_LIBERATED_CITIES</MemoryType>
<iMemoryAttitudePercent>150</iMemoryAttitudePercent>
</MemoryAttitudePercent>
</MemoryAttitudePercents>
<NoWarAttitudeProbs>
<NoWarAttitudeProb>
<AttitudeType>ATTITUDE_CAUTIOUS</AttitudeType>
<iNoWarProb>20</iNoWarProb>
</NoWarAttitudeProb>
<NoWarAttitudeProb>
<AttitudeType>ATTITUDE_PLEASED</AttitudeType>
<iNoWarProb>80</iNoWarProb>
</NoWarAttitudeProb>
<NoWarAttitudeProb>
<AttitudeType>ATTITUDE_FRIENDLY</AttitudeType>
<iNoWarProb>100</iNoWarProb>
</NoWarAttitudeProb>
</NoWarAttitudeProbs>
<UnitAIWeightModifiers>
<UnitAIWeightModifier>
<UnitAIType>UNITAI_ATTACK</UnitAIType>
<iWeightModifier>100</iWeightModifier>
</UnitAIWeightModifier>
</UnitAIWeightModifiers>
<ImprovementWeightModifiers/>
<DiplomacyIntroMusicPeace>
<DiploMusicPeaceEra>
<EraType>ERA_ANCIENT</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_CLASSICAL</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_MEDIEVAL</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_RENAISSANCE</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_INDUSTRIAL</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_MODERN</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_TRANSHUMAN</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_FUTURE</EraType>
</DiploMusicPeaceEra>
</DiplomacyIntroMusicPeace>
<DiplomacyMusicPeace>
<DiploMusicPeaceEra>
<EraType>ERA_ANCIENT</EraType>
<DiploScriptId>AS2D_DIPLO_ALEXANDER_EARLY</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_CLASSICAL</EraType>
<DiploScriptId>AS2D_DIPLO_ALEXANDER_EARLY</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_MEDIEVAL</EraType>
<DiploScriptId>AS2D_DIPLO_ALEXANDER_MIDDLE</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_RENAISSANCE</EraType>
<DiploScriptId>AS2D_DIPLO_ALEXANDER_MIDDLE</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_INDUSTRIAL</EraType>
<DiploScriptId>AS2D_DIPLO_ALEXANDER_LATE</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_MODERN</EraType>
<DiploScriptId>AS2D_DIPLO_ALEXANDER_LATE</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_TRANSHUMAN</EraType>
<DiploScriptId>AS2D_DIPLO_ALEXANDER_LATE</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_FUTURE</EraType>
<DiploScriptId>AS2D_DIPLO_ALEXANDER_LATE</DiploScriptId>
</DiploMusicPeaceEra>
</DiplomacyMusicPeace>
<DiplomacyIntroMusicWar>
<DiploMusicWarEra>
<EraType>ERA_ANCIENT</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_CLASSICAL</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_MEDIEVAL</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_RENAISSANCE</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_INDUSTRIAL</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_MODERN</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_TRANSHUMAN</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_FUTURE</EraType>
</DiploMusicWarEra>
</DiplomacyIntroMusicWar>
<DiplomacyMusicWar>
<DiploMusicWarEra>
<EraType>ERA_ANCIENT</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_EARLY</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_CLASSICAL</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_EARLY</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_MEDIEVAL</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_MIDDLE</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_RENAISSANCE</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_MIDDLE</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_INDUSTRIAL</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_LATE</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_MODERN</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_LATE</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_TRANSHUMAN</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_LATE</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_FUTURE</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_LATE</DiploScriptId>
</DiploMusicWarEra>
</DiplomacyMusicWar>
</LeaderHeadInfo>
</LeaderHeadInfos>
</Civ4LeaderHeadInfos>


Imperium_CIV4UnitInfos.xml
*unchanged from RoM's original as I am not implementing the new units for WH40k yet*


The following three files are unchanged(outside the file name) as I don't know what they even do.
Imperium_CIV4ArtDefinesSchema.xml
Imperium_CIV4CivilizationsSchema.xml
Imperium_CIV4UnitSchema.xml

I put all of these files, along with my 5 .dds files, in e:/Civ IV/BTS/Mods/RoM/Assets/Modules/Custom Civilizations/The Imperium of Man/.

It doesn't work. When I load BTS, it gets to loading the uncached .xml and gives me
"Failed Loading XML file modules\Custom Civilizations\The Imperium of Man\Imperium_CIV4LeaderHeadInfos.xml"
"LoadXML call failed for modules\Custom Civilizations\The Imperium of Man\Imperium_CIV4LeaderHeadInfos.xml"
"Failed Loading XML file modules\Custom Civilizations\The Imperium of Man\Imperium_CIV4UnitInfos.xml"
"LoadXML call failed for modules\Custom Civilizations\The Imperium of Man\Imperium_CIV4UnitInfos.xml"
"Tag: LEADER_Emperor in Info class was incorrect
Current XML file is: modules\Custom Civilizations\The Imperium of Man\Imperium_CIV4CivilizationInfos.xml"

The game then loads and when I create a custom game, I can select "The Imperium" but it has no leader. I will look into this, but any help would be great. Whoever wants the Imperium, PM me and I'll try and hook you up.

****Edit : Found the problem****
The Civ4UnitInfos didn't have its corresponding schema file. Deleted it from the module folder.
I think I forgot to edit my schema file in the Leaderhead infos. That cleared up the problem. When I initially loaded, I got an all red screen after map generation. I then found out that my .dds files weren't referenced as I left two of them blank in the art_leaderhead file. It works now! Yes!
 
It's a very detailed tut, and to be honest...it's not that good...like you explain it to us like a pro and how a pro would have done it...can you please make one more with easier explanations?
 
does anyone know if the general idea of this works for CIV III
I mean not the flag, but new person, new unit, etc.?
 
It turns into a text file, not an XML file. Unless the game can go off of text files, I am at a dead end.

I'm having that same problem. I've got everything ready, but when I need to put it into the XML files, I have dead end.

I can only save it as a .txt file in notepad, not a .xml file, and I have no idea if that makes a difference or not. Can anyone tell me if I need to get a special .xml editor, or if a .txt file will work the same as an .xml file? I'd really not like to save it as a .txt and have it not work, then be unable to put the original .xml thing back into it...
 
There should be just a "save" option, use this instead of the "save as" option.
Or save it as .txt, and then change the file extension afterwards.

You sure? Well, I'll take your word for that. And what kind of extension? Something a simple google search would reveal?

Edit: I tried the saving option, it said Windows couldn't do it because it was an invalid file type or something, then asked me if I wanted to save it as a .txt file. Any recomendations on file converters or whatnot?
 
You don't need a file converter for that, XML is just text ;).
Go into the windows explorer, then -> Extras -> Folder options -> View -> Unmark "Hide file extensions for known filetypes" (not sure, if it's exactly like that, i'm sitting on a german pc).
Then go to your file, remove the .txt and replace it with .xml.
 
You don't need a file converter for that, XML is just text ;).
Go into the windows explorer, then -> Extras -> Folder options -> View -> Unmark "Hide file extensions for known filetypes" (not sure, if it's exactly like that, i'm sitting on a german pc).
Then go to your file, remove the .txt and replace it with .xml.

I don't beleive I have anything like that on this computer. Well, maybe I do, and it's somewhere else. This is running Vista, that could be it. But I can't find anything like that, and a search reveals nothing of the sort. I think I know what you're talking about, but my windows explorer opens up to "programs", and that doesn't have anything labelled extras. In fact, I'm unable to find "Extras" with a folder options anywhere.
 
Just made a quick google search, and i have to say, i hate Vista.
Go to the system control panel (?, where also the things for drivers and printers are), there should be something like "view", where you can activate the menus under "always show menus".
Please remember, that i write that from a german XP machine, so the instructions are sure a bit unclear.
 
Just made a quick google search, and i have to say, i hate Vista.
Go to the system control panel (?, where also the things for drivers and printers are), there should be something like "view", where you can activate the menus under "always show menus".
Please remember, that i write that from a german XP machine, so the instructions are sure a bit unclear.

Ah, I got it now. Thanks, I'll see if it works.

Edit: Well, I still couldn't save it as .xml, but my friend told me about a conversion site, so I should be good there. However, now it won't save at all, not even as a .txt file. I'm going to copy it to my desktop and then save it there, after I edit it, I'll put it back in the right folder. I hope that works....
 
One of the nice things about XML is that it is a "plain text" file1. (see examples below of different encoding types opened in Notepad.) Notepad always adds .txt to the file name unless you put the file name in quotes. Notepad does not "change" the file encoding. It just adds an extension that tells Windoze it is a text type file. Never use Word or Wordpad for XML files. They WILL change the formating!


XML (text)
Code:
<xml>
<pets>
   <pet>
      <type>dog</type>
      <name>Ralph</name>
   <pet>
   <pet>
      <type>cat</type>
      <name>Suzi</name>
   <pet>
</pets>
</xml>

ZIP File (binary)
Code:
PK
     }Z;    €¢ˆï÷=÷žK½7hŒ,¹¬«ZЖé$yOî¸`’VìšLÛï_¹¶
ߧ4+¹déºz…Ég&™¦–åär8üõb4¼¸¼úmôñúÃðzø,[rKMûuú×
;r™ÉOKféÏp+:):)¯ƒÍf“2 Vš©Êå\”Üü£ä›Ò/ÆR˕$W$S²à
+R:)$XÝ[’QI–Œ4¹7ܖä1ÔÓ5ÓÆyþNÎ>%ëPüŸßºò«3—pÎ
Ë\ªvp¹"¦5–U¤Pš´ªÑ$z“*´ž¬fìlîb([2}yõ*¸l^}¼œ‡àp
s}ø j#‰҇„ÇQÄ®¢Ã}°a189 ÒøS3F,{µ$g&Ó¼ö`ƒ
P%—…¨6°Nk:)ò&³i£…KÒ?ƒÁÙiÇLPcœëAù¾¸‡¦Z2´Zìš?>›”ü
݃ &‘ÊÂoƒ1^ :)%CüUò…cvˆÉ]xh]¶†g1Iå:«_

Windows Word Doc (binary)
Code:
ÐÏࡱá                >  þÿ	               †          ˆ      þÿÿÿ
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿì¥Á €	  ø¿                bjbjëÈëÈ 
etting up Robo-FTP after install

STEP
1A




1Ignoring the difference in "text" file formats (ASCII/ANSI/Unicode/EBCDIC...) and the fact that Windows/*nix/Mac have different end-of-line standards.
 
I kno this tutorial is old, but I just got my hands on Civ 4 [Vanilla]. I'm trying to create my own Obama Civ but I want to choose Obama's traits, I want the game to recognize it as "American" and I don't want to change the unique unit. Any suggestions?

EDIT: I got the 3 things I mentioned above, but now I'm having trouble with the Leader Name. It keeps coming up as "TXT_KEY_LEADER_OBAMA" instead of "Obama", a little help?
 
I kno this tutorial is old, but I just got my hands on Civ 4 [Vanilla]. I'm trying to create my own Obama Civ but I want to choose Obama's traits, I want the game to recognize it as "American" and I don't want to change the unique unit. Any suggestions?

EDIT: I got the 3 things I mentioned above, but now I'm having trouble with the Leader Name. It keeps coming up as "TXT_KEY_LEADER_OBAMA" instead of "Obama", a little help?

Have you added that "TXT_KEY_LEADER_OBAMA" to any text file?
 
I did the flag thing in Dxtbmp,and made that in paint as well,but what next? where shoudl I put this file?
 
Top Bottom