Template:KV HintNode: Difference between revisions
Jump to navigation
Jump to search
(intn for Source/HL2 keyvalue templates) |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{KV|[[Hint_nodes#Hint|Hint]]|intn=hinttype|choices|Hint type}} | {{KV|[[Hint_nodes#Hint|Hint]]|intn=hinttype|integer choices|Hint type}} | ||
{{ | {{Expand|margin_left=2em|title=types| | ||
* 0 : None | * 0 : None | ||
* 2 : World: Window | * 2 : World: Window | ||
Line 35: | Line 35: | ||
}} | }} | ||
{{KV|[[Hint_nodes#Hint_Activity|Hint Activity]]|intn=hintactivity|string|Activity associated with this hint node. Various parts of the NPC AI play this activity at times. i.e. Actbusy nodes will play this activity when an NPC acts busy on the node.}} | {{KV|[[Hint_nodes#Hint_Activity|Hint Activity]]|intn=hintactivity|string|Activity associated with this hint node. Various parts of the NPC AI play this activity at times. i.e. Actbusy nodes will play this activity when an NPC acts busy on the node.}} | ||
{{KV|[[Hint_nodes#Node_FOV|Node FOV]]|intn=nodeFOV|choices|Imagine this node requires that an NPC be in the node's field of view in order to use this hint.}} | {{KV|[[Hint_nodes#Node_FOV|Node FOV]]|intn=nodeFOV|integer choices|Imagine this node requires that an NPC be in the node's field of view in order to use this hint.}} | ||
:* 45 : 45 Degrees | :* 45 : 45 Degrees | ||
:* 90 : 90 Degrees | :* 90 : 90 Degrees | ||
Line 43: | Line 43: | ||
{{KV|[[Hint_nodes#Hint_Group|Hint Group]]|intn=Group|string|If specified, gives the hint a specific group name. Useful for hint nodes that need to be logically grouped together. NPCs may also refuse to use hint nodes that don't match their hint group.}} | {{KV|[[Hint_nodes#Hint_Group|Hint Group]]|intn=Group|string|If specified, gives the hint a specific group name. Useful for hint nodes that need to be logically grouped together. NPCs may also refuse to use hint nodes that don't match their hint group.}} | ||
{{KV|[[Hint_nodes#TargetNode|Target node]]|intn=TargetNode|node_dest|The node ID of an associated target node, if any.}} | {{KV|[[Hint_nodes#TargetNode|Target node]]|intn=TargetNode|node_dest|The node ID of an associated target node, if any.}} | ||
{{KV|[[Hint_nodes#IgnoreFacing|Ignore Facing]]|intn=IgnoreFacing|choices|Don't pay attention to the facing of the node. May not apply to a given hint type.}} | {{KV|[[Hint_nodes#IgnoreFacing|Ignore Facing]]|intn=IgnoreFacing|integer choices|Don't pay attention to the facing of the node. May not apply to a given hint type.}} | ||
:* 0 : No | :* 0 : No | ||
:* 1 : Yes | :* 1 : Yes | ||
Line 49: | Line 49: | ||
{{KV|Radius|intn=radius|int|Allows hints to only be usable in a pre-defined radius}}{{since|{{as}}}}{{also|{{mapbase}}}} | {{KV|Radius|intn=radius|int|Allows hints to only be usable in a pre-defined radius}}{{since|{{as}}}}{{also|{{mapbase}}}} | ||
{{KV|Weight|intn=hintweight|int|Allows NPCs to prefer certain hints over others}} {{only|{{mapbase}}}} | {{KV|Weight|intn=hintweight|int|Allows NPCs to prefer certain hints over others}} {{only|{{mapbase}}}} | ||
{{KV|[[Hint_nodes#Minimum.2FMaximum_State|Minimum State]]|intn=MinimumState|choices|Require an NPC have a minimum state to use the hint.}} | {{KV|[[Hint_nodes#Minimum.2FMaximum_State|Minimum State]]|intn=MinimumState|integer choices|Require an NPC have a minimum state to use the hint.}} | ||
:* 1 : Idle | :* 1 : Idle | ||
:* 2 : Alert | :* 2 : Alert | ||
:* 3 : Combat | :* 3 : Combat | ||
{{KV|[[Hint_nodes#Minimum.2FMaximum_State|Maximum State]]|intn=MaximumState|choices|Require an NPC have a maximum state to use the hint.}} | {{KV|[[Hint_nodes#Minimum.2FMaximum_State|Maximum State]]|intn=MaximumState|integer choices|Require an NPC have a maximum state to use the hint.}} | ||
:* 1 : Idle | :* 1 : Idle | ||
:* 2 : Alert | :* 2 : Alert |
Revision as of 18:32, 18 September 2024
|
- Hint Activity (hintactivity) <string>
- Activity associated with this hint node. Various parts of the NPC AI play this activity at times. i.e. Actbusy nodes will play this activity when an NPC acts busy on the node.
- Node FOV (nodeFOV) <integer choices>
- Imagine this node requires that an NPC be in the node's field of view in order to use this hint.
- 45 : 45 Degrees
- 90 : 90 Degrees
- 180 : 180 Degrees
- 360 : 360 Degrees
- Start Hint Disabled (StartHintDisabled) <boolean>
- Spawn the hint disabled.
- Hint Group (Group) <string>
- If specified, gives the hint a specific group name. Useful for hint nodes that need to be logically grouped together. NPCs may also refuse to use hint nodes that don't match their hint group.
- Target node (TargetNode) <node_dest>
- The node ID of an associated target node, if any.
- Ignore Facing (IgnoreFacing) <integer choices>
- Don't pay attention to the facing of the node. May not apply to a given hint type.
- 0 : No
- 1 : Yes
- 2 : Default
- Radius (radius) <integer>
- Allows hints to only be usable in a pre-defined radius(in all games since
)(also in
)
- Weight (hintweight) <integer>
- Allows NPCs to prefer certain hints over others (only in
)
- Minimum State (MinimumState) <integer choices>
- Require an NPC have a minimum state to use the hint.
- 1 : Idle
- 2 : Alert
- 3 : Combat
- Maximum State (MaximumState) <integer choices>
- Require an NPC have a maximum state to use the hint.
- 1 : Idle
- 2 : Alert
- 3 : Combat
- Node ID (nodeid) <integer>
- Read-only internal Hammer value.