I'm trying to make a hatch (door) that opens sideways. Basically, I took the files for the 'cool apex door' and changed some of the text around. I had it sort of working. I was able to get it to be placed between two blocks, one above and one below like a normal door. However, I can't get it to become placable between two walls like this: On the left there is where it's located in the image. I'm trying to make it so I can place this hatch between two blocks, left and right, and open it. When I managed to alter the file to let me place it between two top and bottom blocks like a normal door, the animation worked fine. My only problem is getting it to place between two left and right blocks. This is the code: { "objectName" : "silvhatch", "rarity" : "Common", "objectType" : "wire", "category" : "door", "price" : "2000", "description" : "A hatch useful for hidding things.", "shortdescription" : "Platinum enforced hatch", "race" : "apex", "apexDescription" : "This door looks strong enough to keep anything out... or everyone in.", "avianDescription" : "A strong door. Not even the breeze could slip through.", "floranDescription" : "Door of great ssstrength.", "glitchDescription" : "Jealousy. Such strong materials.", "humanDescription" : "A huge, heavy security door.", "hylotlDescription" : "This looks strong enough to hold back the ocean.", "inventoryIcon" : "silvhatchicon.png", "orientations" : [ { "image" : "silvhatch.png:default", "flipImages" : true, "imagePosition" : [-25, 3.0], "spaceScan" : 5.0, "anchors" : [ "left", "right" ], "direction" : "left" }, { "image" : "silvhatch.png:default", "imagePosition" : [-25, 3.0], "spaceScan" : 5.0, "anchors" : [ "left", "right" ], "direction" : "right" } ], "scripts" : [ "/objects/wired/door/door.lua" ], "scriptDelta" : 5, "animation" : "/objects/wired/door/door.animation", "animationParts" : { "door" : "silvhatch.png" }, "animationPosition" : [-25, 3.0], "inboundNodes" : [ [0, 4] ], "outboundNodes" : [ [0, 0] ], "openSounds" : [ "/sfx/objects/apexcooldoor_open.wav" ], "closeSounds" : [ "/sfx/objects/apexcooldoor_close.wav" ] } Admittedly I'm not that good with JSON but I've managed to make some fun basic mods. This is the only thing I'm having issues with. Can anyone point out what I did wrong?
I'm working on the same thing right now. Want to work together? I succeeded in making an alternate item but I'm trying to make one door with alternate orientations, but I'm stuck on the initial animation on placement always being vertical.
i couldn't find out what's wrong with your code so i made my own here it is working just fine If you want to use as reference here it's the download https://dl.dropboxusercontent.com/s...AGubX1upcteTlqh9-6wPisXE0Hnq-oxtcVi4Akoc18HDA
Thank you very much! Btw, relevant to thread: http://community.playstarbound.com/index.php?resources/horizontal-doors.1059/