Modding Help Render tech behind player

Discussion in 'Starbound Modding' started by projectmayhem, Apr 23, 2019.

  1. projectmayhem

    projectmayhem Spaceman Spiff

    Trying to make a tech for personal use, its a remake of the Flying Carpet mod that lets you place blocks while sitting on the carpet. I am stuck on getting the carpet to render below the player. I've tried zLevel -1 all the way to zLevel -6 and renderLayer = monster

    Ive used them in my animation file where the carpet image is

    Code:
    "on" : {
                  "properties" : {
                  "zLevel" : -6,
                  "image" : "carpet.png:<frame>"
                  }

    Is it not possible to get the tech to render below the player?
     
  2. bk3k

    bk3k Oxygen Tank

    I didn't test this, but I think it might work.

    Code:
    "on" : {
      "properties" : {
        "renderLayer" : "Player-1",
        "image" : "carpet.png:<frame>"
      }
    }
    
    If that doesn't work, try adding it to the .tech file itself. Objects tend to use in in "orientations", but projectiles use it in the .projectile file. And I suppose spawning a projectile is technically an option too.
     
  3. projectmayhem

    projectmayhem Spaceman Spiff

    yeah i tried the tech file too. Wasnt sure where to try it, just tried putting it on what i guess would be called the top layer of the code since it has no orientation. I was looking at the distortion tech for help, it puts zLevel +1 in the animation file, which is why i tried that first
     

Share This Page