Enemy Territory

Entities

func_door
Keys
allowteams
Choose who can get through the door
angle
determines the opening direction. Use -1 for up, -2 for down.
closespeed
Optional different movement speed for door when closing
color
constantLight color('K' key)
dmg
Damage to inflict when blocked (2 default)
health
If set, the door must be shot open.
key
-1 for locked, key number for which key opens, 0 for open. default '0' unless door is targeted. (trigger_aidoor entities targeting this door do not affect the key status)
light
constantLight radius
lip
Lip remaining at end of move - how much door will be left sticking from adjacent solid geometry (8 default)
model2
Optional .md3 model to also draw. It will attach itself to the origin brush.
speed
movement speed (100 default)
target
will fire it's target upon use
targetname
If set, no touch field will be spawned and a remote button or trigger field activates the door.
team
Team name. Other doors with same team name will open/close in syncronicity.
type
Use sounds based on construction of door.
wait
Wait before returning (3 default, -1 = never return)
_castshadows;_cs
Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. > 1 = cast shadows on entities with _rs (or _receiveshadows) with the corresponding value, AND world. Negative values imply same, but DO NOT cast shadows on world.
_celshader
Sets the cel shader used for this geometry. Note: omit the "textures/" prefix.
_lightmapscale
Floating point value scaling the resolution of lightmaps on brushes/patches in this entity (default 1.0).
_receiveshadows;_rs
Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. > 1 = receive shadows only from corresponding keyed entities (see above) and world. < 1 = receive shadows ONLY from corresponding keyed entities.
_targetname
Used to attach a misc_model entity to this entity.
Spawnflags
CRUSHER
The door will not reverse direction when blocked and will keep damaging player until he dies or gets out of the way.
START_OPEN
The door to moves 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 takedamage doors).
TOGGLE
Waits in both the start and end states for a trigger event.
TOUCH

Target this entity with a misc_model to have the model attached to the entity
(set the model's "target" key to the same value as this entity's "targetname").
sound types:
0 - nosound (default)
1 - metal
2 - stone
3 - lab
4 - wood
5 - iron/jail
6 - portcullis
7 - wood (quiet)
allowteams: possible values are:
"axis" - only axis
"allies" - only allies
"axis,cvops" - axis and cvops with uniforms
"allies,cvops" - allies and cvops with uniforms

©2017 Chruker