Npc dog
Jump to navigation
Jump to search
Entity Description
Dog is one of the main characters introduced in Half-Life 2. Dog can play fetch and pick up things.
Also see descriptions for Dog and other Half-Life Continuity
Dog does not have any battle AI, and therefore will simply run away when faced with enemies. All of Dog's battle scenes in Half-Life 2 were scripted.

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.
Inputs
- SetPickupTarget <target_destination>
- Sets the target entity for Dog to pickup.
- StartCatchThrowBehavior <target_destination>
- Tells Dog to start playing with the player. You can pass the name of the object you want him to play with, otherwise he'll just use the closest phys_object.
- StopCatchThrowBehavior <target_destination>
- Stop the catch and throw behavior.
- PlayerPickupObject
- Tells Dog the physgun just picked up an object.
- StartWaitAndCatch
- Tells Dog to wait for the player to throw an object at him.
- StopWaitAndCatch
- Tells Dog to stop waiting for the player.
- SetThrowArcModifier <float>
- Used to pass in a modifier for Dog's object flight arc.
- SetThrowTarget <target_destination>
- Set Dog's throw target (pass in !player if you want the player)
- TurnBoneFollowersOff (in all games since
)
- Turn Dog's bone followers off
- TurnBoneFollowersOn (in all games since
)
- Turn Dog's bone followers on
Outputs
- OnDogThrow
- Fires when Dog throws an object.
- OnDogPickup
- Fires when Dog picks up an object.
- OnDogCatch
- Fires when Dog catches an object.