Npc manhack: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (ep1 add)
Line 32: Line 32:


* {{i basenpc}}
* {{i basenpc}}
 
* {{i alyxinteractable}}
* '''DisableSwarm'''
* '''DisableSwarm'''
: Disable the manhack swarm behavior.
: Disable the manhack swarm behavior.
Line 42: Line 42:


* {{o basenpc}}
* {{o basenpc}}
* {{o alyxinteractable}}


[[Category:Entities]][[Category:NPCs]]
[[Category:Entities]][[Category:NPCs]]

Revision as of 23:44, 5 August 2006

Template:Wrongtitle

Entity Description

Manhack

Essentially a physics prop with AI, the Manhack does exactly what its name suggests. Can be carried and thrown by Metrocops.

Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Dedicated Console Variables

  • sk_manhack_health
<integer> A manhack's spawn health
  • sk_manhack_melee_dmg
<integer> Melee damage

Keyvalues

Flags

  • 65536 : Start packed up (folded and engine off)
  • 131072 : Don't use any damage effects
  • 262144 : Use Air Nodes
  • 1048576 : No Danger Sounds

Inputs

InteractivePowerDown  (in all games since Half-Life 2: Episode One)
Shutdown this target.
  • DisableSwarm
Disable the manhack swarm behavior.
  • Unpack
Causes the manhack to stop being packed up.

Outputs

OnAlyxStartedInteraction
Fired when Alyx begins to interact with this entity.
OnAlyxFinishedInteraction
Fired when Alyx has finished interacting with this entity.