Name:
Doors With Glass Description:
This tutorial shows in easy steps how to create a moving door with
a glass window
Update: January 21,
2000 Download the tutorial here
as *.zip file
The simply trick to make doors with glass is that
you have to make two doors, one for the frame and one for the glass
/ gate.
So now we get started. First make a brush at the place the door should
be and give it a door texture with a window. In the example I have
taken the fifties_dr5 texture.
Then you have to carve out the black part and put in a brush with
a glass texture
Now make the frame to a func_door
Give it the following keys at the entity inspector:
Then select the window and make a func_door out of it, too.
Give it the following keys:
The rendermode and renderamt key is important to make the glass transparent.
The lip of -36 tells the program that the window is at the same position
when the door is open, as the picture shows. Position 1 is when the
door is open and position 2 is when it's closed.
IMPORTANT:
The two doors must have the same angle, target, speed and wait
value!!!
Two ways to open that doorThere are two ways to open the two doors at the
same time.
The first way is that you trigger the door with a button. Make a brush
and make it a func_button. Then give it following keys:
The keytarget shows the target of the button, the keywait shows the time after which the button is available again
and the keyspawnflags = 1 says that the button shouldn't
move.
The second way to open it, is to trigger it with a trigger_multiple.
Simply make this trigger in front of the door so when the player moves
at it will be activated. Then give it the following keys:
The keys are mostly the same as by the func_button, only the keyspawnflags is different. The value 256 here only says that
the trigger is activated by touching.