Enemy Territory

Entities

func_bobbing
Keys
color
constantLight color of .md3 model included with entity. Has no effect on the entity's brushes (default 1 1 1).
dmg
Damage to inflict when blocked (2 default)
height
Sets the amount of travel of the oscillation movement (default 32).
light
constantLight radius of .md3 model included with entity. Has no effect on the entity's brushes (default 0).
model2
Path/name of optional model to include. It will attach itself to the origin brush.
phase
Sets the start offset of the oscillation cycle. Values must be 0 < phase < 1. Any integer phase value is the same as no offset (default 0).
speed
Amount of time in seconds for one complete oscillation cycle (default 4).
_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
X_AXIS
entity will bob|move along the X axis.
Y_AXIS
entity will bob|move along the Y axis.
Solid entity that oscillates back and forth in a linear motion. By
default, it will have an amount of displacement in either direction
equal to the dimension of the brush in the axis in which it's bobbing.
Entity bobs on the Z axis (up-down) by default. It can also emit sound
if the "noise" key is set. Will crush the player when blocked.
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").

©2017 Chruker