Modders Guide to Civilization V

I think I fixed it. I redid it again and it appears ingame.

I used LEADER_GUY in the code and "retconned" back into being Hitler using the TXT stuff. I legitimately think they blacklisted LEADER_HITLER to stop people putting it up on the database and offending people. I'm sure that's wrong, but it is the only thing I seemed to have done differently.

Oh well, don't care.
 
This documentation is gorgeous and very well-written. This is kind of off-topic, but what did you use to typeset it? It doesn't look like your standard LaTeX :)
 
What size is the round icon on the left for the leader in the civilization selection screen?
 
Cruor : if my hunch is right, your problem could be similar to mine, and the ones described in this thread : Inconsistant effect of data modding.... I'm talking about minor tweaks that SHOULD work, but you don't know why, they won't apply. Try Szpilman's soluce for that : redownloading-reinstalling the game. I haven't tried it yet, but that could work.
 
Hi Guys!

Sorry to bug, but I've been having a similar problem as some of the other modders when adding a custom civ.

That is, it doesn't show at all. I have added your mod Kael (Boudica) and it loads without any problems. I followed your guide as best I could and I thought I had done everything correctly, but clearly not...!

I downloaded the Confederate States of America mod civ to see if it would load, and it did. So i copied and pasted his xml file into one of my own and just replaced his info with what I wanted. It didn't work.

Here are the files:

Mod Info
Spoiler :
<?xml version="1.0" encoding="utf-8"?>
<Mod id="70fb4186-27ea-49c4-846f-2bf0e4cb0bf4" version="1">
<Properties>
<Name>AAAAAAAAAAA</Name>
<Stability>Alpha</Stability>
<Description>aaaaaaaaa</Description>
<Authors>Benny</Authors>
<AffectsSavedGames>1</AffectsSavedGames>
<MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
<SupportsSinglePlayer>1</SupportsSinglePlayer>
<SupportsMultiplayer>1</SupportsMultiplayer>
<SupportsMac>1</SupportsMac>
<ReloadLandmarkSystem>0</ReloadLandmarkSystem>
<ReloadUnitSystem>0</ReloadUnitSystem>
</Properties>
<Dependencies />
<References />
<Blocks />
<Files>
<File md5="6BF068960345E63215A90704D6AF3177">PRC.xml</File>
<File md5="FCC823381B1222DF5559384CB04618B5">MaoDOM.dds</File>
<File md5="E9BFD9FB99392F1B6355CC82A36BBE0E">PRCIconAtlas128.dds</File>
<File md5="BD120CE47145A9F95BF4985F04819826">PRCIconAtlas256.dds</File>
<File md5="9C707DA50973D13F7004B82235FC37FA">PRCIconAtlas32.dds</File>
<File md5="BE69B07E12C14715EBC9DFAE1460DC05">PRCIconAtlas45.dds</File>
<File md5="28204A6FFFFDFF2C374322CCE1D9CB80">PRCIconAtlas64.dds</File>
<File md5="11692B5E6752C1C49B47BF1813DFCDDD">PRCIconAtlas80.dds</File>
</Files>
<Actions>
<OnModActivated>
<UpdateDatabase>PRC.xml</UpdateDatabase>
</OnModActivated>
</Actions>
</Mod>


XML File
Spoiler :
<GameData>
<IconTextureAtlases>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>256</IconSize>
<Filename>PRCIconAtlas256.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>128</IconSize>
<Filename>PRCIconAtlas128.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>80</IconSize>
<Filename>PRCIconAtlas80.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>64</IconSize>
<Filename>PRCIconAtlas64.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>45</IconSize>
<Filename>PRCIconAtlas45.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>32</IconSize>
<Filename>PRCIconAtlas32.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
</IconTextureAtlases>



