Npc sniper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(→‎Entity Description: It's not a frozen ragdoll. I'll continue adding to this later on.)
Line 4: Line 4:
[[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, with the rifle's laser emanating from the groin region. When grenaded, the model is unfrozen and turns into an actual ragdoll.
A combine sniper.
 
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.


==Keyvalues==
==Keyvalues==

Revision as of 02:47, 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 an idling 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.

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