Npc manhack: Difference between revisions
Jump to navigation
Jump to search
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 34: | Line 34: | ||
* {{i basenpc}} | * {{i basenpc}} | ||
* {{ | * {{I AlyxInteractable}} | ||
* '''DisableSwarm''' | * '''DisableSwarm''' | ||
: Disable the manhack swarm behavior. | : Disable the manhack swarm behavior. |
Revision as of 19:26, 19 January 2009
Entity Description
Essentially a physics prop with AI, the Manhack does exactly what its name suggests. Can be carried and thrown by Metrocops.
- This is a flying NPC that uses info_node_air, info_node_air_hint or path_tracks for AI navigation.

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
BaseNPC flags
- Wait Till Seen : [1]
- Prevents this NPC from seeing (or being seen) until it enters a player's viewcone.
- Gag : [2]
- Won't make IDLE sounds until it's angry.
- Fall to ground (unchecked means teleport to ground) : [4]
- Drop Healthkit : [8]
- Causes this NPC to drop an item_healthvial upon dying.
- Efficient : [16]
- Don't acquire enemies or avoid obstacles
- Wait For Script : [128]
- Forces this NPC to "wait" in an idle state until it finishes playing a scripted_sequence.
- Long Visibility/Shoot : [256]
- By default, increases a NPC's sight range to
6,000
units and allows it to attack from anywhere within that distance.
- Fade Corpse : [512]
- Think outside PVS : [1024]
- Allows this NPC to run its regular AI outside of any player's PVS.
- Template NPC : [2048]
- Marks this NPC as a template for entities like npc_template_maker. The NPC will not spawn on its own. This is not needed for point_template.
- Do Alternate collision for this NPC (player avoidance) : [4096]
- Don't drop weapons : [8192]
- Ignore player push : [16384] (in all games since
)
- Entity won't give way to player.
- 65536 : Start packed up (folded and engine off)
- 131072 : Don't use any damage effects
- 262144 : Use Air Nodes
- 1048576 : No Danger Sounds
Inputs
- Template:I basenpc
- AlyxInteractable:
- InteractivePowerDown (in all games since
)
- 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.