I added this to objetcs.lua
defineObject{
name = "temple_secret_door_replace_wall",
class = "Door",
model = "assets/models/env/temple_secret_door.fbx",
openSound = "wall_sliding",
closeSound = "wall_sliding",
lockSound = "wall_sliding_lock",
openVelocity = 0.5,
closeVelocity = -0.5,
secretDoor = true,
replacesWall = true,
placement = "wall",
editorIcon = 120,
}
But it still doesnt make a huge black hole when i destroy the door :/
Problem with spawning alcove where a wall was
Re: Problem with spawning alcove where a wall was
Ok i tried the 2 solutions i had.
1. Redefine a secret door. This one didnt work. No black hole or black space when the item is destroyed.
2. Redefine a wall decoration. This one works !!!! When the mosaic tile is destroyed the wall is gone completly and the alcove can now be spawned correctly
Thx a lot Komag. I can now continu my evil plans.
1. Redefine a secret door. This one didnt work. No black hole or black space when the item is destroyed.
2. Redefine a wall decoration. This one works !!!! When the mosaic tile is destroyed the wall is gone completly and the alcove can now be spawned correctly