Difference between revisions of "AIN"

From Valve Developer Community
Jump to: navigation, search
m (generic <game> directory)
(corrected some info)
Line 1: Line 1:
 
{{stub}} [[Category:Glossary]][[Category:Level Design]][[Category:AI]]
 
{{stub}} [[Category:Glossary]][[Category:Level Design]][[Category:AI]]
An AIN file is a nodegraph; it can either be automatically generated or made from [[info_node]]s placed by hand in the level. AIN files are used by [[NPC|NPC's]] to navigate around their enviroment. If there is no existing AIN file specific to that map, or if it was generated for an older version of that map, the AIN file ( <MAP_NAME>.ain ) is generated by the game. The message "Node graph out of date. Rebuilding..." is seen at the beginning of that map if the AIN file was built or re-built.
+
An AIN file is a nodegraph for Source engine games. It stores information relating to [[info_node]]s and their proximity and visibility for use by the AI for movement around a map. AIN files are automatically generated by the game. If there is no existing AIN file specific to that map, or if it was generated for an older version of that map, the AIN file ( <MAP_NAME>.ain ) is generated by the game. The message "Node graph out of date. Rebuilding..." is printed to the screen when a build or rebuild is occurring.
  
 
The graph files are stored in the ..\<game>\maps\graphs directory.
 
The graph files are stored in the ..\<game>\maps\graphs directory.

Revision as of 19:59, 6 February 2011

An AIN file is a nodegraph for Source engine games. It stores information relating to info_nodes and their proximity and visibility for use by the AI for movement around a map. AIN files are automatically generated by the game. If there is no existing AIN file specific to that map, or if it was generated for an older version of that map, the AIN file ( <MAP_NAME>.ain ) is generated by the game. The message "Node graph out of date. Rebuilding..." is printed to the screen when a build or rebuild is occurring.

The graph files are stored in the ..\<game>\maps\graphs directory.