Modding Help Messed up colors with my hat mod?

Discussion in 'Starbound Modding' started by Thiefe, Mar 30, 2014.

  1. Thiefe

    Thiefe Void-Bound Voyager

    So I've successfully created my hat mod that, I wanted to combine two hats and make them their default colors but its not going so well. The two hats i wanted to combine was the Doctor Plague Mask & Bandit's Hood. May somebody explain to me why the hat colors are messed up?
     

    Attached Files:

  2. Thiefe

    Thiefe Void-Bound Voyager

  3. v6ooo

    v6ooo Space Kumquat

    I would assume that's because of the color palettes (colorOptions)
     
  4. Thiefe

    Thiefe Void-Bound Voyager

    Where do I find that?
     
  5. SleepySquidd

    SleepySquidd Tragically Magic Hands

  6. Thiefe

    Thiefe Void-Bound Voyager

    Oh yes I saw that thread before, but all im trying to do is get the items to their default vanilla colors.
     
  7. SleepySquidd

    SleepySquidd Tragically Magic Hands

    Ah. If all else fails just remove the colorOption section and make sure your image file is colored how you want it. (That's what I would do ;))
     
  8. Thiefe

    Thiefe Void-Bound Voyager

    Tried that, still doesn't work :/ I included the file of the mod above so if any of you would try to fix it for me because im not experienced with modding i would be very grateful.
     
  9. SleepySquidd

    SleepySquidd Tragically Magic Hands

    The reason I haven't viewed your source code is because I can't actually view this .zip file without extracting it, which makes me veeery wary. You have to be careful out here on the internet!
     
  10. Thiefe

    Thiefe Void-Bound Voyager

    You're right! but sadly thats the only way I could put it, in a zip file :/ I mean its not an image so i can't make it a JPG or PNG.
     
  11. SleepySquidd

    SleepySquidd Tragically Magic Hands

    Normally you can view whats in the file before you open it, which I don't see happen that often.
     
  12. Thiefe

    Thiefe Void-Bound Voyager

    How do you do that?
     
  13. SleepySquidd

    SleepySquidd Tragically Magic Hands

    Post your code here, I'll see if I can fix it
     
  14. Thiefe

    Thiefe Void-Bound Voyager

    "colorOptions" : [
    /* BLACK */
    { "ffca8a" : "838383", "e0975c" : "555555", "a85636" : "383838", "6f2919" : "151515" },
    /* BLACK */
    { "ffca8a" : "838383", "e0975c" : "555555", "a85636" : "383838", "6f2919" : "151515" },
    /* GREY */
    { "ffca8a" : "b5b5b5", "e0975c" : "808080", "a85636" : "555555", "6f2919" : "303030" },
    /* WHITE */
    { "ffca8a" : "e6e6e6", "e0975c" : "b6b6b6", "a85636" : "7b7b7b", "6f2919" : "373737" },
    /* RED */
    { "ffca8a" : "f4988c", "e0975c" : "d93a3a", "a85636" : "932625", "6f2919" : "601119" },
    /* ORANGE */
    { "ffca8a" : "ffd495", "e0975c" : "ea9931", "a85636" : "af4e00", "6f2919" : "6e2900" },
    /* YELLOW */
    { "ffca8a" : "ffffa7", "e0975c" : "e2c344", "a85636" : "a46e06", "6f2919" : "642f00" },
    /* GREEN */
    { "ffca8a" : "b2e89d", "e0975c" : "51bd3b", "a85636" : "247824", "6f2919" : "144216" },
    /* BLUE */
    { "ffca8a" : "96cbe7", "e0975c" : "5588d4", "a85636" : "344495", "6f2919" : "1a1c51" },
    /* PURPLE */
    { "ffca8a" : "d29ce7", "e0975c" : "a451c4", "a85636" : "6a2284", "6f2919" : "320c40" },
    /* PINK */
    { "ffca8a" : "eab3db", "e0975c" : "d35eae", "a85636" : "97276d", "6f2919" : "59163f" },
    /* BROWN */
    { "ffca8a" : "ccae7c", "e0975c" : "a47844", "a85636" : "754c23", "6f2919" : "472b13" }
    /*
    { "ffca8a" : "d4c398", "e0975c" : "bda67a", "a85636" : "9c7f54", "6f2919" : "755937" },
    { "ffca8a" : "d5595f", "e0975c" : "a32c2c", "a85636" : "71291b", "6f2919" : "4c1e10" },
    { "ffca8a" : "46b3e8", "e0975c" : "1a7bb5", "a85636" : "0e427e", "6f2919" : "072655" },
    { "ffca8a" : "b0e944", "e0975c" : "78b618", "a85636" : "3f7f0d", "6f2919" : "255606" },
    { "ffca8a" : "eef055", "e0975c" : "d3bb1c", "a85636" : "9c8011", "6f2919" : "644807" },
    { "ffca8a" : "fd8d30", "e0975c" : "ca6705", "a85636" : "8c5d00", "6f2919" : "5c4400" },
    { "ffca8a" : "c260ff", "e0975c" : "931ad0", "a85636" : "710587", "6f2919" : "52015b" },
    { "ffca8a" : "717171", "e0975c" : "505050", "a85636" : "363636", "6f2919" : "181818" },
    { "ffca8a" : "e6e9ea", "e0975c" : "c6d2d4", "a85636" : "97abac", "6f2919" : "627677" }
     
  15. The | Suit

    The | Suit Agent S. Forum Moderator

    The first number defines the color of brown used in the image
    the 2nd color defines what to replace it with.

    http://www.colorpicker.com/
    ----
    Right now the ingame color variations don't work as it should. So only the first line is applicable
     
  16. SleepySquidd

    SleepySquidd Tragically Magic Hands

    Which color do you want it to be? Chose that color and then move it to the top of the list. I've had the same issue and this small tweak has fixed it
     
  17. Thiefe

    Thiefe Void-Bound Voyager

    Oh I see, i'll look more into it tomorrow because im in bed at the moment, thanks for the help though guys❤️
     
  18. Thiefe

    Thiefe Void-Bound Voyager

    It works perfectly, i changed it to white and it did change to white, but now it has those weird orange looking lines on the hat, how do i fix that?
     

    Attached Files:

  19. The | Suit

    The | Suit Agent S. Forum Moderator

    you didn't define that color
    You have to find out which color orange is and define it manually
     
  20. Thiefe

    Thiefe Void-Bound Voyager

    Huh? Im confused, how does one do that exactly?
     

Share This Page