<Civilizations>
<Row>
<Type>CIVILIZATION_PRC</Type>
<Description>People's Republic of China</Description>
<ShortDescription>P.R. of China</ShortDescription>
<Adjective>Chinese</Adjective>
<Civilopedia>TXT_KEY_CIV_PRC_PEDIA</Civilopedia>
<CivilopediaTag>TXT_KEY_CIV5_PRC</CivilopediaTag>
<DefaultPlayerColor>PLAYERCOLOR_DARK_RED</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_CHINA</ArtDefineTag>
<ArtStyleType>ARTSTYLE_ASIAN</ArtStyleType>
<ArtStyleSuffix>_ASIA</ArtStyleSuffix>
<ArtStylePrefix>ASIAN </ArtStylePrefix>
<PortraitIndex>0</PortraitIndex>
<!-- <AIPlayable>false</AIPlayable> -->
<IconAtlas>CIV_COLOR_ATLAS_LEGENDS</IconAtlas>
<AlphaIconAtlas>CIV_ALPHA_ATLAS</AlphaIconAtlas>
<MapImage>MapChina512.dds</MapImage>
<DawnOfManQuote>Greetings, Comrade Mao Zedong! You lead the industrious country of the People&#8217;s Republic of China. The last dynasty, the Qing, ended in 1911 with the founding of the Republic of China by the Chinese Nationalist Party. [NEWLINE][NEWLINE]The first half of the 20th century saw China plunged into a period of disunity and civil wars that divided the country into two main political camps &#8211; the nationalists and the communists. Major hostilities ended in 1949, when you led the communists to victory and established the People&#8217;s Republic of China on the mainland. [NEWLINE][NEWLINE]Your people are hardworking and willing to fight for dominance, and only you can lead them to greatness. Do you have what it takes to build a civilization that will stand the test of time?</DawnOfManQuote>
<DawnOfManImage>MaoDOM.dds</DawnOfManImage>
</Row>
</Civilizations>
<Civilization_CityNames>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Beijing</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Shanghai</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Guangzhou</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Nanjing</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Xian</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Chengdu</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Hangzhou</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Tianjin</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>TMacau</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Shandong</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Kaifeng</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Ningbo</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Baoding</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Yangzhou</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Haerbin</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Chongqing</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Loyang</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Kunming</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Taipei</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Shenyang</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Taiyuan</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Tainan</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Dalian</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Lijiang</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Wuxi</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Suzhou</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Maoming</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Shaoguan</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Yanjiang</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Heyuan</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Liaoning</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Hubei</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Gansu</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Huangshi</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Yichang</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Yingtan</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Xinyu</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Xinzheng</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Handan</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Dunhuang</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Gaoyu</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Nantong</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Wiefang</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<CityName>Xikang</CityName>
</Row>
</Civilization_CityNames>
<Civilization_FreeBuildingClasses>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
</Row>
</Civilization_FreeBuildingClasses>
<Civilization_FreeTechs>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<TechType>TECH_AGRICULTURE</TechType>
</Row>
</Civilization_FreeTechs>
<Civilization_FreeUnits>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
<Count>1</Count>
<UnitAIType>UNITAI_SETTLE</UnitAIType>
</Row>
</Civilization_FreeUnits>
<Civilization_Leaders>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<LeaderheadType>LEADER_MAO</LeaderheadType>
</Row>
</Civilization_Leaders>
<Civilization_Start_Region_Priority>
<Row>
<CivilizationType>CIVILIZATION_PRC</CivilizationType>
<RegionType>REGION_PLAINS</RegionType>
</Row>
</Civilization_Start_Region_Priority>

<Traits>
<Row>
<Type>TRAIT_NATIONAL_PRIDE</Type>
<Description>TXT_KEY_TRAIT_NATIONAL_Pride</Description>
<ShortDescription>TXT_KEY_TRAIT_NATIONAL_RPIDE_SHORT</ShortDescription>
<WorkerSpeedModifier>50</WorkerSpeedModifier>
</Row>
</Traits>

