Node graph: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created. Needs more work, especially on nodegraph building.)
 
m (redir)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
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]].
#REDIRECT [[Nodegraph]]
 
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 <code>hl2\<modname>\maps\graphs</code> 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.
 
 
==See also==
*[[ai_show_connect]], [[map_edit]]
*[[ai_debug_nav]], [[npc_go]], [[npc_route]], [[ai_moveprobe_debug]].
 
[[Category:AI]]

Latest revision as of 03:08, 6 August 2006

Redirect to: