Npc dog: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 3: Line 3:
[[Image:dog_2.jpg|frame|right|d0g]]
[[Image:dog_2.jpg|frame|right|d0g]]


Dog is one of the main characters introduced in Half-Life 2 and is described by [[Alyx Vance]] as being built by her father, [[Eli Vance]], to protect her after the events at [[Black Mesa]]. Alyx has been "adding to him ever since" however and he is now bigger than any adult.
Dog is one of the main characters introduced in Half-Life 2 and is described by [[Alyx Vance]] as being built by her father, [[Eli Vance]], to protect her after the events at [[Black Mesa]].  
 
===Appearances===
{{spoiler}}
 
Your first meeting with Dog takes place at [[Black Mesa East]] when Alyx takes you outside and teaches you how to use the [[Gravity Gun]]. The training session plays out as an elaborate game of catch with Dog throwing objects for you to catch and toss back to him. The game is interrupted however when [[Scanners]] fly over and the area is blanketed with [[Headcrab Canisters]]. Dog helps you escape to Ravenholm.
 
He provides further assistance later in the game, during a fight through the streets of [[City 17]] where he throws cars at [[Combine]] soldiers before finally being carried away on the back of a [[Dropship]], and nearer the end where he finds a way for you to sneak in to the Combine Citadel.
 
It is unclear what happens to Dog after the destruction of the citadel, but a teaser trailer for expansion pack [[Aftermath]] implies that he will return.


{{npcnote}}
{{npcnote}}
Line 61: Line 52:
: Fires when d0g catches an object.
: Fires when d0g catches an object.


[[Category:Entities]][[Category:NPCs]] [[Category:Half-Life Continuity]]
[[Category:Entities]][[Category:NPCs]]

Revision as of 18:59, 19 August 2005

Template:Wrongtitle

Entity Description

Dog is one of the main characters introduced in Half-Life 2 and is described by Alyx Vance as being built by her father, Eli Vance, to protect her after the events at Black Mesa.

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

Keyvalues

Flags

Inputs

  • SetPickupTarget <string>
Sets the target entity for d0g to pickup.
  • StartCatchThrowBehavior <string>
Tells d0g to start playing with the player. You can pass in the name of the object you want him to play with otherwise he'll find the closes phys_object.
  • StopCatchThrowBehavior <string>
Stop the catch and throw behavior.
  • PlayerPickupObject
Tells d0g the physgun just picked up an object.
  • StartWaitAndCatch
Tells d0g to wait for the player to throw an object at him.
  • StopWaitAndCatch
Tells d0g to stop waiting for the player.
  • SetThrowArcModifier <float>
Used to pass in a modifier for d0g's object flight arc.
  • SetThrowTarget <string>
Set d0g's throw target (pass in !player if you want the player)

Outputs

  • OnDogThrow
Fires when d0g throws an object.
  • OnDogPickup
Fires when d0g picks up an object.
  • OnDogCatch
Fires when d0g catches an object.