<Language_en_US>
<Row Tag="TXT_KEY_TRAIT_NATIONAL_PRIDE">
<Text>Workers complete improvements 50% faster.</Text>
</Row>
<Row Tag="TXT_KEY_TRAIT_NATIONAL_PRIDE_SHORT">
<Text>National Pride</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_MAO_HEADING_1">
<Text>History</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_MAO_TEXT_1">
<Text>
Mao Zedong was a Han Chinese revolutionary, political theorist and communist leader. He led the People's Republic of China (PRC) from its establishment in 1949 until his death in 1976. His theoretical contribution to Marxism-Leninism, military strategies, and his brand of Communist policies are now collectively known as Maoism.[NEWLINE][NEWLINE]
Mao remains a controversial figure to this day, with a contentious and ever-evolving legacy. He is officially held in high regard in China as a great revolutionary, political strategist, military mastermind, and saviour of the nation. Many Chinese also believe that through his policies, he laid the economic, technological and cultural foundations of modern China, transforming the country from an agrarian society into a major world power. Additionally, Mao is viewed as a poet, philosopher, and visionary, owing the latter primarily to the cult of personality fostered during his time in power. Mao's portrait continues to be featured prominently on Tiananmen and on all Renminbi bills. [NEWLINE][NEWLINE]
Conversely, Mao's social-political programs, such as the Great Leap Forward and the Cultural Revolution, are blamed for costing millions of lives, causing severe famine and damage to the culture, society and economy of China. Mao's policies and political purges from 1949 to 1976 are widely believed to have caused the deaths of between 40 to 70 million people. Since Deng Xiaoping assumed power in 1978, many Maoist policies have been abandoned in favour of economic reforms.
</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_MAO_LIVED">
<Text>1893 - 1976 AD</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_MAO_NAME">
<Text>Mao Zedong</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_MAO_SUBTITLE">
<Text>Chancellor of The People's Republic of China</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_MAO">
<Text>Mao Zedong</Text>
</Row>

<Row Tag="TXT_KEY_CIV5_PRC_HEADING_1">
<Text>History</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_PRC_HEADING_2">
<Text>The People's Republic of China</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_PRC_TEXT_1">
<Text>
The People's Republic of China (PRC), commonly known as China, is the most populous state in the world with over 1.3 billion people. Located in East Asia, China is governed by the Communist Party of China under a single-party system. The PRC exercises jurisdiction over 22 provinces, five autonomous regions, four directly administered municipalities (Beijing, Tianjin, Shanghai, and Chongqing), and two highly autonomous special administrative regions &#8211; Hong Kongand Macau. Its capital city is Beijing.[NEWLINE][NEWLINE]
At about 9.6 million square kilometres (3.7 million square miles), the PRC is the world's second largest by land area. Its landscape is diverse, with forest steppes and deserts (the Gobi and Taklamakan) in the dry north near Mongolia and Russia's Siberia, and subtropical forests in the wet south close to Vietnam, Laos, and Burma. The terrain in the west is rugged and at high altitude, with the Himalayas and the Tian Shan mountain ranges forming China's natural borders with India and Central Asia. In contrast, mainland China's eastern seaboard is low-lying and has a 14,500-kilometre (9,000 mi) long coastline bounded on the southeast by the South China Sea and on the east by the East China Sea beyond which lies Taiwan, Korea, and Japan. [NEWLINE][NEWLINE]
The ancient Chinese civilization&#8212;one of the world's earliest&#8212;flourished in the fertile basin of the Yellow River which flows through the North China Plain. For more than 6,000 years, China's political system was based on hereditary monarchies (also known as dynasties). The first of these dynasties was the Xia (approx 2000BC) but it was the later Qin Dynasty that first unified China in 221 BC. The last dynasty, the Qing, ended in 1911 with the founding of the Republic of China (ROC) by the Kuomintang (KMT), the Chinese Nationalist Party. The first half of the 20th century saw China plunged into a period of disunity and civil wars that divided the country into two main political camps &#8211; the Kuomintang and the communists. Major hostilities ended in 1949, when the communists won the civil war and established the People's Republic of China in mainland China. The KMT-led Republic of China relocated their capital to Taipei on Taiwan, its jurisdiction is now limited to Taiwan, Kinmen, Matsu and several outlying islands. Since then, the People's Republic of China (PRC) has been involved in political disputes with the Republic of China over issues of sovereignty and the political status of Taiwan. [NEWLINE][NEWLINE]
Since the introduction of market-based economic reforms in 1978, China has become the world's fastest growing major economy, the world's largest exporter andsecond largest importer of goods. China is the world's second largest economy by both nominal GDP and purchasing power parity (PPP) and a permanent memberof the United Nations Security Council. It is also a member of multilateral organizations including the WTO, APEC, BRIC, Shanghai Cooperation Organization, and G-20. China is a recognized nuclear weapons state and has the world's largest standing army with the second-largest defense budget. China has been characterized as a potential superpower by a number of academics, military analysts, and public policy and economics analysts.
</Text>
</Row>
</Language_en_US>

