Help:Creating locked doors

From Killing Floor Wiki
(Redirected from Mapping:Locked Doors)
Jump to: navigation, search

[edit] Requirements

Make sure that these work together.

Now, we need to change some properties to make this door a lock and key combo.

[edit] Glitch Prevention

First lets set some failsafe properties so players cant glitch our locked door. Click on the door mover and open up your properties (f4). Expand the KFDoorMover block and lets set:

__ KFDoorMover
__ bDisallowWeld True


Note: if you leave it FALSE, players can simply weld the door then blow it up with grenades and there goes your locked door.

Ok, in the same block set bKeyLocked to TRUE:

KFDoorMover
__ KFDoorMover
__ bDisallowWeld True
__ bKeyLocked True


[edit] Lock & Key

Now, open the Events block and we need to set the TAG. For this tutorial im using "KEYDOOR". you can name it whatever you like.

Next, select your KFUseTrigger and open the properties. The only thing we change in here is the Events and UseTrigger blocks. In the Events block, enter KEYDOOR in the EVENT area. Now open UseTrigger block and enter a message such as Find the key somewhere in this area. We're done with that actor.

KFUseTrigger
__ Events
__ Event KEYDOOR

Now we need to place a key! Open your Actor browser and under Actor Classes go to:

_- Actor
_- Pickup
_- KFKeyPickup


Highlight it, right click somewhere in your map and select Add KFKeyPickup Here.

Finally, lets select our key pickup and open properties. Open the Events block and set:

KFKeyPickup
__ Events
__ Tag KEYDOOR


That's it! go in game and test it! Try to open your door, it wont budge, go grab your key and now you can access the area!

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox