Template:KV LeadGoalBase: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates)
(Both entities use SearchType as well?)
Line 1: Line 1:
{{KV|Search Type (SearchType)|choices|How to search for the entities using the name specified in the '''Actor(s) to affect''' keyvalue.
:*0: Entity Name ([[targetname]])
:*1: [[Classname]]}}
{{KV|Actor(s) to affect (actor)|target_name_or_class|The name or class of the NPC that will lead the player.}}
{{KV|Actor(s) to affect (actor)|target_name_or_class|The name or class of the NPC that will lead the player.}}
{{KV|Target Entity (goal)|targetname|The name of the entity that the NPC will lead the player to (i.e. an {{ent|info_target}}).}}
{{KV|Target Entity (goal)|targetname|The name of the entity that the NPC will lead the player to (i.e. an {{ent|info_target}}).}}

Revision as of 14:01, 3 September 2018

Search Type (SearchType) ([todo internal name (i)]) <choices>
How to search for the entities using the name specified in the Actor(s) to affect keyvalue.
Actor(s) to affect (actor) ([todo internal name (i)]) <target_name_or_class>
The name or class of the NPC that will lead the player.
Target Entity (goal) ([todo internal name (i)]) <targetname>
The name of the entity that the NPC will lead the player to (i.e. an info_target).
Point to wait at if the target's not visible (WaitPointName) ([todo internal name (i)]) <targetname>
If the NPC loses line-of-sight to the player, it will return to this entity (i.e. an info_target).
Wait until player gets this close (WaitDistance) ([todo internal name (i)]) <float>
The player must be within this distance of the NPC before the NPC initially begins leading them.
Lead Distance (LeadDistance) ([todo internal name (i)]) <float>
The player is considered to be too far behind if they're beyond this distance. Past this distance, the leader will nag the player to hurry up.
Retrieve Distance (RetrieveDistance) ([todo internal name (i)]) <float>
The distance from the player that the NPC should return to when retrieving a lagging player. Must be between ('Lead Distance' + 24) and ('Lead Distance' * 4) to avoid the leader ping-ponging.
Success Distance (SuccessDistance) ([todo internal name (i)]) <float>
The distance from the player (to the NPC) that the player must be within for the Lead to succeed, once the NPC has reached the goal. If set to 0, it'll use the lead distance instead (for legacy support).
Run instead of Walk (Run) ([todo internal name (i)]) <choices>
Should the NPC run instead of walk?
  • 1: No
  • 2: Yes
Retrieve player? (Retrieve) ([todo internal name (i)]) <choices>
Retrieve player?
  • 1: No, just idle and wait
  • 2: Yes, move to retrieve
Before Coming Back, Wait for Speech? (ComingBackWaitForSpeak) ([todo internal name (i)]) <choices>
Before Coming Back, Wait for Speech?
  • 1: No, come back while speaking
  • 2: Yes, wait for speech to finish
On Retrieve, Wait for Speech? (RetrieveWaitForSpeak) ([todo internal name (i)]) <choices>
On Retrieve, Wait for Speech?
  • 1: No, start leading while speaking
  • 2: Yes, wait for speech to finish
Speak start greeting? (DontSpeakStart) ([todo internal name (i)]) <choices>
On Retrieve, Wait for Speech?
  • 1: No, don`t speak the greeting
  • 2: Yes, speak the greeting
Leading during combat? (LeadDuringCombat) ([todo internal name (i)]) <choices>
Leading during combat?
  • 1: No. Stop to fight, resume leading when safe
  • 2: Yes, lead while fighting.
Gag leader? (GagLeader) ([todo internal name (i)]) <choices>
  • 1: No. Speak lead concepts normally, respecting other lead speech settings.
  • 2: Yes, don't speak any lead concepts at all, overriding all other lead speech settings.
Attract player concept modifier (AttractPlayerConceptModifier) ([todo internal name (i)]) <string>
Appended to the keyvalues passed into the response rules when the TLK_LEAD_ATTRACTPLAYER concept is spoken.
Player wait over concept modifier (WaitOverConceptModifier) ([todo internal name (i)]) <string>
Appended to the keyvalues passed into the response rules when the TLK_LEAD_WAITOVER concept is spoken.
Arrival concept modifier (ArrivalConceptModifier) ([todo internal name (i)]) <string>
Appended to the keyvalues passed into the response rules when the TLK_LEAD_ARRIVAL concept is spoken.
Post-arrival concept modifier (PostArrivalConceptModifier) ([todo internal name (i)]) <string>
Confirm:Seems to not be fully implemented?
Success concept modifier (SuccessConceptModifier) ([todo internal name (i)]) <string>
Appended to the keyvalues passed into the response rules when the TLK_LEAD_SUCCESS concept is spoken.
Failure concept modifier (FailureConceptModifier) ([todo internal name (i)]) <string>
Appended to the keyvalues passed into the response rules when the lead_fail concept is spoken.
Coming Back concept modifier (ComingBackConceptModifier) ([todo internal name (i)]) <string>
Appended to the keyvalues passed into the response rules when the TLK_LEAD_RETRIEVE concept is spoken. Spoken as the NPC starts returning to the player to retrieve them.
Retrieve concept modifier (RetrieveConceptModifier) ([todo internal name (i)]) <string>
Appended to the keyvalues passed into the response rules when the TLK_LEAD_COMINGBACK concept is spoken. Spoken when NPC has finally reached the player to retrieve them.