Env shooter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (revert)
Line 1: Line 1:
trlileto
{{wrongtitle|title=env_shooter}}
{{wrongtitle|title=env_shooter}}


==Entity Description==
== Entity description ==
[[Image:{{PAGENAME}}.png|left]]An entity that shoots [[Wikipedia:gibs|gibs]] out of its origin. These gibs can be either models or sprites. {{clr}}
[[Image:{{PAGENAME}}.png|left]]An entity that shoots [[Wikipedia:gibs|gibs]] out of its origin. These gibs can be either models or sprites. {{clr}}


==Availability==
== Availability ==
{{in game|point}} {{game-base}}
{{in game|point}} {{game-base}}
{{in code|class=class_c_env_shooter.html CEnvShooter|file=effects_8cpp-source.html effects.cpp}}
{{in code|class=class_c_env_shooter.html CEnvShooter|file=effects_8cpp-source.html effects.cpp}}


==Keyvalues==
== Keyvalues ==
*{{kv gibshooterbase}}
*{{kv gibshooterbase}}
* '''{{ep1 add|nogibshadows}}'''
* '''{{ep1 add|nogibshadows}}'''
Line 17: Line 16:
: ONLY WORKS FOR POINT GIBS. This field allows you to scale gravity so that gibs fall faster, slower, or not at all."
: ONLY WORKS FOR POINT GIBS. This field allows you to scale gravity so that gibs fall faster, slower, or not at all."


==Flags==
== Flags ==
*{{fl gibshooterbase}}
*{{fl gibshooterbase}}
* 4 : strict remove after lifetime
* 4 : strict remove after lifetime


==Inputs==
== Inputs ==
*{{i gibshooterbase}}
*{{i gibshooterbase}}


==Outputs==
== Outputs ==
*{{o targetname}}
*{{o targetname}}


[[Category:Entities]]
[[Category:Entities]]

Revision as of 22:57, 30 September 2007

Template:Wrongtitle

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
<float> Gib gravity scale"
ONLY WORKS FOR POINT GIBS. This field allows you to scale gravity so that gibs fall faster, slower, or not at all."

Flags

Inputs

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

Outputs