The xen_hair entity places a
model of a strand of xen grass into the map. The model is purely decorative.
Attributes
- Render FX (renderfx) - Gives the model certain visual effects depending on Render Mode.
- Normal (0) - No visual effects.
- Slow Pulse (1) - Model slowly pulses with transparency. Faint.
- Fast Pulse (2) - Model quickly pulses with transparency. Faint.
- Slow Wide Pulse (3) - Model slowly pulses with transparency. Strong.
- Fast Wide Pulse (4) - Model quickly pulses with transparency. Strong.
- Slow Fade Away (5) - Seemingly unused.
- Fast Fade Away (6) - Seemingly unused.
- Slow Become Solid (7) - Seemingly unused.
- Fast Become Solid (8) - Seemingly unused.
- Slow Strobe (9) - A very slow strobe effect between visible and invisible.
- Fast Strobe (10) - A medium strobe effect between visible and invisible.
- Faster Strobe (11) - A very fast strobe effect between visible and invisible.
- Slow Flicker (13) - Model flickers in and out of visibility.
- Fast Flicker (13) - Model quickly flickers in and out of visibility.
- Constant Glow (14) - Seemingly unused.
- Distort (15) - Model has a slight fast pulsing of transparency, and occasionally translocates slightly. (Translocation visible with "Normal" Render Mode.)
- Hologram (Distort + fade) (16) - Model has a slight fast pulsing of transparency, and occasionally translocates slightly. (Translocation visible with "Normal" Render Mode.) Model will fade with distance.
- Render Mode (rendermode) - Allows special rendering modes to be applied to the given entity.
- Normal (0) - Standard rendering. Render FX and FX Amount will generally have no effect.
- Color (1) - Allows model to become transparent.
- Texture (2) - Allows model to become transparent.
- Glow (3) - Allows model to become transparent.
- Solid (4) - Allows model to become transparent.
- Additive (5) - Model will be invisible, due to it being completely black.
- FX Amount (1 - 255) (renderamt) - In all but "Normal" Render Mode, alters how transparent the model is. Scales from 0 (invisible) to 255 (solid, normal).
- FX Color (R G B) (rendercolour) - Seemingly unused.
- Name (targetname) - Name is a general attribute used to identify entities.
- Pitch Yaw Roll (Y Z X) (angles) - Sets the pitch, yaw and roll angles of the model.
Flags
- Sync Movement (1) - If enabled, the animation of the model will be synchronised with any other xen_hairs that also have this flag enabled. Otherwise, the animation starts at a random point in the animation, causing it to move distinctly from other xen_hairs.
Team Fortress Classic only
Attributes
- Angular Velocity (PYR) (avelocity)