Modding Help New character creation tabs

Discussion in 'Starbound Modding' started by Stormalisk, Jul 3, 2017.

  1. Stormalisk

    Stormalisk Scruffy Nerf-Herder

    I am trying to add a new option for apex in which they have underwear like humans, though underwear color is currently tied to their skin color. Instead of making 50+ options of skin color with each individual underwear color option, I have been trying to figure out how to make a new tab for it. So far I am at a loss on what todo.

    Here is my patches on what I have tried so far:
    Code:
    species patch:
    
    [
    {
    "op": "replace",
    "path": "/charGenTextLabels",
    "value": [ "Fur colour", "Hair style", "Shirt", "Legwear", "Skin colour", "Beard style", "Shirt colour", "Legwear colour", "APEX", "Personality", "Underwear" ]
    },
    {
    "op": "add",
    "path": "/altzColor",
    "value": [
    { "dc1f00" : "4d76ad", "be1b00" : "395187", "951500" : "20325b" },
    { "dc1f00" : "7c41b8", "be1b00" : "6c2f90", "951500" : "471962" },
    { "dc1f00" : "c63442", "be1b00" : "9b2724", "951500" : "6a1210" },
    { "dc1f00" : "eaa245", "be1b00" : "b47020", "951500" : "834a0c" },
    { "dc1f00" : "e3e13a", "be1b00" : "a8a614", "951500" : "848008" },
    { "dc1f00" : "6ab841", "be1b00" : "45902f", "951500" : "296219" },
    { "dc1f00" : "535353", "be1b00" : "363636", "951500" : "111111" },
    { "dc1f00" : "e6e6e6", "be1b00" : "979797", "951500" : "6f6f6f" },
    { "dc1f00" : "9e9e9e", "be1b00" : "6e6e6e", "951500" : "434343" },
    { "dc1f00" : "f794f8", "be1b00" : "d355c1", "951500" : "b72c95" }
    ]
    }
    ]
    
    
    charcreation patch:
    
    [
    {
    "op": "add",
    "path": "/paneLayout/labelAltz",
    "value":
    {
    "type" : "label",
    "position" : [125, 139],
    "hAnchor" : "left"
    }
    },
    {
    "op": "add",
    "path": "/paneLayout/altz",
    "value":
    {
    "type" : "label",
    "position" : [192, 139],
    "hAnchor" : "left"
    }
    }
    ]
    A photoshopped image of what am I aiming for:
    [​IMG]
     
  2. IHart

    IHart Scruffy Nerf-Herder

    I am pretty sure it is hard-coded in such a way to prevent you from adding more color types. You could do it if you removed facial hairs and add:
    Code:
      "hairColorAsBodySubColor" : true,
      "headOptionAsHairColor" : true,
    
    then you just use the existing "hairColor" field. OR just add it as shirt and pants.
     
  3. Stormalisk

    Stormalisk Scruffy Nerf-Herder

    Is it possible to attach the underwear color too clothing color's options? Without making undies an actual item.
     
  4. IHart

    IHart Scruffy Nerf-Herder

  5. Stormalisk

    Stormalisk Scruffy Nerf-Herder

    I do not think that is what I am looking for.

    When i switch shirt color option to change shirt colors, could it be possible to make something on the body also change colors? Only on character creation?
     
  6. IHart

    IHart Scruffy Nerf-Herder

    to the best of my knowledge, it is not possible
     
  7. Stormalisk

    Stormalisk Scruffy Nerf-Herder

    Well the I suppose the mass options is best option for now until something better is found.

    Though I noticed apex do not have any options for "hair color", however, I am assume it wont be much help because of the extra beard option.
     
  8. IHart

    IHart Scruffy Nerf-Herder

     
  9. Stormalisk

    Stormalisk Scruffy Nerf-Herder

    Attempted it, get this as a result.

    [​IMG]
     
  10. Stormalisk

    Stormalisk Scruffy Nerf-Herder

    Here is my code:
    Code:
    [
    {
    "op": "add",
    "path": "/hairColorAsBodySubColor",
    "value": true
    },
    {
    "op": "add",
    "path": "/headOptionAsHairColor",
    "value": true
    },
    {
    "op": "replace",
    "path": "/hairColor",
    "value": [
    // 1
    { "dc1f00" : "4d76ad", "be1b00" : "395187", "951500" : "20325b" },
    { "dc1f00" : "7c41b8", "be1b00" : "6c2f90", "951500" : "471962" },
    { "dc1f00" : "c63442", "be1b00" : "9b2724", "951500" : "6a1210" },
    { "dc1f00" : "eaa245", "be1b00" : "b47020", "951500" : "834a0c" },
    { "dc1f00" : "e3e13a", "be1b00" : "a8a614", "951500" : "848008" },
    { "dc1f00" : "6ab841", "be1b00" : "45902f", "951500" : "296219" },
    { "dc1f00" : "535353", "be1b00" : "363636", "951500" : "111111" },
    { "dc1f00" : "e6e6e6", "be1b00" : "979797", "951500" : "6f6f6f" },
    { "dc1f00" : "9e9e9e", "be1b00" : "6e6e6e", "951500" : "434343" },
    { "dc1f00" : "f794f8", "be1b00" : "d355c1", "951500" : "b72c95" }
    ]
    }
    ]
    Though I reverted back to my previous solution with each skin color having variants, which are each of the underwear colors. So far I think that is possibly the best bet, even though some might get annoyed by it.
     

Share This Page