Solomon Posted August 13, 2020 Share Posted August 13, 2020 Im making some modlet weapon mod for the basics i copied over literally anything from the generic pistol, renamed it, modified a few stats and created a new ammo for it. Theres only one problem, it doesnt have any icon just the empty square where i can select it. Why does this happen and how can i fix it? Link to comment Share on other sites More sharing options...
AnsontheToad Posted August 13, 2020 Share Posted August 13, 2020 Need to define a icon. The default items are given icons based on their names. Modded items need to have the icon defined. <property name="CustomIcon" value="gunHandgunT1Pistol"/> That should work. You can make your icon look different by adding an icon tint using hex color values. <property name="CustomIconTint" value="ff9f9f"/> Or you can make a custom icon of your own, but that's a lot more work. Link to comment Share on other sites More sharing options...
Solomon Posted August 14, 2020 Author Share Posted August 14, 2020 23 hours ago, AnsontheToad said: Need to define a icon. The default items are given icons based on their names. Modded items need to have the icon defined. <property name="CustomIcon" value="gunHandgunT1Pistol"/> That should work. You can make your icon look different by adding an icon tint using hex color values. <property name="CustomIconTint" value="ff9f9f"/> Or you can make a custom icon of your own, but that's a lot more work. Thank you but i have a question regarding to this fix, it still uses the vanilla icons right? So the mod is still serverside only? Link to comment Share on other sites More sharing options...
bdubyah Posted August 15, 2020 Share Posted August 15, 2020 Yeah, it'll use the vanilla icon still. If you look in your game folder, there is an ItemIcons folder with all of them in it. You can reference any of them you want and still stay serverside only. Link to comment Share on other sites More sharing options...
Solomon Posted August 15, 2020 Author Share Posted August 15, 2020 3 hours ago, bdubyah said: Yeah, it'll use the vanilla icon still. If you look in your game folder, there is an ItemIcons folder with all of them in it. You can reference any of them you want and still stay serverside only. Okay, thanks for your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.