Jump to content
Solomon

Why cant i see the vanilla icons on modded weapons?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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. 

  • Thanks 1

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...