This article was converted from a previous version of TWHL and may need to be reviewed
- The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
- Some information may be out of date
- After the article is re-formatted and updated, remove this notice and the Review Required category.
- Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Brush EntityThis entity creates a button that rotates.
Attributes
- Name (targetname) - Property used to identify entities.
- Render FX (renderfx) - Gives objects special render effects. Think of it as modifying whatever the Render Mode puts out. The options are as follows:
[list]
[li]0 = Normal
- 1 = Slow Pulse
- 2 = Fast Pulse
- 3 = Slow Wide Pulse
- 4 = Fast Wide Pulse
- 5 = Slow Fade Away
- 6 = Fast Fade Away
- 7 = Slow Become Solid
- 8 = Fast Become Solid
- 9 = Slow Strobe
- 10 = Fast Strobe
- 11 = Faster Strobe
- 12 = Slow Flicker
- 13 = Fast Flicker
- 14 = Constant Glow
- 15 = Distort
- 16 = Hologram (Distort and Fade)[/li]
[li]Render Mode (rendermode) - Controls the type of rendering that is used for an object. Options are:
- 0 = Normal
- 1 = Color
- 2 = Texture
- 3 = Glow
- 4 = Solid
- 5 = Additive[/li]
[li]Master (master) - The name of a multisource (or game_team_master) entity. A master must usually be active in order for the entity to work. Thus they act almost like an on/off switch, in their simplest form, and like an AND gate in the case of the multisource.[/li]
[li]Delay before trigger (delay) - Usually the time in seconds before an entity should trigger its target (after being triggered itself). Under other SmartEdit names, delay might also be the time to wait before performing some other action.[/li]
[li]Global Entity Name (globalname)[/li]
[li]FX Amount (renderamt)[/li]
[li]FX Color (rendercolor)[/li]
[li]Pitch Roll Yaw (angles)[/li]
[li]ZHLT Lightflags (zhlt_lightflags)[/li]
[li]Light Origin Target (light_origin)[/li]
[li]Targetted Object (target) - The event that the button will activate.[/li]
[li]Change Target Name (changetarget)[/li]
[li]Speed (speed) - How fast the button rotates when activated.[/li]
[li]Health (health) - If non-zero, the button must be damaged to this extent to activate it.[/li]
[li]Sounds (sounds) - Values:<BR>
21 = squeaky<BR>
22 = squeaky pneumatic<BR>
23 = ratchet groan<BR>
24 = clean ratchet<BR>
25 = gas clunk[/li]
[li]Delay before reset (wait) - Time to wait before button resets itself. -1 makes it stay set.[/li]
[li]Distance (distance) - Distance in degrees the button will rotate before activating its target.[/li]
[li]Minimum light (_minlight).[/li]
[/list]
Flags
- Not solid (1)
- Reverse direction (2) - Reverse rotation direction.
- Toggle (32) - Allows button to be toggled. Using the button toggles it between 'on' and 'off', each time retriggering its target.
- X axis (64) - If enabled, the rotation will be on the X axis.
- Y axis (128) - If enabled, the rotation will be on the Y axis.
- Touch activates (256) - The button can only be activated by the player bumping into it (or by being shot, if Health is > 0).
Inputs
Outputs
*