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 EntityThe env_shooter shoots out models or sprites.
Attributes
- Name (targetname) - Property used to identify entities.
- Pitch Yaw Roll (angles) - Sets the pitch (up / down), yaw (left / right) and roll (bank) respectively. The compass in WorldCraft / Hammer corresponds to Yaw. The settings are not always (or not all) used.
- 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]Number of Gibs (m_iGibs) - The number of gibs that will be spawned on activation.[/li]
[li]Delay between shots (delay) - The time in seconds between each gib being shot out. 0 means they are all expelled at once.[/li]
[li]Gib Velocity (m_flVelocity) - The speed that gibs are shot out.[/li]
[li]Course Variance (m_flVariance) - How much each gib's direction will vary from the normal.[/li]
[li]Gib Life (m_flGibLife) - Time in seconds that gibs are visible.[/li]
[li]FX Amount (renderamt)[/li]
[li]FX Color (rendercolor)[/li]
[li]Model or Sprite name (shootmodel) - The path and name of the model or sprite to be shot. e.g. 'models/model.mdl' or 'sprites/sprite.mdl'.[/li]
[li]Material Sound (shootsounds) - The sound that is produced when gibs hit the ground. Values:<BR>-1 = None<BR>0 = Glass<BR>1 = Wood<BR>2 = Metal<BR>3 = Flesh<BR>4 = Concrete[/li]
[li]Gib Sprite Scale (scale) - Applies to sprites only. Sets their scale.[/li]
[li]Gib Skin (skin) - Applies to models only. Sets the skin if more than one is available.[/li]
[/list]
Flags
- Repeatable (1) - Allows the entity to be triggered more than once.
Inputs
Outputs
*