Exde Posted July 14, 2017 Share Posted July 14, 2017 is there a certain format the PNGs have to be? I am trying to make custom icons for new Arrows I created and my images wont load into the game, everything else works except my custom icon. Just curious on why my Icons wont load into the game. Larger Size Link to comment Share on other sites More sharing options...
Darkaft Posted July 14, 2017 Share Posted July 14, 2017 I am not an expert, sure that somebody sooner responds, but something that I have seen when putting the huds for example is the address in the .xml file, the place where it is stored and that load the line of where the route is. I hope that's just it. Link to comment Share on other sites More sharing options...
Exde Posted July 14, 2017 Author Share Posted July 14, 2017 got it working... Needed an ModInfo.xml and Folder ItemIcons nothing about the file itself. Link to comment Share on other sites More sharing options...
Alphado-Jaki Posted July 15, 2017 Share Posted July 15, 2017 There is the only 1 restriction. The icon size should be 116 x 80. GIF, JPG, BMP will work also. But..., it's odd. Your icon is 116 x 80, so if you place files correctly, these icons should be displayed by easy xml coding. Link to comment Share on other sites More sharing options...
Alphado-Jaki Posted July 15, 2017 Share Posted July 15, 2017 Icons should be placed in Mods folder. Its structure is...... 7 days to die ┗ Mods ┗ <your mod name here> ┣ModInfo.xml ┗ItemIcons ┗<place all icons here> Use this for ModInfo.xml <?xml version="1.0" encoding="UTF-8" ?> <xml> <ModInfo> <Name value="mod name here" /> <Description value="description here" /> <Author value="your name here" /> <Version value="0.0.0" /> <Website value="" /> </ModInfo> </xml> Link to comment Share on other sites More sharing options...
ProTech1982 Posted July 15, 2017 Share Posted July 15, 2017 Hello I have the same problem would like to change the icon for a MediBlock however I have in the game only a blank icon without picture <item id="1470" name="mediblockhealth"> <property name="CustomIcon" value="schematicMaster" /> <<<< This Working with Picture but... <property name="CustomIcon" value="mediblockhealth" /> <<<< This Not Working with Picture ModInfo.xml Folder: /Mods/MediblockIcons <?xml version="1.0" encoding="UTF-8" ?> <xml> <ModInfo> <Name value="Mediblock" /> <Description value="Example for loading custom item icons" /> <Author value="ProTech1982" /> <Version value="A16" /> <Website value="nothing" /> </ModInfo> </xml> Picture is in Folder: /Mods/MediblockIcons/ItemIcons/mediblockhealth.png (116x80px) have a mistake? Link to comment Share on other sites More sharing options...
xyth Posted July 15, 2017 Share Posted July 15, 2017 Not sure it matters, but in modinfo the mod name is Mediblock, so the folder name should be /Mods/Mediblock not Mods/MediblockIcons. At least I have always seem it named that way. Link to comment Share on other sites More sharing options...
ProTech1982 Posted July 15, 2017 Share Posted July 15, 2017 Unfortunately, it does not work so synonymous ;( But when I use the original icon in the customincon then it goes mh ... Edit: I have to say that I only run on the server the whole I have to insert in the singelplayer synonymous? Link to comment Share on other sites More sharing options...
Alphado-Jaki Posted July 15, 2017 Share Posted July 15, 2017 I have to say that I only run on the server the whole I have to insert in the singelplayer synonymous? Sadly, all clients who join server should have same Mods folder. Link to comment Share on other sites More sharing options...
Kevin1000 Posted November 18, 2018 Share Posted November 18, 2018 This is still not working for me - can someone take a look and make any corrections for me thanks I have created a folder called Mods within my Config folder. inside "Mods" i created a folder called ItemIconTest. Inside "ItemIconTest" folder is another folder called ItemIcons and a file called ModInfo. Inside ItemIcons i have saved a picture which is sized 116*80. The picture is a PNG file called Juice. ModInfo document reads <?xml version="1.0" encoding="UTF-8" ?> <xml> <ModInfo> <Name value="Juice" /> <Description value="mmm delicious Juice" /> <Author value="Kevin" /> <Version value="A16.4" /> <Website value="" /> </ModInfo> </xml> Items.xml <item id="1514" name="Juice"> <property name="Meshfile" value="Items/Food/redTeaPrefab"/> <property name="CustomIcon" value="Juice" /> <property name="Material" value="glass"/> <property name="HoldType" value="3"/> <property name="Weight" value="10"/> <property name="Stacknumber" value="1000"/> <!-- STK drink --> <property name="EconomicValue" value="36"/> <property class="Action1"> <property name="Class" value="Eat"/> <property name="Delay" value="1.0"/> <property name="Use_time" value="..."/> <property name="Gain_food" value="0"/> <property name="Gain_water" value="10"/> <property name="Gain_stamina" value="10"/> <property name="Gain_wellness" value="0.2"/> <property name="Sound_start" value="player_drinking"/> <property name="Create_item" value="emptyJar"/> </property> <property name="Group" value="Food/Cooking"/> </item> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.