Problem with spawning alcove where a wall was

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Dragomir
Posts: 12
Joined: Wed Jan 16, 2013 12:09 am

Re: Problem with spawning alcove where a wall was

Post by Dragomir »

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 :/
Dragomir
Posts: 12
Joined: Wed Jan 16, 2013 12:09 am

Re: Problem with spawning alcove where a wall was

Post by Dragomir »

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.
Post Reply