• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Custom Icon problem

korake

Refugee
Hi, i trying create a simple mod where i want add a new item and when i trying set a custom icon i have a problem because my icon ingame is blank, i tried change icon name to existing icon from game and it work but i think this is a wrong way.

Mod Tree

ModFolder
    /Config/

    /UiAtlases/

        /ItemIconsAtlas/

            /resourceUranium.png

    ModInfo.xml


items.xml

<?xml version="1.0" encoding="UTF-8" ?>
<items>
<append xpath="/items">
<item name="resourceUranium">
<property name="HoldType" value="45"/>
<property name="Meshfile" value="#Other/Items?Misc/sackPrefab.prefab"/>
<property name="DropMeshfile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="CustomIcon" value="resourceUranium"/>
<property name="Material" value="MresourceUranium"/>
<property name="Stacknumber" value="6000"/>
<property name="FuelValue" value="5"/>
<property name="EconomicValue" value="10"/>
<property name="EconomicBundleSize" value="10"/>
<property name="Group" value="Resources"/>
</item>
</append>
</items>




I using latest_experimental version

 
Back
Top