korake Posted July 20, 2020 Share Posted July 20, 2020 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 More sharing options...
xyth Posted July 20, 2020 Share Posted July 20, 2020 Your icon folder names are wrong. Link to comment Share on other sites More sharing options...
korake Posted July 20, 2020 Author Share Posted July 20, 2020 3 hours ago, xyth said: Your icon folder names are wrong. Thanks, i didnt seen this Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.