Npc manhack: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated format.)
m (Added link to russian article)
Line 45: Line 45:
* {{o basenpc}}
* {{o basenpc}}
* {{o alyxinteractable}}
* {{o alyxinteractable}}
{{otherlang:en}}
{{otherlang:en:ru|Npc_manhack_(ru)}}


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

Revision as of 14:56, 16 March 2007

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 (Default: 25)
<integer> A manhack's spawn health.
  • sk_manhack_melee_dmg (Default: 20)
<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.


Template:Otherlang:en Template:Otherlang:en:ru