Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20

Thread: Need help with icons

  1. #16
    Zombie Hunter bdubyah's Avatar
    Join Date
    Dec 2016
    Location
    Tennessee
    Posts
    425
    Rep Power
    1
    Have you installed it on both the client and the server? It's gotta be on both. The server will not push icons to the client.

  2. #17
    Refugee
    Join Date
    Jun 2017
    Posts
    25
    Rep Power
    0
    Quote Originally Posted by revolvolution View Post
    Ok, so i found out problem exist only in my dedication server. I uploaded mod to single-player game, and icon is working. Any ideas what is the problem? I add that if change icon value to any of stock 7 days to die icons, its working on my server. Only my own, custom icons not working.
    If it works in SP then copy the modlet from your PC mod folder over to your server and it should work as long as you are running the same version of 7 Days on both machines. If you've done that then I would make sure that you aren't accidentally putting a space in one area and not the other. Go to the .png and go to rename it and copy the name and then go to the .xml and paste it in the "CustomIcon" property. You've probably tried all that but just in case I figured I'd mention it.

  3. #18
    Refugee
    Join Date
    Aug 2016
    Posts
    7
    Rep Power
    0
    Hi everyone, help me deal with item icons. I am making a mod on 18.2, I am adding an arrow object, in the ItemIcons folder there is an image 160 * 160 in .png format
    The game has an item, there is a recipe, but there is no icon that I made for this item. What's wrong, with the code I wrote, here it is.

    <item name = "ammoArrowStonePaper">
    <property name = "CustomIcon" value = "/ Mods / Reallife / UIAtlases / ItemIconAtlas / ammoArrowStonePaper.png" />
    <! - <property name = "CustomIcon" value = "# @ modfolder: UIAtlases / ItemIconAtlas / ammoArrowStonePaper.png" /> ->

    I tried to put it in another folder, but the game still does not have an icon, tell me what is wrong or what needs to be done, I already tried different options!

  4. #19
    Refugee
    Join Date
    Jun 2017
    Posts
    25
    Rep Power
    0
    Quote Originally Posted by PashaP79 View Post
    Hi everyone, help me deal with item icons. I am making a mod on 18.2, I am adding an arrow object, in the ItemIcons folder there is an image 160 * 160 in .png format
    The game has an item, there is a recipe, but there is no icon that I made for this item. What's wrong, with the code I wrote, here it is.

    <item name = "ammoArrowStonePaper">
    <property name = "CustomIcon" value = "/ Mods / Reallife / UIAtlases / ItemIconAtlas / ammoArrowStonePaper.png" />
    <! - <property name = "CustomIcon" value = "# @ modfolder: UIAtlases / ItemIconAtlas / ammoArrowStonePaper.png" /> ->

    I tried to put it in another folder, but the game still does not have an icon, tell me what is wrong or what needs to be done, I already tried different options!
    You only need to reference the icon name that is in the [UIAtlases\ItemIconAtlas] folder.
    Example:
    <property name="CustomIcon" value="meleeToolKnifeMachete"/>

    And if you want the icon to have a tint to it:
    <property name="CustomIconTint" value="X,X,X"/> [where X is a set of numbers that make the color of tint]

  5. #20
    Refugee
    Join Date
    Aug 2016
    Posts
    7
    Rep Power
    0
    Thank you very much, it really works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •