Sorry, poorly worded by me. What I mean to say is: place this in your objects.lua, and you will have perfect illusionary walls, visible from both sides, in all 3 stock dungeon tilesets.
Code: Select all
defineObject{
name = "illusion_dungeon",
class = "TorchHolder",
model = "assets/models/env/dungeon_secret_door.fbx",
anchorPos = vec(0.05, 1.53, -0.25),
anchorRotation = vec(0, -20, -90),
placement = "wall",
editorIcon = 84,
}
defineObject{
name = "illusion_temple",
class = "TorchHolder",
model = "assets/models/env/temple_secret_door.fbx",
anchorPos = vec(0.05, 1.53, -0.25),
anchorRotation = vec(0, -20, -90),
placement = "wall",
editorIcon = 84,
}
defineObject{
name = "illusion_prison",
class = "TorchHolder",
model = "assets/models/env/prison_secret_door.fbx",
anchorPos = vec(0.05, 1.53, -0.25),
anchorRotation = vec(0, -20, -90),
placement = "wall",
editorIcon = 84,
}
Must be placed on a wall and moved into position. If you have a custom tileset, copy one of these objects and just rename the model string to point at your tileset's secret door model. (And give it a new name!)aka. northern_dungeon_secret_door.fbx, corrupt_secret_door.fbx etc. Think It can be done with a wall grating in each one to maybe give a consistent visual cue to the player so they're not randomly bumping walls if anyone wants.