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 lets you create a stationary piece of geometry in your level which can then be modifed (through its rendering properties) for a number of effects.
Often used for performace reasons, and for things like unbreakable glass, masked textures (fences, ladders).
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]FX Amount (renderamt)[/li]
[li]FX Color (rendercolor)[/li]
[li]Global Entity Name (globalname)[/li]
[li]ZHLT Lightflags (zhlt_lightflags)[/li]
[li]Light Origin Target (light_origin)[/li]
[li]Minimum light level (_minlight)[/li]
[/list]
Flags
Notes
- Unbreakable windows: Set the Render Mode to Texture, and the FX amount to about 100. This will make the entity see-through.
- Masked textures (blue background, prefixed with "{"): Apply a masked texture, then set the Render mode to Solid and the FX Amount to 255. The blue areas on the texture will not show up in the game.
- Small / complex objects: Brush entities dont break up world brushes (which can cause harsh transitions between light and dark, and performance decreases), so bind small stuff (light fittings, pipe flanges etc.) to func_wall entities.
func_wall
's style to-3
light
's custom pattern if needed, and whether it will be initially darkBut now that VHLT has light_surface, just use that instead.