Env shooter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (spam removal)
m (Robot: fixing template case.)
Line 11: Line 11:
== Keyvalues ==
== Keyvalues ==
*{{kv gibshooterbase}}
*{{kv gibshooterbase}}
* '''{{ep1 add|nogibshadows}}'''
* '''{{EP1 add|nogibshadows}}'''
: {{boolean}} If set, shadows from gibs are disabled
: {{boolean}} If set, shadows from gibs are disabled
* '''{{ep1 add|gibgravityscale}}'''
* '''{{EP1 add|gibgravityscale}}'''
: <float> Gib gravity scale. This field allows you to scale gravity so that gibs fall faster, slower, or not at all.{{note|This functionality only works for point-based gibs.}}
: <float> Gib gravity scale. This field allows you to scale gravity so that gibs fall faster, slower, or not at all.{{note|This functionality only works for point-based gibs.}}



Revision as of 19:19, 19 January 2009

Template:Wrongtitle Template:Base point

Entity description

Env shooter.png

An entity that shoots gibs out of its origin. These gibs can be either models or sprites.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<boolean> If set, shadows from gibs are disabled
  • gibgravityscale (in all games since Half-Life 2: Episode One)
<float> Gib gravity scale. This field allows you to scale gravity so that gibs fall faster, slower, or not at all.
Note.pngNote:This functionality only works for point-based gibs.

Flags

Inputs

  • GibShooter:
Shoot
Force the gibshooter to create and shoot a gib.

Outputs