Node graph
Jump to navigation
Jump to search
When an NPC attempts to move to a point farther than the local navigation limit (600 units in HL2), it will use the node graph to build a route.
Whenever a map is loaded, the AI system checks the timestamp on the existing node graph for the map. If there is no node graph for the map, or the map has changed, the AI system will rebuild the node graph. Node graphs are stored in the hl2\<modname>\maps\graphs
directory.
The node graph is built from a set of level designer placed info_node entities. For each node, the AI system determines which other nodes should connect to it, and for which NPC Hull. The AI system ignores all potentially movable entities (doors, func_trains, etc) when doing this.
TBD
Good node graph construction tips.