Air Lock Trap
Black_Hawk_VS
Join Date: 2003-03-13 Member: 14478Members, Constellation
<div class="IPBDescription">How do I make one?</div> I would like to stick a airlock trap in my map. I heard that it has been done in a TFC map, and would likr to know how it is done, so that I can use one in my map. I basically want it so that there is a switch or button in the control room for the air lock and anyone in the main room will be blown out into space and die.
Comments
make it a trigger_push in the direction of the open airlock. When the button or whatever is pushed, it triggers the push. Then outside the airlock make it a trigger_hurt.
Make a small room with 2 doors: named "A" and the other one, "B". A starts opened, leading from the map into the airlock and the another one,"B" is closed, which leads out into another room thats filled with skybrushes to simulate space... which im assuming your map is on a spaceship.
Now, you need several entities to make this work and rest appropriately to work with another sucker. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
#1
Make a func_push entity and name it "push". Make it cover the whole room and change it's direction so it pushes you toward door "B".
#2
Make a trigger_hurt and name it "hurt". Set it's damage to 100 and damage type to water (So when what kills you is actually like drowning.. lack of oxygen <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->)
Place the brush so it covers the whole room.
#3
Make a switch and have it trigger "airlock".
Make it reset only after 10 seconds.
#4
Make a multi_manager entity in the room and name it "airlock".
Turn off Smartedit and add this:
Key : A Value : 0
Key : hurt Value : 2
Key : push Value : 2
Key : B Value : 2.1
Key : B Value : 5
Key : A Value : 6
This will do the following:
Close door "A" as soon as you press the switch.
It will start hurting after 2 seconds and it will also push towards door "B", which opens .1 second after it starts to hurt. Then, 5 seconds after you pressed the switch. It closes and A opens after 1 second.
Make sure that the doors operate fast (to prevent your victim from escaping <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> ) and check the door's flag to "TOGGLE", to make sure it has to be linked via a switch.
There ya go!
Thats the basis of it... you can add smoke near door B to simulate air coming out, and warning sound and lights.. just make sure they are triggered from the multimanager, and then turned off by it again (to reset for another sucker <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> )
Enjoy!
Besides.. there is no effect that i don't know how to do with the HL engine <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
My HD is FILLED with about 200 test maps, each with their individual little effect possible.
So much fun.
And yes... many BMRF scientist have died during the making of these maps <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
secondly I'm unsure as how to make a door.
thanks for any help!
As for the doors, make a brush, cover it with a door texture and select it.
Then, press CTRL-T to turn it into an entity.
Select FUNC_DOOR.
Set the ANGLE of the door to UP.
Voila!
heres the idea, I want to make like two half doors that close simultaneously like blast doors that can be opened and closed by a button
what should I use then??(i.e.to compile)
<span style='font-size:21pt;line-height:100%'> </span>THX BLACKHAWK
<!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
I'ver already set the damage to twenty.
<!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->