Modding Help [Nothing]

Discussion in 'Starbound Modding' started by Derpiebird, Apr 21, 2014.

Thread Status:
Not open for further replies.
  1. Derpiebird

    Derpiebird Phantasmal Quasar

    [Thanks for the help.]
     
    Last edited: Sep 8, 2014
  2. Kawa

    Kawa Tiy's Beard

    Items, as far as I can tell, have their properties stored with them, internal to the player carrying them. Which is why I had to acquire a new instance every time I changed the position and angle data on my katar. The images for those items are not internal. The item properties include a list of color remaps.

    Therefore, that first shot is perfectly doable with a bit of applied Starcheat. Use it to give yourself a batwingsback item, then add a custom replace directive that turns the whole thing orange, and a bunch of status effects for the effects. Since the bat wings are vanilla, the graphics are available on any server. Same goes for the rest of the costume, or even the player's body. The mod is entirely a part of the player data.

    Similar things apply to weapons, as I'd learned from my katar.
     
    The | Suit likes this.
  3. Derpiebird

    Derpiebird Phantasmal Quasar

    I'm talking about the glowing on the wings, is that just a status effect?
    Because I doubt it.

    If so, which one? I know it is not glow.
     
  4. Kawa

    Kawa Tiy's Beard

    You weren't that specific in your opening post and the colors alone are way off, so I gave a general answer.

    But just because I can, I'll do some practical research.
     
  5. Peelz

    Peelz Giant Laser Beams

    Looks like they just applied two different status effects to the batwingsback. The effect looks like it is cobbled together from "glow" and possibly "burning". Look in the code for the lantern-on-a-stick to find out how to apply glow effects.
     
  6. Kawa

    Kawa Tiy's Beard

    Nah, I tried that. Glow doesn't do the outline-y thing.
     
  7. Peelz

    Peelz Giant Laser Beams

    Even if you set "amount" really low? Like .1 or something?
     
  8. Kawa

    Kawa Tiy's Beard

    I should try that. But not now. I must sleep.
     
  9. Derpiebird

    Derpiebird Phantasmal Quasar

    That's not it, I tried.

    Or maybe it is, and I did it wrong.
     
  10. capizma

    capizma Cosmic Narwhal

    The wings kinda look cutom sprited?
    Edit: and the legs definitely are.
     
  11. Scythe

    Scythe Void-Bound Voyager

    Armor cannot be custom sprited :T
     
  12. capizma

    capizma Cosmic Narwhal

    Other ideas to why the legs look like that then?
     
  13. Kawa

    Kawa Tiy's Beard

    Hacked player file, edited the recolor data for the armor. And it's not just the armor that you can edit in this way: you could do things like having a human character without underwear simply by mapping magic reds to the same values as the flesh tones, or an Avian with a non-white belly and an overall non-standard color.
     
    The | Suit and capizma like this.
  14. capizma

    capizma Cosmic Narwhal

    True dat. What if the admin had the mod previously installed for, you know, admin HAX?
    Edit: This doesn't look very likely.
     
  15. capizma

    capizma Cosmic Narwhal

    Intrigued. How would the armor color files be bypassed?
     
  16. Scythe

    Scythe Void-Bound Voyager

    Simplest way is to use Starbound SBSE.
     
  17. Kawa

    Kawa Tiy's Beard

    Easy.

    1. Get Starcheat.
    2. Quit Starbound, just to make sure it won't overwrite the upcoming changes.
    3. Open your .player file.
    4. Export it to JSON.
    5. Open the JSON file in your favorite editor.
    6. Search for "equipment". You'll find a passage like this:
    Code:
                {
                    "count": 1,
                    "data": {
                        "directives": "?replace;ffca8a=ccae7c;e0975c=a47844;a85636=754c23;6f2919=472b13"
                    },
                    "name": "justajacket"
                },
    You can edit the color hexcodes, add more, remove them... The same goes for the character wearing the armor with the "bodyDirectives", "emoteDirectives", and "hairDirectives" entries.
    Finally, import the JSON back into Starcheat and save the .player file.

    I understand from a cursory search that SBSE only edits extant color entries -- the reds and such.
     
  18. capizma

    capizma Cosmic Narwhal

    Neat!

    I'll check this out :)
     
  19. Scythe

    Scythe Void-Bound Voyager

    If you know the original HEX color codes of the armor piece, the option to add more replacement color codes is there for use but that's a little more of a hassle for the average user.
     
    Derpiebird likes this.
  20. Kawa

    Kawa Tiy's Beard

    Good thing I said it was a cursory search. Boy would my face've been #DC1F00 if I'd claimed otherwise and been proven wrong :)
     
    Derpiebird likes this.
Thread Status:
Not open for further replies.

Share This Page