Npc sniper: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) mNo edit summary |
|||
Line 3: | Line 3: | ||
==Entity Description== | ==Entity Description== | ||
[[Image:npc_sniper.jpg|frame|right|Sniper]] | [[Image:npc_sniper.jpg|frame|right|Sniper]] | ||
The sniper does not actually have its own model - rather, it uses a [[npc_combine_s|Combine soldier]] model frozen in ragdoll position. When grenaded, the model is unfrozen and turns into an actual ragdoll. | |||
==Keyvalues== | ==Keyvalues== |
Revision as of 13:52, 26 July 2005
Entity Description
The sniper does not actually have its own model - rather, it uses a Combine soldier model frozen in ragdoll position. When grenaded, the model is unfrozen and turns into an actual ragdoll.
Keyvalues
- radius
- <integer> Patience Radius
- misses
- <integer> Initial Misses
- beambrightness
- <integer> Beam Brightness (0 to 255)
- shielddistance
- <float> Bullet shield distance
- shieldradius
- <float> Bullet shield radius
Flags
- 65536 : Hidden
- 131072 : Laser Viewcone
- 262144 : No Corpse
- 524288 : Start Disabled
Inputs
- EnableSniper
- Enable Shooting
- DisableSniper
- Disable Shooting
- SetDecoyRadius <integer>
- Set Decoy Radius
- SweepTarget <string>
- Sweep a Target
- SweepTargetHighestPriority <string>
- Drop everything and sweep this target!
- SweepGroupRandomly <string>
- Randomly Sweep a Group
Outputs
See Also
- info_snipertarget - give the sniper something to shoot at.