Modding Help Ship backgroundOverlay using drawables

Discussion in 'Starbound Modding' started by Corru, Jan 31, 2016.

  1. Corru

    Corru Space Hobo

    Hi there! I've been experimenting with the use of drawables as the backgroundOverlay to a ship to see if I could make a vanilla-friendly ship mod. Something that anyone can use, but not everyone has to have downloaded to see. It probably sounds dumb, but I want to do it! I know other people have done it, too, I've seen it before.

    So, I used a small(ish, it's still a lot of text) test sprite with a .png->drawable program that works beautifully for item drawables, then dumped the output into the backgroundOverlay variable in apext0.structure.
    I used the not-glitchy version of this:
    http://i.imgur.com/zAa8jZr.gif

    You can see the file contents here: (Warning, lots of text!)
    http://pastebin.com/BxxVpEhH

    And then, it came out with this:
    http://i.imgur.com/GkI919x.png

    So, it definitely is possible, but it seems like the position value refers to block spaces in that context, which makes sense. The reason that 8.1 is used instead of 9 in that file is because I experimented with seeing whether it would process a float any differently. I think it just rounded up.

    Any one have experience with this? Any suggestions?
     

Share This Page