info_node_link

From Source Entities
Jump to navigation Jump to search

Code classes:

info_node_link is a point entity present in all games except the L4d.pngL4d2-small.pngLeft 4 Dead games. It is a manually defined, dynamic connection between two navigation nodes. This could be used to create or destroy a connection in the nodegraph because of some event in your map (a bridge being created/destroyed, etc).

Flags[edit | edit source]

  • 1: Force human connect - Allows NPCs with HULL_HUMAN to use this connection, even if the engine doesn't think it's physically possible.
  • 2: Force small_centered connect
  • 4: Force wide_human connect
  • 8: Force tiny connect
  • 16: Force wide_short connect
  • 32: Force medium connect
  • 64: Force tiny_centered connect
  • 128: Force large connect
  • 256: Force large_centered connect
  • 512: Force medium_tall connect
  • 1024: Force tiny_fluid connect (available in all games since Asw.png)
  • 2048 (Not in FGD): Confirm: Force mediumbig connect? (available in all games since Asw.png)

Keyvalues[edit | edit source]

Start node ID (StartNode) <node_dest>
The node ID of one end of the node connection.
End node ID (EndNode) <node_dest>
The node ID of one end of the node connection.
Initial State (initialstate) <choices>
Makes this connection is available the moment the map loads. If there is something blocking the NPC's path while this is on, the NPC may try to walk straight into that object/hole.
  • 0: Off
  • 1: On
Type of Connection (linktype) <choices>
How NPCs can use this node. Not all NPCs can do all types.
  • 1: Ground
  • 2: Jump
  • 4: Fly
  • 8: Climb
  • 16: Crawl (available in all games since Asw.png) Confirm: Really? Code says 16 is swim and 32 is crawl...
Allow Pass When Off (AllowUse) <target_name_or_class>
Targetname/classname to allow passage even when node is off.
Invert exclusion rules (InvertAllow) <boolean>
Does nothing due to an improper implementation.
Precise Movement (preciseMovement) <boolean> (available in all games since Asw.png)
Tells NPCs the movement through this link must be precise. Used for NPCs that have sloppy movement characteristics to move through things like doors or windows.
Priority (priority) <choices> (available in all games since Asw.png)
How likely it is that NPCs will use this connection.
  • 0: Normal
  • 1: Use As Last Resort - Tells NPCs that this node link is 512 units longer than it really is, which will severely discourage them from using it.

Inputs[edit | edit source]

TurnOn
Turn the link on.
TurnOff
Turn the link off.

See Also[edit | edit source]