This page is under construction
Archives/bf1942/Levels/gvn_v1_rc/Goblin_vs_Natter.rfa
bf1942/levels/Goblin_vs_Natter/AIPathFinding.con
if v_arg1 == host

rem *** Pathfinding debug mode
rem game.aiPathfindingDebuggingActive 1

rem *** Set number of maps ***
rem ai.setNSearchMaps 2 *** DEPRICATED ***
rem ai.setNSearchTypes 2 *** DEPRICATED ***

rem *** Set number of AStar resources ***
rem ai.numAStarResources 12

rem *** Setup map parameters ***
rem *** searchMap name/waterHeight/waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/considerAITypes
rem *** searchType name/mapNum/minSearchLevel


rem *** Tank ***
ai.addSearchMap Tank0 0 0 25 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
rem ai.setMapSpawnPoints 0 0/0
ai.setSmoothing 0 20
rem 0/0,

rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
rem ai.setMapSpawnPoints 1 1040/946
ai.setSmoothing 1 10
rem 1040/946, 1030/935, 1051/943, 1043/942, 1026/946, 1031/940, 986/1002, 1021/998, 1059/987, 1086/994, 720/358, 720/375, 720/365, 722/390, 721/383, 751/1727, 755/1720, 752/1737, 756/1744, 752/1750

rem *** Load maps ***
ai.loadMaps



endIf