From: Freddy Date: Mon, 5 Mar 2018 20:50:22 +0000 (+0100) Subject: Improve entity description for doors X-Git-Tag: xonotic-v0.8.5~120^2~23 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=767139f3f4996c55b1af54b3d104f35444e6179e;p=xonotic%2Fxonotic-maps.pk3dir.git Improve entity description for doors --- diff --git a/scripts/entities.ent b/scripts/entities.ent index bb7bbdb0..1d1d952f 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -154,7 +154,7 @@ A conveyor. Nonsolid trigger version. -Normal sliding door entity. By default, the door will activate when player walks close to it or when damage is inflicted to it. +Normal sliding door entity. By default, the door will activate when player walks close to it or when damage is inflicted to it. Can be locked with keys. If DOOR_DONT_LINK is not set, the door will be linked with all doors it touches. Note however that for linked doors to work properly, it is necessary that ALL linked doors have SOME volume of common area (that is, there must be a point that is part of ALL doors). -------- KEYS -------- is printed when the door is touched if it is a trigger door and it hasn't been fired yet, or death message if dmg is set @@ -168,16 +168,17 @@ If DOOR_DONT_LINK is not set, the door will be linked with all doors it touches. lip remaining at end of move (8 default) damage to inflict when blocked (when triggered and someone is in the way) when 1, use default door sounds -sound when the door opens -sound when the door closes -keys required to open this door. +sound when the door is unlocked +sound when the door stops moving +sound when the door is moving +sound when the door can't be unlocked +keys required to open this door (1 for gold key, 2 for silver key, 3 for both) -------- SPAWNFLAGS -------- 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). the door won't link with another door it touches -causes the door to open only if the activator holds a gold key (Q1 compatibility). -causes the door to open only if the activator holds a silver key (Q1 compatibility). causes the door to wait in both the start and end states for a trigger event. if set, splash damage cannot activate the door, only direct damage can (requires health to be set) +crush players hit by the door instantly -------- NOTES -------- More information about keys can be found in item_key description. @@ -189,7 +190,7 @@ If DOOR_DONT_LINK is not set, the door will be linked with all doors it touches. BIDIR makes the door work bidirectional, so that the opening direction is always away from the requestor. The usage of bidirectional doors requires two manually instantiated triggers (trigger_multiple), the one to open it in the other direction must have set trigger_reverse to 1. -BIDIR_IN_DOWN will the door prevent from reopening while closing if it is triggered from the other side. +BIDIR_IN_DOWN will prevent the door from reopening while closing if it is triggered from the other side. -------- KEYS -------- is printed when the door is touched if it is a trigger door and it hasn't been fired yet, or death message if dmg is set death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) @@ -200,8 +201,11 @@ BIDIR_IN_DOWN will the door prevent from reopening while closing if it is trigge wait before returning (3 default, -1 = never return) damage to inflict when blocked (when triggered and someone is in the way) when 1, use default door sounds -sound when the door opens -sound when the door closes +sound when the door is unlocked +sound when the door stops moving +sound when the door is moving +sound when the door can't be unlocked +keys required to open this door (1 for gold key, 2 for silver key, 3 for both) -------- SPAWNFLAGS -------- 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). the door won't link with another door it touches @@ -209,13 +213,18 @@ BIDIR_IN_DOWN will the door prevent from reopening while closing if it is trigge if set, splash damage cannot activate the door, only direct damage can (requires health to be set) rotate around the X axis rotate around the Y axis +door can open in both directions +don't reopen the door while closing if it's triggered from the wrong side +crush players hit by the door instantly +-------- NOTES -------- +This entity is similar to func_door. Basic secret door. Slides back, then to the side. Angle determines direction. Opens when targeted or when shot; does not create its own trigger field like func_door does. -------- KEYS -------- movement type (1 = linear, 2 = cosine [default]) -# of seconds before coming back +time in seconds before coming back, -1 keeps the door open forever first entity key with one-line description second entity key with one-line description override WIDTH to move back (or height if going down) @@ -223,11 +232,11 @@ Basic secret door. Slides back, then to the side. Angle determines direction. Op damage to inflict when blocked (2 default) text to display when activating the door, or death message if dmg is set death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +when 1, use default door sounds sound when opening backwards or closing sound when opening sideways sound when stopping -------- SPAWNFLAGS -------- -only work once, then stay open 1st move is left of arrow 1st move is down from arrow never respond to shots