Info node link: Difference between revisions
Jump to navigation
Jump to search

Bug:Non-functional. Use info_node_link_controller instead if this keyvalue is needed. [todo tested in ?]
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
|||
Line 1: | Line 1: | ||
{{lang | <!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}[[File:link.png|left|link=]] | ||
[[File:link.png|left|link=]] | |||
{{ | {{this is a|e0|name=info_node_link}} 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). | ||
{{clr}} | {{clr}} | ||
Line 17: | Line 16: | ||
:* 8 : Climb | :* 8 : Climb | ||
{{KV|Allow Pass When Off|intn=AllowUse|string|Entity or class to allow passage even when node is off}} | {{KV|Allow Pass When Off|intn=AllowUse|string|Entity or class to allow passage even when node is off}} | ||
{{KV|Invert exclusion rules|intn=InvertAllow|boolean|Allowed entity is the only entity NOT allowed when this is set to 'yes'{{bug|Non-functional. Use {{ent|info_node_link_controller}} instead if this keyvalue is needed. | {{KV|Invert exclusion rules|intn=InvertAllow|boolean|Allowed entity is the only entity NOT allowed when this is set to 'yes'{{bug|Non-functional. Use {{ent|info_node_link_controller}} instead if this keyvalue is needed.}} | ||
{{KV Targetname}} | {{KV Targetname}} | ||
Revision as of 11:16, 4 January 2024



info_node_link
is an e0 available in all Source 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).
Keyvalues
- 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 appear 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
- Allow Pass When Off (AllowUse) <string>
- Entity or class to allow passage even when node is off
{{KV|Invert exclusion rules|intn=InvertAllow|boolean|Allowed entity is the only entity NOT allowed when this is set to 'yes'

- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Flags
See: NPC Hull.
- 1 : Force human connect
- 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
Inputs
- TurnOn
- Turn the link on.
- TurnOff
- Turn the link off.
Outputs
See also
info_node_link_controller
- manages all connections between nodes that intersect the controller's volume. This allows for mass enabling/disabling of all node connections.