wizzomafizzo / starcheat

Starbound player save editor and Python library
MIT License
112 stars 47 forks source link

Alpha hexadecimals and other directives. #261

Open ghost opened 8 years ago

ghost commented 8 years ago

Starcheat doesn't seem to account for the alpha values at the end of directives. (?replace=ffffff00, for example would be a white with 0 opacity.) Along with this, it doesn't seem to detect masks on headgear or any other image directives aside from replace.

Link to other directives: http://pastebin.com/5pvg3Gth

wizzomafizzo commented 8 years ago

thanks for reporting this. is there anything in there that actually breaks the player or is it just cosmetic stuff in starcheat? this is a fairly large job, probably need to prioritise anything that breaks stuff

Xirukai commented 8 years ago

It does detect other directives. The way to implement them has been altered. As for masks which govern what will be visible of your character. It does what it says on the tin, simply putting " " or [ ] cant remember which and you're good to go.

All depends on whether Starbound will reset values given or not. Since hardcoded items tend to be a pain, tried putting mframes of something onto an originally femaleFrames part of an item. Didnt work, altered to default.

Here's my code for making everything on the steamspring hat invisible. Except for the glasses part. It is working for me.

http://pastebin.com/VsWY4Fry

If you wanna change it up, add this in directives, ?border;3;00FF00;00FF00;

ghost commented 8 years ago

Yeah, it's mainly cosmetic. It's not too big of an issue/bug, more just something that'd be helpful for gauging clothing edits. (@Xirukai, it's the starcheat preview, not ingame itself. This is what happens if you try to view your changes in starcheat)

Xirukai commented 8 years ago

Ah yes. Okay.