Hajee
Prince
- Joined
- Nov 4, 2014
- Messages
- 342
To add in new custom Icons:
1) In the modfile.xml you need to use the Importfile tag line
This will load the dds with the mod.
30 I beleive is the icon for the boost UI
38 Unsure
42 is the Icon when looking at the Tree
128 is the Icon for after you research the tech
160 is the Civipidia
Next we need a Icon file for the base game file. This must be done in the base game because the database wont update Icons:
You can make a new file or Replace the current Icon_Tech file.
C:\Program Files (x86)\Steam\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\Icons\
Do note this I only tested with Techs, but in theory works with buildings/Unit Icons as well
Special Thanks to Horem for helping learn to mod, and Drityface83 for making the art work, and listening to me wine for 4 hours of teamspeak well we tied and failed for four hours to get this to work
1) In the modfile.xml you need to use the Importfile tag line
Code:
<Settings>
<ImportFiles id="New_dds_Setting">
<Items>New_dds</Items>
</ImportFiles>
</Settings>
<Components>
<ImportFiles id="New_dds">
<Items>
<File>Haj1Tech30.dds</File>
<File>Haj1Tech38.dds</File>
<File>Haj1Tech42.dds</File>
<File>Haj1Tech42_FOW.dds</File>
<File>Haj1Tech128.dds</File>
<File>Haj1Tech160.dds</File>
</Items>
</ImportFiles>
</Components>
<Files>
<File>Haj1Tech30.dds</File>
<File>Haj1Tech38.dds</File>
<File>Haj1Tech42.dds</File>
<File>Haj1Tech42_FOW.dds</File>
<File>Haj1Tech128.dds</File>
<File>Haj1Tech160.dds</File>
<Files>
This will load the dds with the mod.
30 I beleive is the icon for the boost UI
38 Unsure
42 is the Icon when looking at the Tree
128 is the Icon for after you research the tech
160 is the Civipidia
Next we need a Icon file for the base game file. This must be done in the base game because the database wont update Icons:
You can make a new file or Replace the current Icon_Tech file.
C:\Program Files (x86)\Steam\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\Icons\
Code:
<GameInfo>
<IconTextureAtlases>
<Row Name="ICON_NEW_TECH" IconSize="160" IconsPerRow="8" IconsPerColumn="8" Filename="Haj1Tech160.dds"/>
<Row Name="ICON_NEW_TECH" IconSize="128" IconsPerRow="8" IconsPerColumn="8" Filename="Haj1Tech128.dds"/>
<Row Name="ICON_NEW_TECH" IconSize="38" IconsPerRow="8" IconsPerColumn="8" Filename="Haj1Tech38.dds"/>
<Row Name="ICON_NEW_TECH" IconSize="42" IconsPerRow="8" IconsPerColumn="8" Filename="Haj1Tech42.dds"/>
<Row Name="ICON_NEW_TECH_FOW" IconSize="42" IconsPerRow="8" IconsPerColumn="8" Filename="Haj1Tech42_FOW.dds"/>
<Row Name="ICON_NEW_TECH" IconSize="30" IconsPerRow="8" IconsPerColumn="8" Filename="Haj1Tech30.dds"/>
</IconTextureAtlases>
<IconDefinitions>
<Row Name="ICON_TECH_Burial_Rites" Index="0" Atlas="ICON_NEW_TECH"/>
<Row Name="ICON_TECH_Burial_Rites_FOW" Index="0" Atlas="ICON_NEW_TECH_FOW"/>
</IconDefinitions>
</GameInfo>
Do note this I only tested with Techs, but in theory works with buildings/Unit Icons as well
Spoiler Photos :
Special Thanks to Horem for helping learn to mod, and Drityface83 for making the art work, and listening to me wine for 4 hours of teamspeak well we tied and failed for four hours to get this to work
Last edited: