From b92e26244c96773cad5a1ec8dc2d527f8c9aeb81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Przemys=C5=82aw=20Grzywacz?= Date: Tue, 18 Oct 2011 23:32:18 +0200 Subject: [PATCH] Updated func_door entity --- scripts/entities.def | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/entities.def b/scripts/entities.def index 2ec6f144..ecd86142 100644 --- a/scripts/entities.def +++ b/scripts/entities.def @@ -146,13 +146,16 @@ dmg: damage to inflict when blocked (when triggered and someone is in the way) sounds: when 1, use default door sounds noise1: sound when the door opens noise2: sound when the door closes +itemkeys: keys required to open this door. -------- SPAWNFLAGS -------- START_OPEN: causes the door to move to its destination when spawned, and operate in reverse. It is used to temporarily or permanently close off an area when triggered (not useful for touch or damage triggered doors). DOOR_DONT_LINK: the door won't link with another door it touches -GOLD_KEY: causes the door to open only if the activator holds a gold key. -SILVER_KEY: causes the door to open only if the activator holds a silver key. +GOLD_KEY: causes the door to open only if the activator holds a gold key (Q1 compatibility). +SILVER_KEY: causes the door to open only if the activator holds a silver key (Q1 compatibility). TOGGLE: causes the door to wait in both the start and end states for a trigger event. NOSPLASH: if set, splash damage cannot activate the door, only direct damage can (requires health to be set) +-------- NOTES -------- +More information about keys can be found in item_key description. */ /*QUAKED func_door_rotating (0 .5 .8) ? START_OPEN BIDIR DOOR_DONT_LINK BIDIR_IN_DOWN - TOGGLE X_AXIS Y_AXIS NOSPLASH -- 2.39.2