Env shooter: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (Robot: fixing template case.)  | 
				m (Robot: fixing template case.)  | 
				||
| Line 24: | Line 24: | ||
== Outputs ==  | == Outputs ==  | ||
*{{  | *{{O Targetname}}  | ||
Revision as of 19:09, 19 January 2009
Template:Wrongtitle Template:Base point
Entity description
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
- GibShooter:
 
- Number of Gibs (m_iGibs) <integer>
 - Total number of 
gibsto shoot each time the entity should shoot. 
- Delay between shots (delay) <float>
 - Delay (in seconds) between shooting each 
gib. If 0, allgibsshoot 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 
gibsshould 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 
gibsare fired. 
- Gib Life (m_flGibLife) <float>
 - Time in seconds for 
gibsto live +/- 5%. 
- Lighting Origin (lightingorigin) <targetname>
 - Select an entity (not info_lighting!) to specify a location to sample lighting from for all 
gibs spawned by this shooter, instead of their own origins. 
- Physics (simulation) <choices>
 - How the 
gibswill be physically simulated. 
- nogibshadows (in all games since 
) 
- <boolean> If set, shadows from gibs are disabled
 
- gibgravityscale (in all games since 
) 
- <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. 
Flags
- Repeatable : [1]
 
- 4 : strict remove after lifetime
 
Inputs
- GibShooter:
 
- Shoot
 - Force the gibshooter to create and shoot a 
gib. 
