Enemy Territory

Entities

func_plat
Keys
color
constantLight color
dmg
Damage caused to blocking player, default 2
height
total height of movement, defaults to model height
light
ConstantLight radius
lip
Default 8, protrusion above rest position at solid brush
model2
Optional .md3 model to also draw. It will attach itself to the origin brush.
speed
Overrides default 200 movement speed
_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
Plats should be constructed in the raised position so they will behave and light correctly.

©2017 Chruker