This article's documentation is for the "GoldSrc" engine. Click here for more information.

env_shooter

From Valve Developer Community
Revision as of 06:10, 17 June 2024 by Mr. SystemError (talk | contribs) (More links)
Jump to navigation Jump to search

env_shooter is a point entity available in all GoldSrc GoldSrc games. It shoots giblets out of its origin. These gibs can be either models or sprites.

Key Values

Number of Gibs (m_iGibs) <integer>
Total number of gibs to shoot each time the entity should shoot.
Delay between shots (delay) <string>
Delay (in seconds) between shooting each gib. If 0, all gibs shoot at once.
Gib Velocity (m_flVelocity) <integer>
Speed of the fired gibs.
Course Variance (m_flVariance) <string>
How much variance in the direction gibs are fired.
Gib Life (m_flGibLife) <string>
Time in seconds for gibs to live +/- 5%.


Model or Sprite name (shootmodel) <model path>
Thing to shoot out. Can be a model or sprite.
Material Sound (shootsounds) <choices>
What sounds play when the gibs are interacted with (shooting, walking on, etc).
Value Description
-1 None
0 Glass
1 Wood
2 Metal
3 Flesh
4 Concrete
Gib Sprite Scale (scale) <string>
Sets the scale of sprites, in the form of a size multiplier.
Gib Skin (skin) <integer>
Sets which skin of models the entity will use, if the model has more than one.
Render Mode (rendermode) <choices>
Render Mode to use.
Render modes
  1. Normal
  2. Color
  3. Texture
  4. Glow
  5. Solid
  6. Additive
Render Amount (0-255) (renderamt) <integer>
Controls transparency when using another render mode then normal. 0 is completely invisible, and 255 is opaque. If render mode is solid, then all values except 0 are opaque.
Render Color (R G B) (rendercolor) <color255>
Color to use by the specified render mode.
Also used on brush entities to control the speed of scrolling textures; see func_conveyor for more information.
Render FX (renderfx) <choices>
Render FX mode to use, for special effects.
Render effects
  1. Normal
  2. Slow Pulse
  3. Fast Pulse
  4. Slow Wide Pulse
  5. Fast Wide Pulse
  6. Slow Fade Away
  7. Fast Fade Away
  8. Slow Become Solid
  9. Fast Become Solid
  10. Slow Strobe
  11. Fast Strobe
  12. Faster Strobe
  13. Slow Flicker
  14. Fast Flicker
  15. Constant Glow
  16. Distort
  17. Hologram (Distort + fade)