Re: Problem with spawning alcove where a wall was
Posted: Wed Jan 23, 2013 1:49 am
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 :/
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 :/