Npc sniper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Entity Description: Idling animation.)
Line 8: Line 8:
This [[npc_combine_s|Combine soldier]] is wielding a sniping weapon with a blue laser sight, making it capable of extreme accuracy at extreme range.
This [[npc_combine_s|Combine soldier]] is wielding a sniping weapon with a blue laser sight, making it capable of extreme accuracy at extreme range.


The npc_sniper does not actually have its own model - rather, it uses a ragdoll animation with the [[npc_combine_s|Combine soldier]] model in-game (if its ''Hidden'' flag is not set), with the rifle's laser coming from the center of the hull. For acceptible sniper damage, only blasts and burning hurt damage that are powerful enough to kill are allowed.
The npc_sniper does not actually have its own model - rather, it uses a [[npc_combine_s|Combine soldier]] model in-game (if its ''Hidden'' flag is not set) playing its idle animation, with the rifle's laser coming from the center of the hull. For acceptible sniper damage, only blasts and burning hurt damage that are powerful enough to kill are allowed.


==Keyvalues==
==Keyvalues==

Revision as of 21:09, 10 February 2006

Template:Wrongtitle

Entity Description

Sniper

A combine sniper.

This Combine soldier is wielding a sniping weapon with a blue laser sight, making it capable of extreme accuracy at extreme range.

The npc_sniper does not actually have its own model - rather, it uses a Combine soldier model in-game (if its Hidden flag is not set) playing its idle animation, with the rifle's laser coming from the center of the hull. For acceptible sniper damage, only blasts and burning hurt damage that are powerful enough to kill are allowed.

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