Custom Improvements

Sebitudoreci

Chieftain
Joined
Jul 21, 2016
Messages
18
Location
Romania
Hello, I'd like to add custom improvements to my mod, but I'm stuck by the fact that I don't know where to find the references to the improvements icons.

for example this works:
Spoiler :

<Improvements>
<Row>
<Type>IMPROVEMENT_TULLY_POLDER</Type>
<Description>TXT_KEY_IMPROVEMENT_TULLY_POLDER</Description>
<Civilopedia>TXT_KEY_CIV5_IMPROVEMENTS_TULLY_POLDER_TEXT</Civilopedia>
<Help>TXT_KEY_CIV5_IMPROVEMENTS_TULLY_POLDER_HELP</Help>
<ArtDefineTag>ART_DEF_IMPROVEMENT_POLDER</ArtDefineTag>
<RiverSideMakesValid>true</RiverSideMakesValid>
<SpecificCivRequired>true</SpecificCivRequired>
<CivilizationType>CIVILIZATION_TULLY</CivilizationType>
<RequiresFlatlands>true</RequiresFlatlands>
<PillageGold>18</PillageGold>
<PortraitIndex>0</PortraitIndex>
<IconAtlas>EXPANSION_TERRAIN_ATLAS</IconAtlas>
</Row>
....
</Improvements>
<Builds>
<Row>
<Type>BUILD_TULLY_POLDER</Type>
<PrereqTech>TECH_AGRICULTURE</PrereqTech>
<Time>700</Time>
<ImprovementType>IMPROVEMENT_TULLY_POLDER</ImprovementType>
<Description>TXT_KEY_BUILD_TULLY_POLDER</Description>
<Help>TXT_KEY_CIV5_IMPROVEMENTS_TULLY_POLDER_HELP</Help>
<Recommendation>TXT_KEY_BUILD_PRO_REC</Recommendation>
<EntityEvent>ENTITY_EVENT_IRRIGATE</EntityEvent>
<HotKey>KB_E</HotKey>
<OrderPriority>97</OrderPriority>
<IconIndex>0</IconIndex>
<IconAtlas>EXPANSION_UNIT_ACTION_ATLAS</IconAtlas>
</Row>
....
</Builds>


While this doesn't
Spoiler :

<Improvements>
<Row>
<Type>IMPROVEMENT_SLAVE_CAMP</Type>
<Description>TXT_KEY_IMPROVEMENT_SLAVE_CAMP</Description>
<Civilopedia>TXT_KEY_CIV5_IMPROVEMENTS_SLAVE_CAMP_TEXT</Civilopedia>
<Help>TXT_KEY_CIV5_IMPROVEMENTS_SLAVE_CAMP_HELP</Help>
<ArtDefineTag>ART_DEF_IMPROVEMENT_BRAZILWOOD_CAMP</ArtDefineTag>
<SpecificCivRequired>true</SpecificCivRequired>
<CivilizationType>CIVILIZATION_TARGARYEN</CivilizationType>
<RequiresFeature>true</RequiresFeature>
<PillageGold>10</PillageGold>
<PortraitIndex>1</PortraitIndex>
<IconAtlas>TERRAIN_IMPROVEMENT_ICON_ATLAS_EXP2</IconAtlas>
</Row>
....
</Improvements>
<Builds>
<Row>
<Type>BUILD_SLAVE_CAMP</Type>
<PrereqTech>TECH_CONSTRUCTION</PrereqTech>
<Time>700</Time>
<ImprovementType>IMPROVEMENT_SLAVE_CAMP</ImprovementType>
<Description>TXT_KEY_BUILD_SLAVE_CAMP</Description>
<Help>TXT_KEY_CIV5_IMPROVEMENTS_SLAVE_CAMP_HELP</Help>
<Recommendation>TXT_KEY_BUILD_SLAVE_REC</Recommendation>
<EntityEvent>ENTITY_EVENT_BUILD</EntityEvent>
<HotKey>KB_F</HotKey>
<OrderPriority>98</OrderPriority>
<PortraitIndex>1</PortraitIndex>
<IconAtlas>TERRAIN_IMPROVEMENT_ICON_ATLAS_EXP2</IconAtlas>
</Row>
...
</Builds>


The only thing i did notice is that when i changed the IconAtlas and Portrait Index for the builds part, it did appear in game, so I assume that's the problem, but I don't know how/where to find these Icon Atlases so I can check to chose the correct icon, or reference them. So that's what I'm asking for help with.



Mod File, Improvements file is in XML/Buildings/Improvements
https://www.dropbox.com/s/v3rwj6ggib8cw8y/Winter is Coming to Civ Deluxe (v 4).civ5mod?dl=0
 
Top Bottom