Marcus_Virgil
Chieftain
- Joined
- Nov 23, 2012
- Messages
- 12
Hey, all. I've run through Kael's ModdersGuide and attempted to make my first civilization mod. I know it's a little outdated, but some research on the forums seemed to suggest that the only major change in this context was changing the false/true properties in the Import into VFS sections. In any case, I went through the guide step-by-step in order to make the kingdom of Dalmasca, in the vein of scotchandcake's Lindblum and Archadia mods. This being my first attempt, I'm sure I've missed things along the way, but I don't know what to look for or what to do in portions where the guide wasn't quite clear to me. I may have gone overboard by making the whole civilization before testing to see if it worked along the way, but hey. Anyway, the game crashed when I started the game with my civ selected, so I know there are at least a few things wrong.
Okay...here goes. Before I go further, I can tell you that, before the game crashed, the Leader name was in all caps and began with TXT_KEY(etc.), the portrait was still Elizabeth's, and the shield icon was America's. Also, I added new XML icons in ModBuddy using Gimp.
I'll list things in roughly the order that Kael's guide gives. First up is the Civ_Dalmasca.xml
I'm not sure if it matters that there's a space instead of an underscore in the photo file's name for the Dawn of Man Image (DalmascaAshelia 1024x768.dds); that's the way it's saved on my computer...
As a side note, should the FreeUnits section include the 'Battle Mage' unique unit since it replaces the Warrior?
Next is the GameText.xml
I'm afraid I don't know how to mod in the resource adjustments from the civ's unique trait; though, I may change the Food to 2 for balancing.
As stated above, I have the right number of icons (and various sizes): 32, 45, 64, 80, 128, 214, 256, and 1024x768 for the opening loading screen.
Next is the CIV5Leader_Ashelia B'nargin Dalmasca.xml
I'm not certain if the Portrait Index or the Atlas Icons are correct.
Here's the Traits.xml
That's all I've got so far, and I just found that there's a blank line in-between the bottom Traits and GameData, but I know there are other issues anyway. Regardless, I'm hoping someone can tell me how to create the proper traits of the Trait.
Then I added the unique unit in the CIV5Units.xml. I wanted it to replace the Warrior, have 2 more attack than a normal warrior, and have the Unit Attribute 'Heals at Double Rate'.
The Unit Art section in Kael's guide confused me a little, so I don't know about the placement/format, and I wasn't sure if the Text section belonged in this XML or in the GameText.xml.
Also, does the <Civilization_UnitClassOverrides> section belong here, or in the Civ_Dalmasca.xml?
Next I added a unique building. I expect this section is pretty messed up because I was looking back and forth between Kael's guide and Thadian's 'How to make a building: Entry level' post. I made two xmls, anyway. First is CIV5Buildings.xml
I basically copied Kael's Palisade example and removed the parts that seemed not to apply, but I'm certain it needs work.
Next is CIV5BuildingClasses.xml
I basically copied Thadian's post for this one, and I expect the two xmls are redundant in some way.
For the unique building, I'd originally wanted it to add the Aztec civilization trait of adding culture when enemy units were killed, but for now I tried to just make it add 3 culture.
Finally, I currently have 7 OnModActivated UpdateDatabase Actions: Civ_Dalmasca.xml, Traits.xml, GameText.xml, CIV5Leader_Ashelia B'nargin Dalmasca.xml, CIV5Units.xml, CIV5BuildingClasses.xml, and CIV5Buildings.xml
So, my first test told me that something in the code is definitely wrong. I'm more than a little lost from here, though. Would anyone be able to help me work out the problems and get this mod operational? Thanks.
Okay...here goes. Before I go further, I can tell you that, before the game crashed, the Leader name was in all caps and began with TXT_KEY(etc.), the portrait was still Elizabeth's, and the shield icon was America's. Also, I added new XML icons in ModBuddy using Gimp.
I'll list things in roughly the order that Kael's guide gives. First up is the Civ_Dalmasca.xml
Spoiler :
<GameData>
<Civilizations>
<Row>
<Type>CIVILIZATION_DALMASCA</Type>
<Description>TXT_KEY_CIV_DALMASCA_DESC</Description>
<ShortDescription>TXT_KEY_CIV_DALMASCA_SHORT_DESC</ShortDescription>
<Adjective>TXT_KEY_CIV_DALMASCA_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_CIV_DALMASCA_PEDIA</Civilopedia>
<CivilopediaTag>TXT_KEY_CIV5_DALMASCA</CivilopediaTag>
<DefaultPlayerColor>PLAYERCOLOR_YELLOW</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_DALMASCA</ArtDefineTag>
<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
<ArtStyleSuffix>_MED</ArtStyleSuffix>
<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
<PortraitIndex>0</PortraitIndex>
<IconAtlas>CIV_COLOR_ATLAS_LEGENDS</IconAtlas>
<AlphaIconAtlas>CIV_ALPHA_ATLAS</AlphaIconAtlas>
<MapImage>MapEngland512.dds</MapImage>
<DawnOfManQuote>TXT_KEY_CIV5_DALMASCA_TEXT_1</DawnOfManQuote>
<DawnOfManImage>DOM_DalmascaAshelia 1024x768.dds</DawnOfManImage>
</Row>
</Civilizations>
<Civilization_CityNames>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_RABANASTRE</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_NALBINA</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_BHUJERBA</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_JAHARA</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_NABUDIS</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_ERUYT</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_BUR-OMISACE</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_BALFONHEIM</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_GIRUVEGAN</CityName>
</Row>
</Civilization_CityNames>
<Civilization_FreeBuildingClasses>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
</Row>
</Civilization_FreeBuildingClasses>
<Civilization_FreeTechs>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<TechType>TECH_AGRICULTURE</TechType>
</Row>
</Civilization_FreeTechs>
<Civilization_FreeUnits>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
<Count>1</Count>
<UnitAIType>UNITAI_SETTLE</UnitAIType>
</Row>
</Civilization_FreeUnits>
<Civilization_Leaders>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<LeaderheadType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderheadType>
</Row>
</Civilization_Leaders>
<Civilization_Start_Region_Priority>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<RegionType>REGION_DESERT</RegionType>
</Row>
</Civilization_Start_Region_Priority>
<Civilization_UnitClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<UnitClassType>UNITCLASS_WARRIOR</UnitClassType>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
</Row>
</Civilization_UnitClassOverrides>
</GameData>
<Civilizations>
<Row>
<Type>CIVILIZATION_DALMASCA</Type>
<Description>TXT_KEY_CIV_DALMASCA_DESC</Description>
<ShortDescription>TXT_KEY_CIV_DALMASCA_SHORT_DESC</ShortDescription>
<Adjective>TXT_KEY_CIV_DALMASCA_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_CIV_DALMASCA_PEDIA</Civilopedia>
<CivilopediaTag>TXT_KEY_CIV5_DALMASCA</CivilopediaTag>
<DefaultPlayerColor>PLAYERCOLOR_YELLOW</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_DALMASCA</ArtDefineTag>
<ArtStyleType>ARTSTYLE_GRECO_ROMAN</ArtStyleType>
<ArtStyleSuffix>_MED</ArtStyleSuffix>
<ArtStylePrefix>MEDITERRANEAN</ArtStylePrefix>
<PortraitIndex>0</PortraitIndex>
<IconAtlas>CIV_COLOR_ATLAS_LEGENDS</IconAtlas>
<AlphaIconAtlas>CIV_ALPHA_ATLAS</AlphaIconAtlas>
<MapImage>MapEngland512.dds</MapImage>
<DawnOfManQuote>TXT_KEY_CIV5_DALMASCA_TEXT_1</DawnOfManQuote>
<DawnOfManImage>DOM_DalmascaAshelia 1024x768.dds</DawnOfManImage>
</Row>
</Civilizations>
<Civilization_CityNames>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_RABANASTRE</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_NALBINA</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_BHUJERBA</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_JAHARA</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_NABUDIS</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_ERUYT</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_BUR-OMISACE</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_BALFONHEIM</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_GIRUVEGAN</CityName>
</Row>
</Civilization_CityNames>
<Civilization_FreeBuildingClasses>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
</Row>
</Civilization_FreeBuildingClasses>
<Civilization_FreeTechs>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<TechType>TECH_AGRICULTURE</TechType>
</Row>
</Civilization_FreeTechs>
<Civilization_FreeUnits>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
<Count>1</Count>
<UnitAIType>UNITAI_SETTLE</UnitAIType>
</Row>
</Civilization_FreeUnits>
<Civilization_Leaders>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<LeaderheadType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderheadType>
</Row>
</Civilization_Leaders>
<Civilization_Start_Region_Priority>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<RegionType>REGION_DESERT</RegionType>
</Row>
</Civilization_Start_Region_Priority>
<Civilization_UnitClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_DALMASCA</CivilizationType>
<UnitClassType>UNITCLASS_WARRIOR</UnitClassType>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
</Row>
</Civilization_UnitClassOverrides>
</GameData>
I'm not sure if it matters that there's a space instead of an underscore in the photo file's name for the Dawn of Man Image (DalmascaAshelia 1024x768.dds); that's the way it's saved on my computer...
As a side note, should the FreeUnits section include the 'Battle Mage' unique unit since it replaces the Warrior?
Next is the GameText.xml
Spoiler :
<GameData>
<Language_en_US>
<Row Tag="TXT_KEY_CITY_NAME_RABANASTRE">
<Text>Rabanastre</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_NALBINA">
<Text>Nalbina</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_BHUJERBA">
<Text>Bhujerba</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_JAHARA">
<Text>Jahara</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_NABUDIS">
<Text>Nabudis</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_ERUYT">
<Text>Eruyt</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_BUR-OMISACE">
<Text>Bur-Omisace</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_BALFONHEIM">
<Text>Balfonheim</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_GIRUVEGAN">
<Text>Giruvegan</Text>
</Row>
<Row Tag="TXT_KEY_CIV_DALMASCA_ADJECTIVE">
<Text>Dalmascan</Text>
</Row>
<Row Tag="TXT_KEY_CIV_DALMASCA_DESC">
<Text>Kingdom of Dalmasca</Text>
</Row>
<Row Tag="TXT_KEY_CIV_DALMASCA_SHORT_DESC">
<Text>Dalmasca</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_DALMASCA_HEADING_1">
<Text>History</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_DALMASCA_TEXT_1">
<Text>Dalmasca is a small peaceful kingdom in Ivalice. Dalmasca is surrounded by the much larger states of Archadia and Rozarria which have warred with each other for quite some time. The royal family of Dalmasca are related to the Dynast King, Raithwall. One of the greatest treasures of the Dalmascan royal family is the piece of deifacted nethicite, the Dusk Shard, hidden in a statue in a hidden room deep within the Dalmascan Royal Palace of Rabanastre.</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_HEADING_1">
<Text>History</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_TEXT_1">
<Text>Ashe was raised as the Princess of Dalmasca, the ninth, last, and only daughter of the Dalmascan Royal Family. Her eight older brothers had died of illness or fallen in battle, making her the sole heir of her kingdom by the time of her marriage. She had a relatively easy early life, but was raised with the duties and responsibilities of her rank. Besides being raised in royal etiquette, Ashe was no stranger to the defensive arts.[NEWLINE][NEWLINE]Married at the age of seventeen to Lord Rasler of Nabradia, both Ashe and Rasler understood the marriage was intended to cement an alliance between Dalmasca and Nabradia against the conquering empire of Archadia. Ashe said she was "willing to play her part" in the marriage, and despite the political nature of it, both parties genuinely cared for each other. She was widowed shortly afterward, when Rasler was killed at the Battle of Nalbina Fortress. This devastated the Princess and also fueled her anger and hate towards the Archadian Empire. Not long after this, Archadia made a full-scale assault on Dalmasca. Though Raminas intended to surrender willingly - though reluctantly - to save his people, he was killed by Judge Gabranth - posing as his twin, Basch fon Ronsenburg - after signing a peace agreement with Archadia. Ashe's suicide was publicly announced by Bhujerba's ruler, Halim Ondore IV. Now unable to seek Ondore's aid, Ashe retreated underground and assumed the name Amalia. Vossler, a captain in the former Dalmascan army, joined her, and they formed the Resistance to try and win back Dalmasca's independence. The Resistance moved slowly, not winning any major victories or causing enough unrest to be notable until Vayne Solidor traveled to Dalmasca to assume his position as consul in the year 706.[NEWLINE][NEWLINE]In a long series of events following Vayne's arrival in Rabanstre, Ashe embarked on a journey across the lands of Ivalice, in the growing company of faithful subjects, friends, and sky pirates, in order to seek a means to remove the Archadian Empire's presence from her beloved kingdom. This journey culminated in a rejection of awesome yet enslaving magical power offered by the puppeteering gods called the Occuria, but nevertheless ended triumphantly in a battle in the skies above Rabanstre. Following Vayne Solidor's death in the conflict's climax, Ashe and Larsa Solidor sign a treaty, ending the war and restoring the kingdom of Dalmasca to its proper ruler. </Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_LIVED">
<Text>687- Old Valendia</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_NAME">
<Text>Ashelia B'nargin Dalmasca</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_SUBTITLE">
<Text>Princess of the Dalmascans</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_ASHELIA B'NARGIN DALMASCA">
<Text>Ashelia B'nargin Dalmasca</Text>
</Row>
<Row Tag="TXT_KEY_TRAIT_DESERT_DWELLERS">
<Text>Desert tiles give one additional [ICON_FOOD] Food, desert hills give one additional [ICON_PRODUCTION] Production, and flood plains give one additional [ICON_GOLD] Gold.</Text>
</Row>
<Row Tag="TXT_KEY_TRAIT_DESERT_DWELLERS_SHORT">
<Text>Desert Dwellers</Text>
</Row>
</Language_en_US>
</GameData>
<Language_en_US>
<Row Tag="TXT_KEY_CITY_NAME_RABANASTRE">
<Text>Rabanastre</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_NALBINA">
<Text>Nalbina</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_BHUJERBA">
<Text>Bhujerba</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_JAHARA">
<Text>Jahara</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_NABUDIS">
<Text>Nabudis</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_ERUYT">
<Text>Eruyt</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_BUR-OMISACE">
<Text>Bur-Omisace</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_BALFONHEIM">
<Text>Balfonheim</Text>
</Row>
<Row Tag="TXT_KEY_CITY_NAME_GIRUVEGAN">
<Text>Giruvegan</Text>
</Row>
<Row Tag="TXT_KEY_CIV_DALMASCA_ADJECTIVE">
<Text>Dalmascan</Text>
</Row>
<Row Tag="TXT_KEY_CIV_DALMASCA_DESC">
<Text>Kingdom of Dalmasca</Text>
</Row>
<Row Tag="TXT_KEY_CIV_DALMASCA_SHORT_DESC">
<Text>Dalmasca</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_DALMASCA_HEADING_1">
<Text>History</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_DALMASCA_TEXT_1">
<Text>Dalmasca is a small peaceful kingdom in Ivalice. Dalmasca is surrounded by the much larger states of Archadia and Rozarria which have warred with each other for quite some time. The royal family of Dalmasca are related to the Dynast King, Raithwall. One of the greatest treasures of the Dalmascan royal family is the piece of deifacted nethicite, the Dusk Shard, hidden in a statue in a hidden room deep within the Dalmascan Royal Palace of Rabanastre.</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_HEADING_1">
<Text>History</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_TEXT_1">
<Text>Ashe was raised as the Princess of Dalmasca, the ninth, last, and only daughter of the Dalmascan Royal Family. Her eight older brothers had died of illness or fallen in battle, making her the sole heir of her kingdom by the time of her marriage. She had a relatively easy early life, but was raised with the duties and responsibilities of her rank. Besides being raised in royal etiquette, Ashe was no stranger to the defensive arts.[NEWLINE][NEWLINE]Married at the age of seventeen to Lord Rasler of Nabradia, both Ashe and Rasler understood the marriage was intended to cement an alliance between Dalmasca and Nabradia against the conquering empire of Archadia. Ashe said she was "willing to play her part" in the marriage, and despite the political nature of it, both parties genuinely cared for each other. She was widowed shortly afterward, when Rasler was killed at the Battle of Nalbina Fortress. This devastated the Princess and also fueled her anger and hate towards the Archadian Empire. Not long after this, Archadia made a full-scale assault on Dalmasca. Though Raminas intended to surrender willingly - though reluctantly - to save his people, he was killed by Judge Gabranth - posing as his twin, Basch fon Ronsenburg - after signing a peace agreement with Archadia. Ashe's suicide was publicly announced by Bhujerba's ruler, Halim Ondore IV. Now unable to seek Ondore's aid, Ashe retreated underground and assumed the name Amalia. Vossler, a captain in the former Dalmascan army, joined her, and they formed the Resistance to try and win back Dalmasca's independence. The Resistance moved slowly, not winning any major victories or causing enough unrest to be notable until Vayne Solidor traveled to Dalmasca to assume his position as consul in the year 706.[NEWLINE][NEWLINE]In a long series of events following Vayne's arrival in Rabanstre, Ashe embarked on a journey across the lands of Ivalice, in the growing company of faithful subjects, friends, and sky pirates, in order to seek a means to remove the Archadian Empire's presence from her beloved kingdom. This journey culminated in a rejection of awesome yet enslaving magical power offered by the puppeteering gods called the Occuria, but nevertheless ended triumphantly in a battle in the skies above Rabanstre. Following Vayne Solidor's death in the conflict's climax, Ashe and Larsa Solidor sign a treaty, ending the war and restoring the kingdom of Dalmasca to its proper ruler. </Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_LIVED">
<Text>687- Old Valendia</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_NAME">
<Text>Ashelia B'nargin Dalmasca</Text>
</Row>
<Row Tag="TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA_SUBTITLE">
<Text>Princess of the Dalmascans</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_ASHELIA B'NARGIN DALMASCA">
<Text>Ashelia B'nargin Dalmasca</Text>
</Row>
<Row Tag="TXT_KEY_TRAIT_DESERT_DWELLERS">
<Text>Desert tiles give one additional [ICON_FOOD] Food, desert hills give one additional [ICON_PRODUCTION] Production, and flood plains give one additional [ICON_GOLD] Gold.</Text>
</Row>
<Row Tag="TXT_KEY_TRAIT_DESERT_DWELLERS_SHORT">
<Text>Desert Dwellers</Text>
</Row>
</Language_en_US>
</GameData>
I'm afraid I don't know how to mod in the resource adjustments from the civ's unique trait; though, I may change the Food to 2 for balancing.
As stated above, I have the right number of icons (and various sizes): 32, 45, 64, 80, 128, 214, 256, and 1024x768 for the opening loading screen.
Next is the CIV5Leader_Ashelia B'nargin Dalmasca.xml
Spoiler :
<GameData>
<Leaders>
<Row>
<Type>LEADER_ASHELIA B'NARGIN DALMASCA</Type>
<Description>TXT_KEY_LEADER_ASHELIA B'NARGIN DALMASCA</Description>
<Civilopedia>TXT_KEY_LEADER_ASHELIA B'NARGIN DALMASCA_PEDIA</Civilopedia>
<CivilopediaTag>TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA</CivilopediaTag>
<ArtDefineTag>Elizabeth_Scene.xml</ArtDefineTag>
<VictoryCompetitiveness>7</VictoryCompetitiveness>
<WonderCompetitiveness>5</WonderCompetitiveness>
<MinorCivCompetitiveness>3</MinorCivCompetitiveness>
<Boldness>6</Boldness>
<DiploBalance>5</DiploBalance>
<WarmongerHate>6</WarmongerHate>
<WorkAgainstWillingness>4</WorkAgainstWillingness>
<WorkWithWillingness>7</WorkWithWillingness>
<PortraitIndex>6</PortraitIndex>
<IconAtlas>LEADER_ATLAS</IconAtlas>
</Row>
</Leaders>
<Leader_MajorCivApproachBiases>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_WAR</MajorCivApproachType>
<Bias>4</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_HOSTILE</MajorCivApproachType>
<Bias>4</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_DECEPTIVE</MajorCivApproachType>
<Bias>4</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_GUARDED</MajorCivApproachType>
<Bias>5</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_AFRAID</MajorCivApproachType>
<Bias>3</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_FRIENDLY</MajorCivApproachType>
<Bias>7</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_NEUTRAL</MajorCivApproachType>
<Bias>5</Bias>
</Row>
</Leader_MajorCivApproachBiases>
<Leader_MinorCivApproachBiases>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_IGNORE</MinorCivApproachType>
<Bias>6</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_FRIENDLY</MinorCivApproachType>
<Bias>7</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_PROTECTIVE</MinorCivApproachType>
<Bias>5</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_CONQUEST</MinorCivApproachType>
<Bias>4</Bias>
</Row>
</Leader_MinorCivApproachBiases>
<Leader_Flavors>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_OFFENSE</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_MILITARY_TRAINING</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_RECON</FlavorType>
<Flavor>7</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_RANGED</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_MOBILE</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_NAVAL</FlavorType>
<Flavor>3</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_NAVAL_RECON</FlavorType>
<Flavor>4</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_NAVAL_GROWTH</FlavorType>
<Flavor>4</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_NAVAL_TILE_IMPROVEMENT</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_AIR</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_GROWTH</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_TILE_IMPROVEMENT</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_INFRASTRUCTURE</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_PRODUCTION</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_GOLD</FlavorType>
<Flavor>3</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_SCIENCE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<Flavor>7</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_HAPPINESS</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_GREAT_PEOPLE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_WONDER</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_RELIGION</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_DIPLOMACY</FlavorType>
<Flavor>7</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_SPACESHIP</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_WATER_CONNECTION</FlavorType>
<Flavor>6</Flavor>
</Row>
</Leader_Flavors>
<Leader_Traits>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<TraitType>TRAIT_DESERT_DWELLERS</TraitType>
</Row>
</Leader_Traits>
</GameData>
<Leaders>
<Row>
<Type>LEADER_ASHELIA B'NARGIN DALMASCA</Type>
<Description>TXT_KEY_LEADER_ASHELIA B'NARGIN DALMASCA</Description>
<Civilopedia>TXT_KEY_LEADER_ASHELIA B'NARGIN DALMASCA_PEDIA</Civilopedia>
<CivilopediaTag>TXT_KEY_CIVILOPEDIA_LEADERS_ASHELIA B'NARGIN DALMASCA</CivilopediaTag>
<ArtDefineTag>Elizabeth_Scene.xml</ArtDefineTag>
<VictoryCompetitiveness>7</VictoryCompetitiveness>
<WonderCompetitiveness>5</WonderCompetitiveness>
<MinorCivCompetitiveness>3</MinorCivCompetitiveness>
<Boldness>6</Boldness>
<DiploBalance>5</DiploBalance>
<WarmongerHate>6</WarmongerHate>
<WorkAgainstWillingness>4</WorkAgainstWillingness>
<WorkWithWillingness>7</WorkWithWillingness>
<PortraitIndex>6</PortraitIndex>
<IconAtlas>LEADER_ATLAS</IconAtlas>
</Row>
</Leaders>
<Leader_MajorCivApproachBiases>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_WAR</MajorCivApproachType>
<Bias>4</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_HOSTILE</MajorCivApproachType>
<Bias>4</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_DECEPTIVE</MajorCivApproachType>
<Bias>4</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_GUARDED</MajorCivApproachType>
<Bias>5</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_AFRAID</MajorCivApproachType>
<Bias>3</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_FRIENDLY</MajorCivApproachType>
<Bias>7</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MajorCivApproachType>MAJOR_CIV_APPROACH_NEUTRAL</MajorCivApproachType>
<Bias>5</Bias>
</Row>
</Leader_MajorCivApproachBiases>
<Leader_MinorCivApproachBiases>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_IGNORE</MinorCivApproachType>
<Bias>6</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_FRIENDLY</MinorCivApproachType>
<Bias>7</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_PROTECTIVE</MinorCivApproachType>
<Bias>5</Bias>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<MinorCivApproachType>MINOR_CIV_APPROACH_CONQUEST</MinorCivApproachType>
<Bias>4</Bias>
</Row>
</Leader_MinorCivApproachBiases>
<Leader_Flavors>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_OFFENSE</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_CITY_DEFENSE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_MILITARY_TRAINING</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_RECON</FlavorType>
<Flavor>7</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_RANGED</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_MOBILE</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_NAVAL</FlavorType>
<Flavor>3</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_NAVAL_RECON</FlavorType>
<Flavor>4</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_NAVAL_GROWTH</FlavorType>
<Flavor>4</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_NAVAL_TILE_IMPROVEMENT</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_AIR</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_EXPANSION</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_GROWTH</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_TILE_IMPROVEMENT</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_INFRASTRUCTURE</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_PRODUCTION</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_GOLD</FlavorType>
<Flavor>3</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_SCIENCE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<Flavor>7</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_HAPPINESS</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_GREAT_PEOPLE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_WONDER</FlavorType>
<Flavor>5</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_RELIGION</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_DIPLOMACY</FlavorType>
<Flavor>7</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_SPACESHIP</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<FlavorType>FLAVOR_WATER_CONNECTION</FlavorType>
<Flavor>6</Flavor>
</Row>
</Leader_Flavors>
<Leader_Traits>
<Row>
<LeaderType>LEADER_ASHELIA B'NARGIN DALMASCA</LeaderType>
<TraitType>TRAIT_DESERT_DWELLERS</TraitType>
</Row>
</Leader_Traits>
</GameData>
I'm not certain if the Portrait Index or the Atlas Icons are correct.
Here's the Traits.xml
Spoiler :
<GameData>
<Traits>
<Row>
<Type>TRAIT_DESERT_DWELLERS</Type>
<Description>TXT_KEY_TRAIT_DESERT_DWELLERS</Description>
<ShortDescription>TXT_KEY_TRAIT_DESERT_DWELLERS_SHORT</ShortDescription>
</Row>
</Traits>
</GameData>
<Traits>
<Row>
<Type>TRAIT_DESERT_DWELLERS</Type>
<Description>TXT_KEY_TRAIT_DESERT_DWELLERS</Description>
<ShortDescription>TXT_KEY_TRAIT_DESERT_DWELLERS_SHORT</ShortDescription>
</Row>
</Traits>
</GameData>
That's all I've got so far, and I just found that there's a blank line in-between the bottom Traits and GameData, but I know there are other issues anyway. Regardless, I'm hoping someone can tell me how to create the proper traits of the Trait.
Then I added the unique unit in the CIV5Units.xml. I wanted it to replace the Warrior, have 2 more attack than a normal warrior, and have the Unit Attribute 'Heals at Double Rate'.
Spoiler :
<GameData>
<Units>
<Row>
<Class>UNITCLASS_WARRIOR</Class>
<Type>UNIT_BATTLE_MAGE</Type>
<Combat>10</Combat>
<Cost>40</Cost>
<Moves>2</Moves>
<CombatClass>UNITCOMBAT_MELEE</CombatClass>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_ATTACK</DefaultUnitAI>
<Description>TXT_KEY_UNIT_BATTLE_MAGE</Description>
<Civilopedia>TXT_KEY_CIV5_ANTIQUITY_WARRIOR_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_WARRIOR_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_BATTLE_MAGE</Help>
<MilitarySupport>true</MilitarySupport>
<MilitaryProduction>true</MilitaryProduction>
<Pillage>true</Pillage>
<ObsoleteTech>TECH_METAL_CASTING</ObsoleteTech>
<GoodyHutUpgradeUnitClass>UNITCLASS_SPEARMAN</GoodyHutUpgradeUnitClass>
<AdvancedStartCost>10</AdvancedStartCost>
<XPValueAttack>3</XPValueAttack>
<XPValueDefense>3</XPValueDefense>
<Conscription>1</Conscription>
<UnitArtInfo>ART_DEF_UNIT_BATTLE_MAGE</UnitArtInfo>
<UnitFlagIconOffset>3</UnitFlagIconOffset>
<IconAtlas>UNIT_ATLAS_1</IconAtlas>
<PortraitIndex>3</PortraitIndex>
</Row>
</Units>
<Unit_FreePromotions>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<PromotionType>PROMOTION_HEALS_AT_DOUBLE_RATE</PromotionType>
</Row>
</Unit_FreePromotions>
<Unit_AITypes>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<UnitAIType>UNITAI_ATTACK</UnitAIType>
</Row>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<UnitAIType>UNITAI_DEFENSE</UnitAIType>
</Row>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<UnitAIType>UNITAI_EXPLORE</UnitAIType>
</Row>
</Unit_AITypes>
<Unit_ClassUpgrades>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<UnitClassType>UNITCLASS_SWORDSMAN</UnitClassType>
</Row>
</Unit_ClassUpgrades>
<Unit_Flavors>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<FlavorType>FLAVOR_RECON</FlavorType>
<Flavor>1</Flavor>
</Row>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<FlavorType>FLAVOR_OFFENSE</FlavorType>
<Flavor>2</Flavor>
</Row>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<Flavor>2</Flavor>
</Row>
</Unit_Flavors>
<UnitMemberArtInfo>
<Type>ART_DEF_UNIT_MEMBER_WARRIOR</Type>
<fScale>0.14</fScale>
<Granny>Assets/Units/Warrior/Warrior.fxsxml</Granny>
<Combat>
<Defaults>ART_DEF_TEMPLATE_WARRIOR</Defaults
</Combat>
<MaterialTypeTag>CLOTH</MaterialTypeTag>
<MaterialTypeSoundOverrideTag>FLESH</MaterialTypeSoundOverrideTag>
</UnitMemberArtInfo>
<Row Tag="TXT_KEY_UNIT_BATTLE_MAGE">
<Text>Battle Mage</Text>
</Row>
<Language_en_US>
<Row Tag="TXT_KEY_UNIT_HELP_BATTLE_MAGE">
<Text>This unit's healing magic keeps it fighting on the frontlines.</Text>
</Row>
</Language_en_US>
</GameData>
<Units>
<Row>
<Class>UNITCLASS_WARRIOR</Class>
<Type>UNIT_BATTLE_MAGE</Type>
<Combat>10</Combat>
<Cost>40</Cost>
<Moves>2</Moves>
<CombatClass>UNITCOMBAT_MELEE</CombatClass>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_ATTACK</DefaultUnitAI>
<Description>TXT_KEY_UNIT_BATTLE_MAGE</Description>
<Civilopedia>TXT_KEY_CIV5_ANTIQUITY_WARRIOR_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_WARRIOR_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_BATTLE_MAGE</Help>
<MilitarySupport>true</MilitarySupport>
<MilitaryProduction>true</MilitaryProduction>
<Pillage>true</Pillage>
<ObsoleteTech>TECH_METAL_CASTING</ObsoleteTech>
<GoodyHutUpgradeUnitClass>UNITCLASS_SPEARMAN</GoodyHutUpgradeUnitClass>
<AdvancedStartCost>10</AdvancedStartCost>
<XPValueAttack>3</XPValueAttack>
<XPValueDefense>3</XPValueDefense>
<Conscription>1</Conscription>
<UnitArtInfo>ART_DEF_UNIT_BATTLE_MAGE</UnitArtInfo>
<UnitFlagIconOffset>3</UnitFlagIconOffset>
<IconAtlas>UNIT_ATLAS_1</IconAtlas>
<PortraitIndex>3</PortraitIndex>
</Row>
</Units>
<Unit_FreePromotions>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<PromotionType>PROMOTION_HEALS_AT_DOUBLE_RATE</PromotionType>
</Row>
</Unit_FreePromotions>
<Unit_AITypes>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<UnitAIType>UNITAI_ATTACK</UnitAIType>
</Row>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<UnitAIType>UNITAI_DEFENSE</UnitAIType>
</Row>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<UnitAIType>UNITAI_EXPLORE</UnitAIType>
</Row>
</Unit_AITypes>
<Unit_ClassUpgrades>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<UnitClassType>UNITCLASS_SWORDSMAN</UnitClassType>
</Row>
</Unit_ClassUpgrades>
<Unit_Flavors>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<FlavorType>FLAVOR_RECON</FlavorType>
<Flavor>1</Flavor>
</Row>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<FlavorType>FLAVOR_OFFENSE</FlavorType>
<Flavor>2</Flavor>
</Row>
<Row>
<UnitType>UNIT_BATTLE_MAGE</UnitType>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<Flavor>2</Flavor>
</Row>
</Unit_Flavors>
<UnitMemberArtInfo>
<Type>ART_DEF_UNIT_MEMBER_WARRIOR</Type>
<fScale>0.14</fScale>
<Granny>Assets/Units/Warrior/Warrior.fxsxml</Granny>
<Combat>
<Defaults>ART_DEF_TEMPLATE_WARRIOR</Defaults
</Combat>
<MaterialTypeTag>CLOTH</MaterialTypeTag>
<MaterialTypeSoundOverrideTag>FLESH</MaterialTypeSoundOverrideTag>
</UnitMemberArtInfo>
<Row Tag="TXT_KEY_UNIT_BATTLE_MAGE">
<Text>Battle Mage</Text>
</Row>
<Language_en_US>
<Row Tag="TXT_KEY_UNIT_HELP_BATTLE_MAGE">
<Text>This unit's healing magic keeps it fighting on the frontlines.</Text>
</Row>
</Language_en_US>
</GameData>
The Unit Art section in Kael's guide confused me a little, so I don't know about the placement/format, and I wasn't sure if the Text section belonged in this XML or in the GameText.xml.
Also, does the <Civilization_UnitClassOverrides> section belong here, or in the Civ_Dalmasca.xml?
Next I added a unique building. I expect this section is pretty messed up because I was looking back and forth between Kael's guide and Thadian's 'How to make a building: Entry level' post. I made two xmls, anyway. First is CIV5Buildings.xml
Spoiler :
<GameData>
<Buildings>
<Row>
<Type>BUILDING_CLAN_CENTURIO_HEADQUARTERS</Type>
<BuildingClass>BUILDINGCLASS_CLAN_CENTURIO_HEADQUARTERS</BuildingClass>
<Cost>120</Cost>
<GoldMaintenance>1</GoldMaintenance>
<Help>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_HELP</Help>
<Description>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_CLAN_CENTURIO_HEADQUARTERS_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_STRATEGY</Strategy>
<ArtDefineTag>ART_DEF_BUILDING_BARRACKS</ArtDefineTag>
<MaxStartEra>ERA_MEDIEVAL</MaxStartEra>
<MinAreaSize>-1</MinAreaSize>
<HurryCostModifier>25</HurryCostModifier>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<NeverCapture>true</NeverCapture>
<PortraitIndex>32</PortraitIndex>
</Row>
</Buildings>
</GameData>
<Buildings>
<Row>
<Type>BUILDING_CLAN_CENTURIO_HEADQUARTERS</Type>
<BuildingClass>BUILDINGCLASS_CLAN_CENTURIO_HEADQUARTERS</BuildingClass>
<Cost>120</Cost>
<GoldMaintenance>1</GoldMaintenance>
<Help>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_HELP</Help>
<Description>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_CLAN_CENTURIO_HEADQUARTERS_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_STRATEGY</Strategy>
<ArtDefineTag>ART_DEF_BUILDING_BARRACKS</ArtDefineTag>
<MaxStartEra>ERA_MEDIEVAL</MaxStartEra>
<MinAreaSize>-1</MinAreaSize>
<HurryCostModifier>25</HurryCostModifier>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<NeverCapture>true</NeverCapture>
<PortraitIndex>32</PortraitIndex>
</Row>
</Buildings>
</GameData>
I basically copied Kael's Palisade example and removed the parts that seemed not to apply, but I'm certain it needs work.
Next is CIV5BuildingClasses.xml
Spoiler :
<GameData>
<BuildingClasses>
<Row>
<Type>BUILDINGCLASS_CLAN_CENTURIO_HEADQUARTERS</Type>
<DefaultBuilding>BUILDING_CLAN_CENTURIO_HEADQUARTERS</DefaultBuilding>
<Description>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS</Description>
</Row>
</BuildingClasses>
<Buildings>
<Row>
<Type>BUILDING_CLAN_CENTURIO_HEADQUARTERS</Type>
<BuildingClass>BUILDINGCLASS_CLAN_CENTURIO_HEADQUARTERS</BuildingClass>
<Cost>120</Cost>
<GoldMaintenance>1</GoldMaintenance>
<Description>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_CLAN_CENTURIO_HEADQUARTERS_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_STRATEGY</Strategy>
<Help>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_HELP</Help>
<ArtDefineTag>ART_DEF_BUILDING_CLAN_CENTURIO_HEADQUARTERS</ArtDefineTag>
<MinAreaSize>-1</MinAreaSize>
<Culture>3</Culture>
<ConquestProb>66</ConquestProb>
<HurryCostModifier>25</HurryCostModifier>
<NeverCapture>true</NeverCapture>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<PortraitIndex>19</PortraitIndex>
</Row>
</Buildings>
<Building_ClassesNeededInCity>
<Row>
<BuildingType>BUILDING_CLAN_CENTURIO_HEADQUARTERS</BuildingType>
<BuildingClassType>BUILDINGCLASS_BARRACKS</BuildingClassType>
</Row>
</Building_ClassesNeededInCity>
<Building_Flavors>
<BuildingType>BUILDING_CLAN_CENTURIO_HEADQUARTERS</BuildingType>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<Flavor>7</Flavor>
</Building_Flavors>
<Language_en_US>
<Row Tag="TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS">
<Text>Clan Centurio Headquarters</Text>
</Row>
<Row Tag="TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_STRATEGY">
<Text>Clan Centurio Headquarters allows Culture to be gained from each enemy unit killed. Requires a Barracks.</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_BUILDINGS_CLAN_CENTURIO_HEADQUARTERS_TEXT">
<Text>Clan Centurio is an independent organization dedicated to the hunting of marks. The victory of its members in deadly combat adds prestige and glory to the clan's reputation, as well as the kingdom's.</Text>
</Row>
</Language_en_US>
</GameData>
<BuildingClasses>
<Row>
<Type>BUILDINGCLASS_CLAN_CENTURIO_HEADQUARTERS</Type>
<DefaultBuilding>BUILDING_CLAN_CENTURIO_HEADQUARTERS</DefaultBuilding>
<Description>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS</Description>
</Row>
</BuildingClasses>
<Buildings>
<Row>
<Type>BUILDING_CLAN_CENTURIO_HEADQUARTERS</Type>
<BuildingClass>BUILDINGCLASS_CLAN_CENTURIO_HEADQUARTERS</BuildingClass>
<Cost>120</Cost>
<GoldMaintenance>1</GoldMaintenance>
<Description>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_CLAN_CENTURIO_HEADQUARTERS_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_STRATEGY</Strategy>
<Help>TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_HELP</Help>
<ArtDefineTag>ART_DEF_BUILDING_CLAN_CENTURIO_HEADQUARTERS</ArtDefineTag>
<MinAreaSize>-1</MinAreaSize>
<Culture>3</Culture>
<ConquestProb>66</ConquestProb>
<HurryCostModifier>25</HurryCostModifier>
<NeverCapture>true</NeverCapture>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<PortraitIndex>19</PortraitIndex>
</Row>
</Buildings>
<Building_ClassesNeededInCity>
<Row>
<BuildingType>BUILDING_CLAN_CENTURIO_HEADQUARTERS</BuildingType>
<BuildingClassType>BUILDINGCLASS_BARRACKS</BuildingClassType>
</Row>
</Building_ClassesNeededInCity>
<Building_Flavors>
<BuildingType>BUILDING_CLAN_CENTURIO_HEADQUARTERS</BuildingType>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<Flavor>7</Flavor>
</Building_Flavors>
<Language_en_US>
<Row Tag="TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS">
<Text>Clan Centurio Headquarters</Text>
</Row>
<Row Tag="TXT_KEY_BUILDING_CLAN_CENTURIO_HEADQUARTERS_STRATEGY">
<Text>Clan Centurio Headquarters allows Culture to be gained from each enemy unit killed. Requires a Barracks.</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_BUILDINGS_CLAN_CENTURIO_HEADQUARTERS_TEXT">
<Text>Clan Centurio is an independent organization dedicated to the hunting of marks. The victory of its members in deadly combat adds prestige and glory to the clan's reputation, as well as the kingdom's.</Text>
</Row>
</Language_en_US>
</GameData>
I basically copied Thadian's post for this one, and I expect the two xmls are redundant in some way.
For the unique building, I'd originally wanted it to add the Aztec civilization trait of adding culture when enemy units were killed, but for now I tried to just make it add 3 culture.
Finally, I currently have 7 OnModActivated UpdateDatabase Actions: Civ_Dalmasca.xml, Traits.xml, GameText.xml, CIV5Leader_Ashelia B'nargin Dalmasca.xml, CIV5Units.xml, CIV5BuildingClasses.xml, and CIV5Buildings.xml
So, my first test told me that something in the code is definitely wrong. I'm more than a little lost from here, though. Would anyone be able to help me work out the problems and get this mod operational? Thanks.