Jump to content

Custom Icon problem


korake

Recommended Posts

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

Quote

 

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...