Modding Help Objects on player ships

Discussion in 'Starbound Modding' started by Grinjr, Dec 15, 2013.

  1. Grinjr

    Grinjr Phantasmal Quasar

    Hey, I'm making a space station for whenever I make a new human character. I'm trying to add steel platforms, and I am not sure how to add them. I looked through the dungeon format of generating the steel platforms and it is:
    Code:
        {
          "value" : [196, 175, 113, 255],
          "comment" : "steel stairs/platform",
          "brush" : [ [ "clear" ], [ "front", "steelplatform" ] ]
        }
    I've tried that, and it doesn't work. I also tried editting it to be more like lights or teleports by changing it to:
    Code:
        {
          "value" : [196, 175, 113, 255],
          "foregroundBlock" : false,
          "backgroundBlock" : true,
          "backgroundMat" : "apexshipdetails",
          "object" : "steelplatform",
          "objectParameters" : {
            "unbreakable" : true
          }
        }
    This doesn't work either. The first one generates the shipworld without the steel platforms as I figure it is not in the correct format. The second just says "Client-server connection no longer valid!" when I try creating a new character on single player.
    Anyone have any idea on how I would go about adding platforms? I have also tried following the format that dungeons use by creating an objects.png file then borrow the code from one of the dungeons and put the platforms in the objects.png file.
    The code I borrowed was:
    Code:
        {
          "name" : "1",
          "rules" : [
            [ "maxSpawnCount", [1] ]
          ],
          "def" : [ "image", [ "1.png", "1-objects.png" ] ]
        }
    This sadly didn't work either as I figured it wouldn't.
    Does steelplatform have a different name?
     
    Last edited: Dec 15, 2013
  2. Grinjr

    Grinjr Phantasmal Quasar

    No one knows I assume?
     
  3. vernadead

    vernadead Big Damn Hero

    Im wondering myself aswell
     
  4. Ponyus

    Ponyus Subatomic Cosmonaut

    as far as i understand, platforms counts as "materials", like normal blocks. this worked on the ship im working on

    Code:
        {
          "value" : [137, 65, 56, 255],
          "foregroundBlock" : true,
          "backgroundBlock" : true,
          "backgroundMat" : "apexshipwall",
          "foregroundMat" : "modernplatform"
        }
    i assume it would work the same for steel platforms.
     
  5. Nightmares

    Nightmares Scruffy Nerf-Herder

    a platform would be a foreground block, something you want to jump on. Switch foregroundBlock to true and backgroundBlock to false. Since you're making the background "apexshipdetails" that would probably just draw over or straight up replace your platforms.
     

Share This Page