Modding Discussion Novakid Mod Discussion

Discussion in 'Starbound Modding' started by BlastRed, Dec 18, 2013.

  1. Westeller

    Westeller Space Penguin Leader

    Mmm, other people need that or the game won't recognize the mod until they make it themselves.
    You should delete the extra files under \ships\. You don't use all of those.
    You only use.... dropship, dropship.structure and dropshipblocks, I think. The rest can go.
     
  2. tifel100

    tifel100 Void-Bound Voyager

    I guess I can attempt to help with this too, i'll be waiting for you to upload your latest version with the .modinfo file.
     
  3. Westeller

    Westeller Space Penguin Leader

    [​IMG]

    This is why the body color isn't changeable. Why did you do this?
    Erase it all and replace it with the default human colors, since you're using a human body:

    Code:
    "bodyColor" : [
      { "ffe2c5" : "ffe9d3", "ffc181" : "ffc181", "d39c6c" : "d39c6c", "c7815b" : "b97551" },
      { "ffe2c5" : "fff6f6", "ffc181" : "f7d5d3", "d39c6c" : "d1aaa1", "c7815b" : "a27f70" },
      { "ffe2c5" : "fff7ec", "ffc181" : "f9d3a9", "d39c6c" : "d3a57c", "c7815b" : "b37c5d" },
      { "ffe2c5" : "fbe1d4", "ffc181" : "f6baa2", "d39c6c" : "cc9582", "c7815b" : "ac7261" },
      { "ffe2c5" : "f4e0ba", "ffc181" : "e9b768", "d39c6c" : "c18f54", "c7815b" : "a2683d" },
      { "ffe2c5" : "e8cebc", "ffc181" : "cfa97d", "d39c6c" : "ae774b", "c7815b" : "804e34" },
      { "ffe2c5" : "e1b98d", "ffc181" : "c88959", "d39c6c" : "9e6a4d", "c7815b" : "784930" },
      { "ffe2c5" : "c9b181", "ffc181" : "ac8348", "d39c6c" : "87633f", "c7815b" : "694c31" },
      { "ffe2c5" : "c5ad98", "ffc181" : "a47a59", "d39c6c" : "865d40", "c7815b" : "66412e" },
      { "ffe2c5" : "ab8c77", "ffc181" : "86644a", "d39c6c" : "684431", "c7815b" : "40271d" }
      ],
    
    Later, if you change the body to a complete Novakid, you'll need to adjust these.



     
  4. BlastRed

    BlastRed Spaceman Spiff

    I don't fully understand the body color.
    the colors i need is red, blue, yellow, pink, in general
    and i want orange, purple, green as an extra
    should i just set the color code for the hair to the body? that'd help alot
     
  5. Westeller

    Westeller Space Penguin Leader

    Let me walk you through it.

    Let's take a look at one line of the normal bodyColor options for a human:
    Code:
      { "ffe2c5" : "ffe9d3", "ffc181" : "ffc181", "d39c6c" : "d39c6c", "c7815b" : "b97551" },
    
    These are pairs of values.

    ffe2c5 : ffe9d3,
    ffc181 : ffc181,
    d39c6c : d39c6c,
    and c7815b : b97551

    Each one of these represents a color in hexadecimal format. Hexadecimal color is represented as 6 pairs of letters and numbers, which go from 00 to FF. When counting in hexadecimal, you count to 9 normally, but, instead of going to 10, you go to A. You keep counting with letters up to F, and then you hit 10. It goes like this:

    1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F...10.

    It's really simple once you get the hang of it.

    Because you keep counting past 9 in hexadecimal, numbers over 9 don't directly equal the same number in our normal decimal counting system. A in hexadecimal is equal to 10 in decimal. B is equal to 11, and so on... FF in hexadecimal is 255. You may be familiar with RGB as (255, 255, 255). Well, In hexadecimal that same color is represented as FFFFFF.

    Anyway, we can have the forums show us what color these represent using the [ color ] tag.
    Simply place [ color=#hexadecimalvalue ] text [ /color ] to see what the colors are.
    Using that, let's look at the list again:

    ffe2c5 : ffe9d3 ,
    ffc181 : ffc181,
    d39c6c : d39c6c,
    and c7815b : b97551

    There, now we can see what colors they represent.
    Now, for each pair of colors in the list, such as the first:
    ffe2c5 : ffe9d3 ,
    the game will look at the body image and find the first color ( ffe2c5 )
    and replace it with the second color ( ffe9d3 )

    So everywhere on the body that the first color was, it now has the second color.

    Now, these colors are awfully close together, because the human body doesn't differ much between skin tone options.
    What happens, though, when we replace all of the second values in the file with 13159c, like ffe2c5 : 13159c?


    [​IMG]

    Code:
      { "ffe2c5" : "13159c", "ffc181" : "13159c", "d39c6c" : "13159c", "c7815b" : "13159c" },
    


    It's worth noting that the most common color on the human body is ffc181.
    Just changing the second pair of the first option ffc181 : ffc181, to ffc181 : 13159c, makes a large difference!


    [​IMG]
    Code:
    { "ffe2c5" : "ffe9d3", "ffc181" : "13159c", "d39c6c" : "d39c6c", "c7815b" : "b97551" },
    


    -------------

    Now, you wanted red, blue, yellow and pink, right?

    Red and blue are easy. We know we're using a RGB format, so we can use FF0000 and 0000FF
    Yellow and pink are a bit trickier to get, but we can work it out!
    Yellow, we know, is a combination of red and green, so let's try... FFFF00
    Aha! We have a yellow to work with as well.

    I'll be the first to admit that I don't know and can't guess pink in hexadecimal.
    A quick google search, though, tells us that ff69b4 is a very nice pink.

    Now that we have the four colors we need, let's try replacing the normal human bodyColors.
    We don't need the full 10 color options normally available, so we can erase all but four lines:

    Code:
      "bodyColor" : [
      { "ffe2c5" : "ffe9d3", "ffc181" : "ffc181", "d39c6c" : "d39c6c", "c7815b" : "b97551" },
      { "ffe2c5" : "fff6f6", "ffc181" : "f7d5d3", "d39c6c" : "d1aaa1", "c7815b" : "a27f70" },
      { "ffe2c5" : "fff7ec", "ffc181" : "f9d3a9", "d39c6c" : "d3a57c", "c7815b" : "b37c5d" },
      { "ffe2c5" : "fbe1d4", "ffc181" : "f6baa2", "d39c6c" : "cc9582", "c7815b" : "ac7261" }
      ],
    
    Now, we replace every second value with our colors. One color per line.

    Code:
      "bodyColor" : [
      { "ffe2c5" : "ff0000", "ffc181" : "ff0000", "d39c6c" : "ff0000", "c7815b" : "ff0000" },
      { "ffe2c5" : "0000ff", "ffc181" : "0000ff", "d39c6c" : "0000ff", "c7815b" : "0000ff" },
      { "ffe2c5" : "ffff00", "ffc181" : "ffff00", "d39c6c" : "ffff00", "c7815b" : "ffff00" },
      { "ffe2c5" : "ff69b4", "ffc181" : "ff69b4", "d39c6c" : "ff69b4", "c7815b" : "ff69b4" }
      ],
    
    With that, we now have only 4 skin tone options when we create a human character: red, blue, yellow and pink!


    [​IMG]
     
    Last edited: Dec 20, 2013
    BitHorizon, BlastRed and Eathed like this.
  6. BlastRed

    BlastRed Spaceman Spiff

    So, can you list all the colors for the novakid?
    or just send me the file with te colors labeled
     
  7. Westeller

    Westeller Space Penguin Leader

    Haha, there's a reason I chose to explain it instead of just giving you a modified .species file.
    You'd be better off getting the colors yourself, so they suit your taste. Different shades and all.
    You can use something like this online color selector to get hexadecimal color values.
     
    Last edited: Dec 20, 2013
  8. BlastRed

    BlastRed Spaceman Spiff

    just lable them, then.
     
  9. Westeller

    Westeller Space Penguin Leader

    I'm really not sure what you mean. Like this?


    "bodyColor" : [
    { "ffe2c5" : "YOUR COLOR HERE", "ffc181" : "YOUR COLOR HERE", "d39c6c" : "YOUR COLOR HERE", "c7815b" : "YOUR COLOR HERE" },
    { "ffe2c5" : "YOUR COLOR HERE", "ffc181" : "YOUR COLOR HERE", "d39c6c" : "YOUR COLOR HERE", "c7815b" : "YOUR COLOR HERE" },
    { "ffe2c5" : "YOUR COLOR HERE", "ffc181" : "YOUR COLOR HERE", "d39c6c" : "YOUR COLOR HERE", "c7815b" : "YOUR COLOR HERE" },
    { "ffe2c5" : "YOUR COLOR HERE", "ffc181" : "YOUR COLOR HERE", "d39c6c" : "YOUR COLOR HERE", "c7815b" : "YOUR COLOR HERE" }
    ],

    Each line is one bodyColor option, so keep each line one color.
    Feel free to make them different shades of a color, though, if you don't like solid.
     
  10. BlastRed

    BlastRed Spaceman Spiff

    Can i just put the hair color code as body?
     
  11. Westeller

    Westeller Space Penguin Leader

    The hexadecimal codes for the hair colors you want, in the labelled spots, yes.
    You could not replace the entire bodyColor section with the hair stuff, though.
     
  12. BlastRed

    BlastRed Spaceman Spiff

    Okay, i will be busy spriting for charachter customization! brb
     
  13. BlastRed

    BlastRed Spaceman Spiff

    80% done with the mod! just gotta sprite the bodies in the colors, figure out how to support licolors and etc. here it is now!:
    [​IMG]
    [​IMG]
     
  14. Westeller

    Westeller Space Penguin Leader

    Sprite the bodies..in the colors? If you intend to use the default human body, just using bodyColor options will be enough to make them a different color.
    The only reason to create new sprites for the body is if you want to change it somehow.
     
  15. BlastRed

    BlastRed Spaceman Spiff

    WEll, can you get these colors...
    white as the first pixel light blue and kind of dark blue.
    basically the three colors of this girl:
    [​IMG]
    then white light yellow and dark yellow
    [​IMG]
    with this simple 3 color pallete
    lightest to darkest
    [​IMG]
     
  16. Westeller

    Westeller Space Penguin Leader

    I have no idea what you just asked me to do.

    The girl uses
    ffffff, 6cfffe, 77fcea

    The yellow dude uses
    ffffff, f9e146, f1b920

    The pallete is
    d9c189, a38d59, 735e3a



    Code:
    bodyOptions
    {
        { "ffe2c5" : "ffffff", "ffc181" : "6cfffe", "d39c6c" : "77fcea" },
        { "ffe2c5" : "ffffff", "ffc181" : "f9e146", "d39c6c" : "f1b920" },
        { "ffe2c5" : "d9c189", "ffc181" : "a38d59", "d39c6c" : "735e3a" }
    },
    
    or, if that doesn't work quite right, maybe:
    Code:
    bodyOptions
    {
        { "ffe2c5" : "ffffff", "ffc181" : "6cfffe", "d39c6c" : "77fcea", "c7815b" : "77fcea" },
        { "ffe2c5" : "ffffff", "ffc181" : "f9e146", "d39c6c" : "f1b920", "c7815b" : "f1b920" },
        { "ffe2c5" : "d9c189", "ffc181" : "a38d59", "d39c6c" : "735e3a", "c7815b" : "735e3a" }
    },
    
     
    Last edited: Dec 21, 2013
    BlastRed likes this.
  17. BlastRed

    BlastRed Spaceman Spiff

    Thanks!
     
  18. BlastRed

    BlastRed Spaceman Spiff

    I also need this red dudes color
    [​IMG]
    And the white color in this one
    [​IMG]
    people request the color orange too, so if you could give me the color code to that
     
  19. Westeller

    Westeller Space Penguin Leader

    Red dude's using ffffff, fbcabc, f89584, and ef4340
    The white thing is using ffffff, d7d7d7, b0b0b0, 979797, and 767676
     
  20. BlastRed

    BlastRed Spaceman Spiff

    Can you put that in a body color code please?
     

Share This Page