<Leaders>
<Row>
<Type>LEADER_MAO</Type>
<Description>Mao Zedong</Description>
<Civilopedia>
TXT_KEY_LEADER_MAO_PEDIA
</Civilopedia>
<CivilopediaTag>TXT_KEY_CIVILOPEDIA_MAO_ZEDONG</CivilopediaTag>
<ArtDefineTag>Washington_Scene.xml</ArtDefineTag>
<VictoryCompetitiveness>4</VictoryCompetitiveness>
<WonderCompetitiveness>3</WonderCompetitiveness>
<MinorCivCompetitiveness>5</MinorCivCompetitiveness>
<Boldness>7</Boldness>
<DiploBalance>6</DiploBalance>
<WarmongerHate>7</WarmongerHate>
<WorkAgainstWillingness>4</WorkAgainstWillingness>
<WorkWithWillingness>6</WorkWithWillingness>
<PortraitIndex>0</PortraitIndex>
<IconAtlas>LEADER_ATLAS</IconAtlas>
</Row>
</Leaders>
<Leader_MajorCivApproachBiases>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_WAR</MajorCivApproachType>
<Bias>8</Bias>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_HOSTILE</MajorCivApproachType>
<Bias>3</Bias>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_DECEPTIVE</MajorCivApproachType>
<Bias>7</Bias>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_GUARDED</MajorCivApproachType>
<Bias>6</Bias>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_AFRAID</MajorCivApproachType>
<Bias>4</Bias>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_FRIENDLY</MajorCivApproachType>
<Bias>7</Bias>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_NEUTRAL</MajorCivApproachType>
<Bias>5</Bias>
</Row>
</Leader_MajorCivApproachBiases>
<Leader_MinorCivApproachBiases>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_IGNORE</MinorCivApproachType>
<Bias>6</Bias>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_FRIENDLY</MinorCivApproachType>
<Bias>7</Bias>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_PROTECTIVE</MinorCivApproachType>
<Bias>5</Bias>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_CONQUEST</MinorCivApproachType>
<Bias>4</Bias>
</Row>
</Leader_MinorCivApproachBiases>
<Leader_Flavors>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_OFFENSE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_MILITARY_TRAINING</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_RECON</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_RANGED</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_MOBILE</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_NAVAL</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_NAVAL_RECON</FlavorType>
<Flavor>4</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_NAVAL_GROWTH</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_NAVAL_TILE_IMPROVEMENT</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_AIR</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<Flavor>7</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_GROWTH</FlavorType>
<Flavor>3</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_TILE_IMPROVEMENT</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_INFRASTRUCTURE</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_PRODUCTION</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_GOLD</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_SCIENCE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_HAPPINESS</FlavorType>
<Flavor>7</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_GREAT_PEOPLE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_WONDER</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_RELIGION</FlavorType>
<Flavor>4</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_DIPLOMACY</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_SPACESHIP</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<FlavorType>FLAVOR_WATER_CONNECTION</FlavorType>
<Flavor>5</Flavor>
</Row>
</Leader_Flavors>
<Leader_Traits>
<Row>
<LeaderType>LEADER_MAO</LeaderType>
<TraitType>TRAIT_NARIONAL_PRIDE</TraitType>
</Row>
</Leader_Traits>

