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.
Point EntityCreates a laser or beam effect between two points
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]Start Entity (LightningStart) - The name of the entity at which the beam will begin.[/li]
[li]Ending Entity (LightningEnd) - The name of the entity at which the beam will end.[/li]
[li]Brightness (renderamt)[/li]
[li]Beam Color (rendercolor)[/li]
[li]Radius (Radius) - Noise radius.[/li]
[li]Life (life) - Time for beam to stay on, in seconds. 0 is infinite.[/li]
[li]Width of beam (BoltWidth) - Width of beam in (pixels*0.1). Range: 0-255.[/li]
[li]Amount of noise (NoiseAmplitude) - Range: 0-255.[/li]
[li]Sprite Name (texture) - Name of sprite to use as beam's texture[/li]
[li]Texture Scroll Rate (TextureScroll) - How fast the texture should scroll along the beam. Range: 0-100.[/li]
[li]Frames per 10 seconds (framerate) - Framerate for sprite texture animation (0 is none)[/li]
[li]Starting Frame (framestart) - Sprite animation frame at which to begin.[/li]
[li]Strike again time (StrikeTime) - How long to wait after the beam has turned itself off before it should start again, in 10ths of a second. Range: 0-255.[/li]
[li]Damage / second (damage) - Damage done to monsters / player when beam hits them.[/li]
[/list]
Flags
- Start On (1)
- Toggle (2)
- Random Strike (4)
- Ring (8) - Forms a ring between the two targets.
- StartSparks (16)
- EndSparks (32)
- Decal End (64) - Decals (bullet holes) appear where the beam hits objects.
- Shade Start (128) - Start of beam fades away
- Shade End (256) - End of beam fades away.
Notes
- Info_target entities can be used as the beam start and end points when the Ring flag is off.
- Only some point entities works as end and start points for beams with the Ring flag on.
For example, monster_barney and weapon_rpg entities works, while light, info_target and path_corner entites does not.
All brush entities with an origin brush works, though.
- You can create moving beams by using func_trains as the targets, but they need an origin brush for the beam to aim at.