List of predefined response concepts: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(first iteration)
 
(a few initial ones)
Line 14: Line 14:
|TLK_STARE            || ||  
|TLK_STARE            || ||  
|-
|-
|TLK_USE              || ||  
|TLK_USE              || player allies, vortigaunts || The player has done +USE on the NPC.
|-
|-
|TLK_STARTFOLLOW      || ||  
|TLK_STARTFOLLOW      || citizens and simpletalkers || The NPC has begun following the player.
|-
|-
|TLK_STOPFOLLOW      || ||  
|TLK_STOPFOLLOW      || citizens and simpletalkers || The NPC has begun following the player.
|-
|-
|TLK_JOINPLAYER      || ||  
|TLK_JOINPLAYER      || citizens ||  
|-
|-
|TLK_STOP            || ||  
|TLK_STOP            || simpletalkers ||  
|-
|-
|TLK_NOSHOOT          || ||  
|TLK_NOSHOOT          || simpletalkers || The NPC has been damaged by the player, has a friend nearby, and is not dead yet.
|-
|-
|TLK_HELLO            || ||  
|TLK_HELLO            || ||  
Line 58: Line 58:
|TLK_ENEMY_DEAD      || ||  
|TLK_ENEMY_DEAD      || ||  
|-
|-
|TLK_SELECTED        || || selected by player in command mode.
|TLK_SELECTED        || || The NPC is selected by player in command mode.
|-
|-
|TLK_COMMANDED        || || received orders from player in command mode
|TLK_COMMANDED        || || The NPC has received orders from player in command mode.
|-
|-
|TLK_COMMAND_FAILED  || ||  
|TLK_COMMAND_FAILED  || ||  
|-
|-
|TLK_BETRAYED        || || player killed an ally in front of me.
|TLK_BETRAYED        || || The player killed an ally of the NPC in front of the NPC.
|-
|-
|TLK_ALLY_KILLED      || || witnessed an ally die some other way.
|TLK_ALLY_KILLED      || || The NPC witnessed an ally die some other way.
|-
|-
|TLK_ATTACKING        || || about to fire my weapon at a target
|TLK_ATTACKING        || || The NPC is about to fire my weapon at a target.
|-
|-
|TLK_HEAL            || || healing someone
|TLK_HEAL            || || healing someone
Line 74: Line 74:
|TLK_GIVEAMMO        || || giving ammo to someone
|TLK_GIVEAMMO        || || giving ammo to someone
|-
|-
|TLK_DEATH            || || Death rattle
|TLK_DEATH            || || Death rattle; NPC has died.
|-
|-
|TLK_HELP_ME          || || call out to the player for help
|TLK_HELP_ME          || || call out to the player for help
|-
|-
|TLK_PLYR_PHYSATK    || || Player's attacked me with a thrown physics object
|TLK_PLYR_PHYSATK    || || Player has attacked the NPC with a thrown physics object.
|-
|-
|TLK_ANSWER_VORT      || ||  
|TLK_ANSWER_VORT      || ||  

Revision as of 21:14, 17 October 2005


The following is a list of response contexts.

Context string Applies to Description
TLK_ANSWER
TLK_QUESTION
TLK_IDLE
TLK_STARE
TLK_USE player allies, vortigaunts The player has done +USE on the NPC.
TLK_STARTFOLLOW citizens and simpletalkers The NPC has begun following the player.
TLK_STOPFOLLOW citizens and simpletalkers The NPC has begun following the player.
TLK_JOINPLAYER citizens
TLK_STOP simpletalkers
TLK_NOSHOOT simpletalkers The NPC has been damaged by the player, has a friend nearby, and is not dead yet.
TLK_HELLO
TLK_PHELLO
TLK_PIDLE
TLK_PQUESTION
TLK_PLHURT1
TLK_PLHURT2
TLK_PLHURT3
TLK_PLPUSH
TLK_PLRELOAD
TLK_SMELL
TLK_SHOT
TLK_WOUND
TLK_MORTAL
TLK_DANGER
TLK_SEE_COMBINE
TLK_ENEMY_DEAD
TLK_SELECTED The NPC is selected by player in command mode.
TLK_COMMANDED The NPC has received orders from player in command mode.
TLK_COMMAND_FAILED
TLK_BETRAYED The player killed an ally of the NPC in front of the NPC.
TLK_ALLY_KILLED The NPC witnessed an ally die some other way.
TLK_ATTACKING The NPC is about to fire my weapon at a target.
TLK_HEAL healing someone
TLK_GIVEAMMO giving ammo to someone
TLK_DEATH Death rattle; NPC has died.
TLK_HELP_ME call out to the player for help
TLK_PLYR_PHYSATK Player has attacked the NPC with a thrown physics object.
TLK_ANSWER_VORT
TLK_ANSWER_CIT
TLK_QUESTION_VORT
TLK_QUESTION_CIT
TLK_NEWWEAPON
TLK_PLDEAD
TLK_HIDEANDRELOAD
TLK_STARTCOMBAT
TLK_WATCHOUT
TLK_RESUME "as I was saying..." or "anyhow..."
TLK_TGSTAYPUT tourguide stuff
TLK_TGFIND tourguide stuff
TLK_TGSEEK tourguide stuff
TLK_TGLOSTYOU tourguide stuff
TLK_TGCATCHUP tourguide stuff
TLK_TGENDTOUR tourguide stuff

Source

  • ai_playerally.h (the TLK_ macros)

See also