Zombinator Posted August 26, 2020 Share Posted August 26, 2020 Hello, For playing around, I made a new jacket item. I got it to display the stats and description. It gives the boosts like the Nerd Glass I copied from. There is a mesh associated with it from the jacket Node / Item that I had copied from. I was thinking it would use the same image on the belt and in the coat slot on the UI. However, there's no image. I can not double click to equip; I must use the W key. Just with the images in the icon folder or wherever the game gets images currently. How would I associate an image to it? I even tried copy and paste an existing image and name it the same as the item. Link to comment Share on other sites More sharing options...
FreakUK Posted August 26, 2020 Share Posted August 26, 2020 <property name="CustomIcon" value="iconNameHere"/> With iconName being either an existing in-game icon, or an icon in your mod Link to comment Share on other sites More sharing options...
Zombinator Posted August 26, 2020 Author Share Posted August 26, 2020 I had tried that before with the name of the .png that I had copied and pasted. I had seen another example in the XML after reading your comment (will paste) and STILL the image doesn't show. These are new things that wasn't copied and paste but added. <item name="apparelLabCoat"> <property name="Extends" value="apparelCoatJacketGeneric" param1="CustomIcon"/> <property name="DescriptionKey" value="apparelLabCoatDesc"/> <!--apparelLabCoatDesc in the localization.txt"/>--> <property name="DisplayType" value="apparelLabCoat"/> <!-- This shows in the stats portion of the window. ui_display.xml --> <property name="CustomIcon" value="apparelLabCoat"/> <property name="CustomIconTint" value="57,57,57"/> <property class="UMA"> <property name="Mesh" value="clothes_suit_jacket"/> <property name="Overlay0" value="unisex_clothes_suit_jacket"/> <property name="Overlay0Tint" value="29,29,33"/> <property name="Overlay1" value="unisex_clothes_suit_jacket_shirt"/> <property name="Overlay1Tint" value="85,74,96"/> <property name="Layer" value="3"/> <property name="Mask0" value="chest" param1="base"/> </property> <property name="EconomicValue" value="499"/> <effect_group tiered="false"> <passive_effect name="ModSlots" operation="base_set" value="1"/> <passive_effect name="ModPowerBonus" operation="base_add" value="100" tags="EconomicValue"/> <passive_effect name="AttributeLevel" operation="base_add" value="1" tags="attIntellect"/> <passive_effect name="CraftingTime" operation="perc_add" value="-.1"/> <passive_effect name="PlayerExpGain" operation="perc_add" value=".1"/> <display_value name="dCraftingTime" value="-.1"/> <display_value name="dPlayerExpGain" value=".1"/> </effect_group> </item> In the Output I see: 8.446 INF Starting PlayerInputManager... Fallback handler could not load library G:/Games/Steam/steamapps/common/7 Days To Die/7daystodie_Data/Mono/XInputInterface32 ... 10.341 INF Awake done in 1916 ms Fallback handler could not load library G:/Games/Steam/steamapps/common/7 Days To Die/7daystodie_Data/Mono/libc ... 104.246 WRN ItemController: XUiC_EquipmentStack Link to comment Share on other sites More sharing options...
Zombinator Posted August 27, 2020 Author Share Posted August 27, 2020 So it seems copy and paste has failed me. When I used an existing .png, the icon had came up. I did a copy and paste and for whatever reason, the icon will not show. What tool is used to make or edit a png so the game can recognize the image? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.