</GameData>


Thanks guys.
 
Leader definition has: TRAIT_NARIONAL_PRIDE. There should have been an error to that effect in database.log.
 
Leader definition has: TRAIT_NARIONAL_PRIDE. There should have been an error to that effect in database.log.

Thanks! Didn't notice that, but it didn't fix it either :mad:

I checked the database (I'm assuming you're talking about the one that's in C:\Users\Benny\Documents\My Games\Sid Meier's Civilization 5\Logs) and it made not mention of the mod at all, which makes me wonder if it's loading properly... or at all.

Know anything that might cause this such as install directories or the action panel?

Spoiler :
[20193.752] Validating Foreign Key Constraints...
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_UNITEDSTATES" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_ARABIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_AZTECS" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_CHINA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_EGYPT" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_ENGLAND" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_FRANCE" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_GERMANY" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_GREECE" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_INDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_IROQUOIS" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_JAPAN" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_OTTOMAN" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_PERSIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_ROME" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_RUSSIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_SIAM" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_SONGHAI" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_AMERICA_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_ARABIA_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_AZTEC_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_CHINA_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_EGYPT_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_ENGLAND_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_FRANCE_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_GERMANY_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_GREECE_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_INDIA_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_IROQUOIS_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_JAPAN_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_OTTOMAN_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_PERSIA_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_ROME_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_RUSSIA_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_SIAM_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_SONGHAI_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_MINOR_PEDIA" does not exist in Language_en_US
[20193.767] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_BARBARIAN_PEDIA" does not exist in Language_en_US
[20193.783] Invalid Reference on Feature_YieldChanges.FeatureType - "FEATURE_RIVER" does not exist in Features
[20193.783] Invalid Reference on Feature_YieldChanges.FeatureType - "FEATURE_LAKE" does not exist in Features
[20193.783] Invalid Reference on Feature_YieldChanges.FeatureType - "FEATURE_LAKE" does not exist in Features
[20193.783] Failed Validation.
[20194.111]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 258296 2231456
PageCache: 2508 3483
LookAside: 26 1763
Scratch: 0 1

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

Largest Allocations:
Malloc: 65280
PageCache: 1160
Scratch: 4984

Prepared Statements:
Current: 3
------------------------------
 
Kael, others who know lots of things,

I have a scenario that now loads, but it always causes a crash to desktop on turn 2, once I begin playing it in Civ V. It is derived from a Civ IV map and has some holdover cities, improvements, etc...

Since your mod guide talks about debugging,
I checked the log files. I saw this for database.log :


Spoiler :
[76663.758] Validating Foreign Key Constraints...
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_UNITEDSTATES" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_ARABIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_AZTECS" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_CHINA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_EGYPT" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_ENGLAND" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_FRANCE" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_GERMANY" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_GREECE" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_INDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_IROQUOIS" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_JAPAN" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_OTTOMAN" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_PERSIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_ROME" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_RUSSIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_SIAM" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_SONGHAI" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_AMERICA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_ARABIA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_AZTEC_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_CHINA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_EGYPT_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_ENGLAND_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_FRANCE_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_GERMANY_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_GREECE_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_INDIA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_IROQUOIS_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_JAPAN_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_OTTOMAN_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_PERSIA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_ROME_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_RUSSIA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_SIAM_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_SONGHAI_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_MINOR_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_BARBARIAN_PEDIA" does not exist in Language_en_US
[76663.789] Invalid Reference on Feature_YieldChanges.FeatureType - "FEATURE_RIVER" does not exist in Features
[76663.789] Invalid Reference on Feature_YieldChanges.FeatureType - "FEATURE_LAKE" does not exist in Features
[76663.789] Invalid Reference on Feature_YieldChanges.FeatureType - "FEATURE_LAKE" does not exist in Features
[76663.805] Failed Validation.
[76664.242]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 258312 2231464
PageCache: 2439 3414
LookAside: 26 1763
Scratch: 0 1

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

