Npc manhack: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{lang|Npc manhack}}
[[Image:Manhack.jpg|thumb|300px|right|{{autolang|Manhack|ru=Мэнхэк]]
[[Image:Manhack.jpg|thumb|300px|right|Manhack]]
{{Entity|npc_manhack|series=Half-Life 2|type=e0}}  
{{hl2 point|npc_manhack}} Essentially a physics prop with AI. This is the entity that represents [[manhacks]] ingame. Can be carried and thrown by [[npc_metropolice|Metrocops]].
{{Multipage}}
{{flying npc}}
{{NPCNote}}
 
{{bug|There is a currently a bug where Manhacks will not report their deaths back to the {{ent|npc_template_maker}} that spawned them.  Consider using the <code>OnDeath</code> output to increment a {{ent|math_counter}} if you want to keep track of them.}}
 
{{note|This npc uses the squad ai to decide when to attack or when to swarm. This can cause unwanted behavior when in a squad with other squad based npcs.}}
 
== Dedicated Console Variables ==
;sk_manhack_health <[[int]]>
:  A manhack's spawn health (Default: 25).
;sk_manhack_melee_dmg >[[int]]>
: Melee damage (Default: 20).
 
==Keyvalues==
{{KV BaseNPC}}
 
==Flags==
{{Fl BaseNPC}}
{{Fl|65536|Start packed up (folded and engine off)}}
{{Fl|131072|Don't use any damage effects}}
{{Fl|262144|Use Air Nodes}}
{{Fl|1048576|No Danger Sounds}}
 
==Inputs==
{{I BaseNPC}}
{{I AlyxInteractable}}
{{IO|DisableSwarm|Disable the manhack swarm behavior.}}
{{IO|Unpack|Causes the manhack to stop being packed up.}}
 
==Outputs==
{{O BaseNPC}}
{{O AlyxInteractable}}
 
[[Category:Entities]]
[[Category:Entities]]
[[Category:Half-Life 2 NPCs|M]]
[[Category:Half-Life 2 NPCs]]

Revision as of 20:41, 4 June 2023