info_node

From Sven Co-op
Jump to navigation Jump to search
info_node
Type

point

Status

supported

 


Nodes are required in order for monsters to navigate around the map properly.

It is advised to have nodes' origins hover slightly over the ground by 1 to 4 units, in order to prevent nodes from being ignored in nodegraph calculation due to them falsely being identified as being stuck in the floor. The nodegraph is created about 3 seconds after a map has loaded, if the current nodegraph appears to be outdated (Map's 'Create date' later than nodegraph's) or does not exist. The nodegraph-file is located in 'maps/graphs/mapname.nod'. The *.nrp-file which is also produced is a log file containing rather difficult-to-use information. There is no distance limitation for two nodes to connect. Try to place them in as little quantity as possible and as great quantity as required.

Nodes are also used when a monster is ordered to move somewhere by a scripted_sequence, unless the monster is set to not use them. Without nodes, monsters can only walk to their target if it is in direct line of sight with no obstacles blocking the path.

The nodegraph will never change in the middle of play. If a path between two nodes is being blocked sometime after nodegraph-generation, monsters will understand this. However, if a path is blocked while the nodegraph is being calculated, and opened afterwards, monsters won't grasp this. This can happen when you have a door that starts closed. To fix this, you will have to make the door start open and close it about 5 seconds after the map has loaded, when the nodegraph is generated, using a trigger_auto.

An in-depth tutorial on how to use nodes is available in the Mapping section of the wiki.

1 Keyvalues

 Activity : hinttype

Currently non-functional.

Hint type : activity

Currently non-functional.

2 Changes

5.0 Steam Release: Added 'Activity' and 'Hint Type' keyvalues.