Largest Allocations:
Malloc: 65280


I am kind of confused. My "mod" only contains the converted map/scenario...

What am I being told? The civilopedia doesn't work??? Or...?
FYI, in the CIV IV version, the Civ names were very different. But, I am also wondering if these were just the first errors that popped up, and then CTD occurred.

thanks!
-Zen Blade
 
Kael,

In BasicInfos there is a file called CIV5MemoryInfos.xml. Do you have any idea what this is? It has some generic schema at the top but no data at all. Here are its complete contents:

Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>

    <!-- Table definition -->
    <Table name="MemoryInfos">
        <Column name="ID" type="integer" primarykey="true" autoincrement="true" />
        <Column name="Type" type="text" notnull="true" unique="true" />
        <Column name="Description" type="text" />
    </Table>

    <!-- Table data -->
	<MemoryInfos/>
</GameData>
I've been pressing Dale on this in another thread but he doesn't know. I have three theories:
  1. It's not used at all.
  2. It's populated from another XML file that I haven't found.
  3. It provides the table structure for some kind of game-specific memory system. The table is populated "on the fly" (by Lua or dll) and its contents saved and reloaded with the gamesave file. This could be AI memory of events (e.g., betrayal by another civ) or, if it's really generic, any game-specific information at all (feats, chained events, whatever).
Just wishful thinking on my part, but I'm holding out for #3 because I really need a system like this for my mod concept. (If you know any other way to "remember" game specific events, without need for dll hacking, please let me know.)
 
Kael, others who know lots of things,

I have a scenario that now loads, but it always causes a crash to desktop on turn 2, once I begin playing it in Civ V. It is derived from a Civ IV map and has some holdover cities, improvements, etc...

Since your mod guide talks about debugging,
I checked the log files. I saw this for database.log :


Spoiler :
[76663.758] Validating Foreign Key Constraints...
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_UNITEDSTATES" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_ARABIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_AZTECS" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_CHINA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_EGYPT" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_ENGLAND" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_FRANCE" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_GERMANY" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_GREECE" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_INDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_IROQUOIS" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_JAPAN" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_OTTOMAN" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_PERSIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_ROME" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_RUSSIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_SIAM" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.CivilopediaTag - "TXT_KEY_CIV5_SONGHAI" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_AMERICA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_ARABIA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_AZTEC_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_CHINA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_EGYPT_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_ENGLAND_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_FRANCE_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_GERMANY_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_GREECE_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_INDIA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_IROQUOIS_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_JAPAN_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_OTTOMAN_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_PERSIA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_ROME_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_RUSSIA_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_SIAM_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_SONGHAI_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_MINOR_PEDIA" does not exist in Language_en_US
[76663.774] Invalid Reference on Civilizations.Civilopedia - "TXT_KEY_CIV_BARBARIAN_PEDIA" does not exist in Language_en_US
[76663.789] Invalid Reference on Feature_YieldChanges.FeatureType - "FEATURE_RIVER" does not exist in Features
[76663.789] Invalid Reference on Feature_YieldChanges.FeatureType - "FEATURE_LAKE" does not exist in Features
[76663.789] Invalid Reference on Feature_YieldChanges.FeatureType - "FEATURE_LAKE" does not exist in Features
[76663.805] Failed Validation.
[76664.242]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 258312 2231464
PageCache: 2439 3414
LookAside: 26 1763
Scratch: 0 1

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

Largest Allocations:
Malloc: 65280


I am kind of confused. My "mod" only contains the converted map/scenario...

What am I being told? The civilopedia doesn't work??? Or...?
FYI, in the CIV IV version, the Civ names were very different. But, I am also wondering if these were just the first errors that popped up, and then CTD occurred.

thanks!
-Zen Blade

Hi!

