Jump to content

Home

How do u make a door to open with a key or a code?


Johnny-Rico

Recommended Posts

Originally posted by Johnny-Rico

can u like make few buttons that u need to push them in the right order and the door will open?

 

 

I dont think so maybe in a single player map because i think that involves a script to do that maybe someone else can anwser you but i dont think it can be done Theres something else you can do if you dont want other players to know about it make a breakble wall somewhere hidden only problem is when you break it will be open until the map is reset by the sever

Link to comment
Share on other sites

For SP

 

Actually you make a NPC_imperial (Or whatever) and tick the Commander box. Then you make your button, turn it into a func_usable (If you want it to change color that is) and put your trigger_multiple in front. Go back to the NPC_imperial and add a "message" key and any value you want (Will be used for a target). Go to the trigger_multiple and add "targetname" and whatever value you used for the "message" key. Then just make the door like you normally would.

 

In the game the player kills the Inperial and gets the key. Walks to the door and the door opens. If no key it will go "You need a security key".

 

There are many ways but this is a one I know. It is a simple method. Check out the definition box in Radiant for furthur details.

 

For MP

 

It is impossible. MP doesn't support keys and codes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...