Page 1 of 1

One-Way-Doors / Secret Doors

Posted: Tue Feb 24, 2015 3:01 am
by sajon
I have recently been thinking about how to make a one-way door / secret door.
Does any one have any ideas on how this would be done?

Re: One-Way-Doors / Secret Doors

Posted: Tue Feb 24, 2015 7:32 am
by Frenchie
When I think about secret doors I imagine the following ones:

- a closet that swings open like a door
- a revolving wall
- a transparent mirror
- a chimney with an illusion wall behind it
- a caved in passage with rocks that can be removed to open a small opening to enter and afterwards caved further in
- an illusionary bush hiding an entrance
- dream world entrance (John's ORRR1 room)
- bricks in walls turning and moving side ways (saw it in a Potter movie once)

I just wonder if these can be made possible. Can you link a normal door with wall graphics, so sliding doors become sliding walls?

Re: One-Way-Doors / Secret Doors

Posted: Tue Feb 24, 2015 7:51 am
by minmay
Doors in Grimrock have special "animation" and collision handling based on the "gate" node in the model. This is why there aren't any .animation files for standard doors opening/closing, and why you can throw a rock through a partly-closed door. The only forms of this "animation" supported for doors are moving up/down (most doors) and moving sideways (iron double door in Grimrock 1). So if you want a "door" with more complicated animation, you make normal animations and add code to enable/disable the DoorComponent as it closes/opens. See the definition of beach_master_gate for an example.