Npc sniper: Difference between revisions
Jump to navigation
Jump to search
Cargo Cult (talk | contribs) m (But it does!) |
mNo edit summary |
||
Line 7: | Line 7: | ||
==Keyvalues== | ==Keyvalues== | ||
* {{kv basenpc}} | |||
* '''radius''' | * '''radius''' | ||
Line 21: | Line 23: | ||
==Flags== | ==Flags== | ||
* {{fl basenpc}} | |||
* 65536 : Hidden | * 65536 : Hidden |
Revision as of 16:20, 27 July 2005
Entity Description
The sniper does not actually have its own model - rather, it uses a Combine soldier model frozen in ragdoll position, with the rifle's laser emanating from the groin region. 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.