Hey guys, I'm trying to create a decorative object that can be placed in the background and have other objects in front of it. The above image is the object in question. I'd like it to be in the background but I can't seem to place other objects in front of it. Removing the spaceScan entry works but then I can no longer select the object or interact with it in any manner. Any assistance would be appreciated. { "objectName" : "SparrowShipClosed", "colonyTags" : ["hylotl"], "rarity" : "Common", "description" : "A compact human frigate converted for cargo duty.", "shortdescription" : "Sparrow Cargo Frigate", "race" : "generic", "category" : "decorative", "price" : 300, "lightColor" : [2, 2, 30], "inventoryIcon" : "SparrowShipIcon.png", "orientations" : [ { "imageLayers" : [ { "image" : "SparrowShipClosed.png:<color>", "fullbright" : true }, { "image" : "SparrowShipClosedLit.png:<color>" } ], "flipImages" : true, "direction" : "left", "imagePosition" : [0, 0], "frames" : 1, "animationCycle" : 1.0, "spaceScan": 0, "renderLayer" : "Object-10", "anchors" : [] }, { "imageLayers" : [ { "image" : "SparrowShipClosed.png:<color>", "fullbright" : true }, { "image" : "SparrowShipClosedLit.png:<color>" } ], "direction" : "right", "imagePosition" : [0, 0], "frames" : 1, "animationCycle" : 1.0, "spaceScan": 0, "renderLayer" : "Object-10", "anchors" : [] } ] }
Here is the info you need - https://community.playstarbound.com...ment-zlevel-renderlayer-spaces-anchor.130154/
Thanks. That is the first place I looked but I was not able to get it to work. I tried using variations of renderLayer and spacescan but it would not work.
i think what you mean is actually place an object in front of that object. this is impossible without making the large object not have any tile spaces and therefore intangible
Yeah. Although you could limit spaces to a single tile. So you could place objects in front of almost all of it. For example Code: "spaces" : [ [0, 0] ], To cover over this again, "spaces" defines which relative tiles the object is considered to exist within. "spaceScan" is used for automatic detection decided upon by the PNG image itself where "spaces" allows you to manually set this. That's why manually defining this is best. Objects can't 'exist' in the same space after all, but it isn't a problem for the PNGs to be drawn in the same place. "renderLayer" doesn't effect where the object is supposed to exist, but where the image itself is drawn and thus what it will cover/what will cover it.