Modding Help Some modding stuff I need help with

Discussion in 'Starbound Modding' started by MitKit, Apr 20, 2016.

  1. MitKit

    MitKit Phantasmal Quasar

    Hello there! I've got a little question that needs answering... Ya' know how the human scouter armor's visor looks, with it showing your character's hair?
    If you don't know what I mean look at this:
    upload_2016-4-20_15-56-39.png

    Well I was wondering... Is there a way to make my own armor show the character's hair under the helmet/hat?
     
  2. Mackinz

    Mackinz The Waste of Time

    Mess around with the mask.png for your mod added hats.
     
    Relten likes this.
  3. MitKit

    MitKit Phantasmal Quasar

    What do you mean by "mess around"?
     
  4. Mackinz

    Mackinz The Waste of Time

    Edit in an image editor? Save the image and reload the game/mods with /reload ? Re-edit as need be? I can't tell you how to edit your mask.png to accomplish what you want since I do not know what your hat looks like, but you do so you should mess around with editing it.
     
  5. C0bra5

    C0bra5 Oxygen Tank

    here is the quick 101,
    take the upper right 43x43 space of your head.png, overlay over your mask.png, delete the region covered by the head.png piece, done
     
    MitKit likes this.
  6. TheElderScroller

    TheElderScroller Pangalactic Porcupine

    or just say the item has "mask" : ""
     
  7. C0bra5

    C0bra5 Oxygen Tank

    That works too
     
  8. MitKit

    MitKit Phantasmal Quasar

    Thank you guys, this helped a lot!

    Now I have another question... How do I make it so I can dye the modded in clothes?
     
  9. C0bra5

    C0bra5 Oxygen Tank

    You need to add color options in your file and when you create the recipe do something like
    "Item" : "myarmor",
    "count" : 1337,
    "data" : {
    "colorIndex" : index of the color in the color options
    }
     
  10. MitKit

    MitKit Phantasmal Quasar

    Can you give me an example?
     
  11. C0bra5

    C0bra5 Oxygen Tank

    .reciepie file
    Code:
    {
        "input" : [
            { "item" : "ironbar", "count" : 5 }
        ],
        "output" : {
            "item" : "humantier1chest",
            "count" : 1,
            "data" : {
                "colorIndex" : 6
            }
        },
        "groups" : [ "plain", "armors", "all" ]
    }
    
    player.config.patch file
    Code:
    [
    { "op": "add", "path": "/defaultBlueprints/tier1/-", "value" : { "item" : "humantier1chest", "data" : { "colorIndex" : 6 } } }
    ]
    
     
  12. MitKit

    MitKit Phantasmal Quasar

    It's not doing anything ... Also I'm trying to dye only a specific part of it, the parts I want to dye are all the default human underwear color (red).
     
  13. C0bra5

    C0bra5 Oxygen Tank

    these things are set in stone once you create your character, you can only change it with something like starcheat or any save modifier
     
  14. MitKit

    MitKit Phantasmal Quasar

    What do you mean? I have to make a new character to dye my armor?
     
  15. C0bra5

    C0bra5 Oxygen Tank

  16. C0bra5

    C0bra5 Oxygen Tank

    these are literally part of your character
    upload_2016-4-23_15-37-27.png
     
    The | Suit likes this.
  17. MitKit

    MitKit Phantasmal Quasar

    I know, but what I want is to use any dye item to dye my own armor.
     
  18. C0bra5

    C0bra5 Oxygen Tank

    the only way you can color a piece of armor is by creating a loads of recipe that will take an item and a die and give you the item with the related color index.
     
  19. Mackinz

    Mackinz The Waste of Time

    Um... no? The dyes use a color index system. You just have to put in the proper hexadecimal replacement values...
     
    Relten likes this.
  20. C0bra5

    C0bra5 Oxygen Tank

    Wait what, so the solution would just be dye the thing in game and make sure to have the right amount of color options in your armor?
     

Share This Page