LeeS
Imperator
Code:
<FrontEndActions>
<UpdateDatabase id="Config">
<File>Warren_Config.xml</File>
</UpdateDatabase>
<UpdateText id="ConfigText">
<File>Warren_Config_Text.xml</File>
</UpdateText>
</FrontEndActions>
<UpdateIcons id="ConfigIcons">
<File>Warren_Building_Icons.xml</File>
<File>Warren_Civilizations_Icons.xml</File>
<File>Warren_Leader_Icons.xml</File>
<File>Warren_Unit_Icons.xml</File>
</UpdateIcons>
<InGameActions>
Also, it needs to be under <InGameActions> for the icon designations to work properly in-game. You may also need to add the same files into an action that is done under <FrontEndActions> but the reality is the game is seriously wierd in the way it wants things presented for <FrontEndActions> IMO. Look at one of JFD's mods to see how he handles the issue of Icon Activations re the <FrontEndActions> vs <InGameActions> issues.
- ICON_CIVILIZATION_CHINA has already been defined for the game.
- ICON_BUILDING_MONUMENT has already been defined for the game.
- You are calling your building BUILDING_WARRENSOULSTONE, so you need this
Code:
<GameInfo> <IconDefinitions> <Row Name="ICON_BUILDING_WARRENSOULSTONE" Atlas="ICON_ATLAS_BUILDINGS" Index="0"/> <Row Name="ICON_BUILDING_WARRENSOULSTONE_FOW" Atlas="ICON_ATLAS_BUILDINGS_FOW" Index="0"/> </IconDefinitions> </GameInfo>
- This works fine because you are using the same icons the monument building, settler unit, and builder unit provided by Firaxis use:
Code:
<PlayerItems> <Row> <Domain>StandardPlayers</Domain> <CivilizationType>CIVILIZATION_WARREN</CivilizationType> <LeaderType>LEADER_WARREN</LeaderType> <Type>UNIT_HELPER</Type> <Name>LOC_UNIT_HELPER_NAME</Name> <Description>LOC_UNIT_HELPER_DESCRIPTION</Description> <Icon>ICON_UNIT_BUILDER</Icon> <SortIndex>10</SortIndex> </Row> <Row> <Domain>StandardPlayers</Domain> <CivilizationType>CIVILIZATION_WARREN</CivilizationType> <LeaderType>LEADER_WARREN</LeaderType> <Type>UNIT_TRAILBLAZER</Type> <Name>LOC_UNIT_TRAILBLAZER_NAME</Name> <Description>LOC_UNIT_TRAILBLAZER_DESCRIPTION</Description> <Icon>ICON_UNIT_SETTLER</Icon> <SortIndex>10</SortIndex> </Row> <Row> <Domain>StandardPlayers</Domain> <CivilizationType>CIVILIZATION_WARREN</CivilizationType> <LeaderType>LEADER_WARREN</LeaderType> <Type>BUILDING_WARRENSOULSTONE</Type> <Name>LOC_BUILDING_WARRENSOULSTONE_NAME</Name> <Description>LOC_BUILDING_WARRENSOULSTONE_DESCRIPTION</Description> <Icon>ICON_BUILDING_MONUMENT</Icon> <SortIndex>20</SortIndex> </Row> </PlayerItems>
- This is no good because the game already has information for ICON_UNIT_BUILDER and ICON_UNIT_SETTLER and you have neither defined ICON_ATLAS_WARREN_UNITS nor added the needed dds art files to import new icons into the game:
Code:
<GameInfo> <IconDefinitions> <Row Name="ICON_UNIT_BUILDER" Atlas="ICON_ATLAS_WARREN_UNITS" Index="1"/> <Row Name="ICON_UNIT_SETTLER" Atlas="ICON_ATLAS_WARREN_UNITS" Index="0"/> </IconDefinitions> </GameInfo>
Code:<GameInfo> <IconDefinitions> <Row Name="ICON_UNIT_HELPER" Atlas="ICON_ATLAS_UNITS" Index="1"/> <Row Name="ICON_UNIT_TRAILBLAZER" Atlas="ICON_ATLAS_UNITS" Index="0"/> </IconDefinitions> </GameInfo>