According to previous posters, everyone gets this error. It means nothing.

I myself get it, too, but it doesn't change anything at all.
 
To people having problems following the guide and not having their civs show up.

The Mod Guide is missing a few steps in regards to OnModActivate / UpdateDatabase. You have to include those for every xml file you want to include, which essentially includes all the ones mentioned in the guide. The Guide itself only reminds you to do this a couple of times, but assumes you know what you're doing on other occassions.
 
To people having problems following the guide and not having their civs show up.

The Mod Guide is missing a few steps in regards to OnModActivate / UpdateDatabase. You have to include those for every xml file you want to include, which essentially includes all the ones mentioned in the guide. The Guide itself only reminds you to do this a couple of times, but assumes you know what you're doing on other occassions.

Not that I dont appreciate the guide but can anyone post something for thoes of us who are brand new to modding and really need an idiots guide? I followed it as well as I could but its still not working for me. Rather then making a new Civ Id like to see how to do something really simple, like changing a units combat power or move rate. I saw the samurai example and understand it somewhat but I need to see a full out complete example like with the engineer specialist.

Its a very nice guide but I think its written for people who may have modded Civ 4 of have some knowlege, I'd like one just showing just how to do the most basic mods like your teaching your grand parents, so we can get a start and then move on to more advanced stuff later.

CrazyAce posted this:

<GameData>
<Units>
<Update>
<Set Moves="1"/>
<Where UnitType="UNIT_WARRIOR"/>
</Update>
</Units>
</GameData>

Kael said it looked good, so I copy and pasted it into my xml, I went to action, did OnModActivate, UpDateDatabase, and then where the file is located... loaded the mod, and it doesn't work.. I just don't get what to do.
 
Hi
I made a customize map, but no one can tell me how to use a customized map!!

Must all be made as mod to use it ??
 
Can somebody help me?

I did a modified version of the Celts in the Tutorial, And I finally got it to work. However almost everytime I load the mod to play the game, as soon as the game loads, it says I lose. There is Fog of War everywhere, and it says I was crushed by my foes. This happens even when I use civs other than the modded one.

Also is there a way to see the Civlopedea without starting a game? It'd make mod-checking much faster (and with that bug I mentioned earlier, possible).
 
Kael, since you had put what appears to be a warrior with a deer head & antlers hat on it to make the Gaelic unit, could you make a model creation tut? I'm having a bit of trouble importing my FBX model into Nexus.

Making my own unit model, I found out that the models need to be in the FBX format, which is no problem for me. I used Nexus to import it, and the model turns up pink (no texture). So I go into the Material Editor and press UnitShader then at Base TextureMap I select the DDS skin image (It's a DXT3 with alpha channel) and the material preview doesn't update or show the skin. I press Assign material to my unit, still nothing. Could someone help me here?

On top of this, I don't exactly know how to add animations to my unit if I'm suppose to do it with my modeler or with Nexus and I'm not sure if I would be able to use pre-existing animations either. If someone could just point me in the right direction or better yet make a tut on it, I would be very grateful.
 
Thanks for all the information provided. I redid my Mod from the start and added line after line until it stopped working to debug. Now i got 2 new buildings ingame and several changes to other aspects of the game... weee ;)

To all modders with problems out there:
The game doesnt tell you if anything in your mod is wrong (spelling-errors, missing "_" etc). It just won't load if any errors are encountered.

At the moment i got a little problem with my changes to the Watermill not showing up.

Here's my code:
Spoiler :

<Row>
<BuildingType>BUILDING_WATERMILL</BuildingType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>2</Yield>
</Row>
<Update>
<Set Yield="0" />
<Where BuildingType="BUILDING_WATERMILL" YieldType="YIELD_FOOD" />
</Update>


The food output is set to zero correctly but the production doesnt show anywhere in the ingame UI. Could it be a building can't have Production and Food output at the same time (altho food output is zero)?
I also tried playing around with <Delete /> a little but to no avail.
 
Top Bottom