Env rotorshooter: Difference between revisions
Jump to navigation
Jump to search

m (Replacing {{point ent}} or {{base point}} with {{this is a}}. This operation was performed by a bot.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Underlinked|date=January 2024}} | {{Underlinked|date=January 2024}} | ||
{{lang|Env rotorshooter}} | {{lang|Env rotorshooter}} | ||
{{this is a|point | {{this is a|point entity|name=env_rotorshooter|sprite=env_shooter}} It creates gibs when it's within the influence of a helicopter's [[rotor wash]]. Ideal for stirring up dust sprites from beneath a helicopter. | ||
{{code class|CRotorWashShooter|effects.cpp}} | {{code class|CRotorWashShooter|effects.cpp}} |
Revision as of 21:49, 6 January 2024

This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024


env_rotorshooter
is a point entity available in all Source games. It creates gibs when it's within the influence of a helicopter's rotor wash. Ideal for stirring up dust sprites from beneath a helicopter.
Flags
- Repeatable : [1]
Keyvalues
- Time Under Rotor (rotortime) ([todo internal name (i)]) <float>
- The average time it has to be under the rotor before it shoots a gib.
- Time variance (rotortimevariance) ([todo internal name (i)]) <float>
- The random amount to vary the time it has to be under the rotor before it shoots a gib.
GibShooter:
- Number of Gibs (m_iGibs) <integer>
- Total number of
gibs
to shoot each time the entity should shoot.
- Delay between shots (delay) <float>
- Delay (in seconds) between shooting each
gib
. If 0, allgibs
shoot at once.
- Gib Angles (Pitch Yaw Roll) (gibangles) <vector3>
- The orientation of the spawned
gibs
.
- Max angular velocity (gibanglevelocity) <float>
- How fast (degrees/sec) the
gibs
should spin. They will spin on the x and y axes between 10% and 100% of this speed.
- Gib Velocity (m_flVelocity) <float>
- Speed of the fired
gibs
.
- Course Variance (m_flVariance) <float>
- How much variance in the direction
gibs
are fired.
- Gib Life (m_flGibLife) <float>
- Time in seconds for
gibs
to live +/- 5%.
- Lighting Origin (lightingorigin) <targetname>
- Select an entity (not info_lighting!) to specify a location to sample lighting from for all
gib
s spawned by this shooter, instead of their own origins.
- Physics (simulation) <choices>
- How the
gibs
will be physically simulated.
RenderFields:
- Render Mode (rendermode) <byte choices>
- Set a non-standard rendering mode on this entity.
Render Modes
- Render FX (renderfx) <byte choices>
- Various somewhat legacy alpha effects. See render effects.
- Render Amount / Transparency (renderamt) <byte>
- Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
- Render Color (R G B) (rendercolor) <color255>
- Color tint.
- Minimum / Maximum Effect Details Level (mincpulevel / maxcpulevel) <integer choices> (in all games since
)
- Don't render for players with Effect Details levels that exceed the minimum or maximum.
Choices - 0: Default ("Low" for
mincpulevel
, "High" formaxcpulevel
) - 1: Low
- 2: Medium
- 3: High
- 0: Default ("Low" for
- Minimum / Maximum Shader Details Level (mingpulevel / maxgpulevel) <integer choices> (in all games since
)
- Don't render for players with Shader Details levels that exceed the minimum or maximum.
Choices - 0: Default ("Low" for
mingpulevel
, "Very High" formaxgpulevel
) - 1: Low
- 2: Medium
- 3: High
- 4: Very High
See also: cpu_level / gpu_level convars- 0: Default ("Low" for
Inputs
GibShooter:
- Shoot
- Force the gibshooter to create and shoot a
gib
.
RenderFields:
- Alpha <integer 0–255>
- Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its
rendermode
set to a number other than0
.
- Color <color255 >
- Sets an RGB color for the entity.