Info node climb: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Formatting and a bit more categorisation.)
m (Formatting)
Line 10: Line 10:


* '''Name''' ''targetname <target_source>''
* '''Name''' ''targetname <target_source>''
** The name that other entities refer to this entity by.
: The name that other entities refer to this entity by.
 
* '''Pitch Yaw Roll (Y Z X)''' ''angles <angle>''
* '''Pitch Yaw Roll (Y Z X)''' ''angles <angle>''
** This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
: This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
 
* '''Node ID''' ''nodeid <integer>''
* '''Node ID''' ''nodeid <integer>''
* '''Hint''' ''hinttype <choices>''  
* '''Hint''' ''hinttype <choices>''  
* '''Hint Activity''' ''hintactivity <string>''
* '''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.
: 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 <choices>''
* '''Node FOV''' ''nodeFOV <choices>''
** Imagine this node requires that an NPC be in the node's field of view in order to use this hint.
: Imagine this node requires that an NPC be in the node's field of view in order to use this hint.
 
* '''Start Hint Disabled''' ''StartHintDisabled <choices>''
* '''Start Hint Disabled''' ''StartHintDisabled <choices>''
* '''Hint Group''' ''Group <string>''  
* '''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.
: 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>''
* '''Target node''' ''TargetNode <node_dest>''
** The node ID of an associated target node, if any.
: The node ID of an associated target node, if any.
 
* '''Ignore Facing''' ''IgnoreFacing <choices>''
* '''Ignore Facing''' ''IgnoreFacing <choices>''
** Don't pay attention to the facing of the node. May not apply to a given hint type.
: Don't pay attention to the facing of the node. May not apply to a given hint type.
 
* '''Minimum State''' ''MinimumState <choices>''
* '''Minimum State''' ''MinimumState <choices>''
** Require an NPC have a minimum state to use the hint.
: Require an NPC have a minimum state to use the hint.
 
* '''Maximum State''' ''MaximumState <choices>''
* '''Maximum State''' ''MaximumState <choices>''
** Require an NPC have a maximum state to use the hint.
: Require an NPC have a maximum state to use the hint.


===Inputs===
===Inputs===


* '''Kill'''
* '''Kill'''
** Removes this entity from the world.
: Removes this entity from the world.
 
* '''KillHierarchy'''
* '''KillHierarchy'''
** Removes this entity and all its children from the world.
: Removes this entity and all its children from the world.
 
* '''AddOutput <string>''' ''<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>''
* '''AddOutput <string>''' ''<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>''
** Adds an entity I/O connection to this entity. Very dangerous, use with care.
: Adds an entity I/O connection to this entity. Very dangerous, use with care.
 
* '''FireUser1'''
* '''FireUser1'''
** Causes this entity's OnUser1 output to be fired.
: Causes this entity's OnUser1 output to be fired.
 
* '''FireUser2'''
* '''FireUser2'''
** Causes this entity's OnUser2 output to be fired.
: Causes this entity's OnUser2 output to be fired.
 
* '''FireUser3'''
* '''FireUser3'''
** Causes this entity's OnUser3 output to be fired.
: Causes this entity's OnUser3 output to be fired.
 
* '''FireUser4'''
* '''FireUser4'''
** Causes this entity's OnUser4 output to be fired.
: Causes this entity's OnUser4 output to be fired.
 
* '''EnableHint'''
* '''EnableHint'''
** Enable hint.
: Enable hint.
 
* '''DisableHint'''
* '''DisableHint'''
** Disable hint.
: Disable hint.


===Outputs===
===Outputs===


* '''OnUser1'''  
* '''OnUser1'''  
** Fired in response to FireUser1 input.
: Fired in response to FireUser1 input.
 
* '''OnUser2'''  
* '''OnUser2'''  
** Fired in response to FireUser2 input.
: Fired in response to FireUser2 input.
 
* '''OnUser3'''  
* '''OnUser3'''  
** Fired in response to FireUser3 input.
: Fired in response to FireUser3 input.
 
* '''OnUser4'''  
* '''OnUser4'''  
** Fired in response to FireUser4 input.
: Fired in response to FireUser4 input.


[[Category:Entities]]
[[Category:Entities]]
[[Category:AI]]
[[Category:AI]]

Revision as of 08:11, 9 July 2005

Template:Wrongtitle

Entity Description

Entity Name: info_node_climb

A climb-node for AI navigation. Only usable by NPCs that can climb.

Entity Values

Keys

  • Name targetname <target_source>
The name that other entities refer to this entity by.
  • Pitch Yaw Roll (Y Z X) angles <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
  • Node ID nodeid <integer>
  • Hint hinttype <choices>
  • 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 <choices>
Imagine this node requires that an NPC be in the node's field of view in order to use this hint.
  • Start Hint Disabled StartHintDisabled <choices>
  • 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 <choices>
Don't pay attention to the facing of the node. May not apply to a given hint type.
  • Minimum State MinimumState <choices>
Require an NPC have a minimum state to use the hint.
  • Maximum State MaximumState <choices>
Require an NPC have a maximum state to use the hint.

Inputs

  • Kill
Removes this entity from the world.
  • KillHierarchy
Removes this entity and all its children from the world.
  • AddOutput <string> <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
Adds an entity I/O connection to this entity. Very dangerous, use with care.
  • FireUser1
Causes this entity's OnUser1 output to be fired.
  • FireUser2
Causes this entity's OnUser2 output to be fired.
  • FireUser3
Causes this entity's OnUser3 output to be fired.
  • FireUser4
Causes this entity's OnUser4 output to be fired.
  • EnableHint
Enable hint.
  • DisableHint
Disable hint.

Outputs

  • OnUser1
Fired in response to FireUser1 input.
  • OnUser2
Fired in response to FireUser2 input.
  • OnUser3
Fired in response to FireUser3 input.
  • OnUser4
Fired in response to FireUser4 input.