Jump to content

Custom Icon Help


Exde

Recommended Posts

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.

 

2nbhgs2.png

2iu3rcw.png

 

Larger Size

 

2zxs1uq.png

nv1nib.png

Link to comment
Share on other sites

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

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

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) :distrust:

 

have a mistake?

Link to comment
Share on other sites

  • 1 year later...

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

Archived

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

×
×
  • Create New...