Npc sniper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entity Description: It's not a frozen ragdoll. I'll continue adding to this later on.)
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 an idling [[npc_combine_s|Combine soldier]] model in-game (if its ''Hidden'' flag is not set), with the rifle's laser emanating from just in front of its groin region. It is very resistant (invulnerable?) to weapons fire, but a frag grenade, an RPG round, or an orb from an Overwatch rifle, will kill it in one hit.
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.


==Keyvalues==
==Keyvalues==

Revision as of 17:15, 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 ragdoll animation with the 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.

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