This page is under construction
Archives/bf1942/levels/maps - with documentation/Makin Atoll Redux/Makin_Atoll_Redux.rfa
bf1942/levels/Makin_Atoll_Redux/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 268/359
ai.setSmoothing 0 20
rem 268/359, 268/359, 464/488, 511/370, 511/370, 515/353, 515/353, 713/582, 713/582, 700/331, 700/331, 682/316, 682/316, 471/471, 471/471, 435/474, 278/351, 278/351, 281/387, 281/387

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 263/350
ai.setSmoothing 1 10
rem 263/350, 288/382, 299/390, 458/462, 472/463, 481/457, 737/274, 762/319, 697/326, 476/371, 468/365, 501/370, 716/594, 709/580, 487/491, 688/570, 683/566, 737/531, 724/267, 691/319, 693/306, 745/315, 442/352

beginrem
rem *** Amphibius ***
ai.addSearchMap Amphibius4 0 1000 30 4.0 0.3 2.5 0
ai.addSearchType Amphibius 4 0
ai.setMapSpawnPoints 4 0/0
ai.setSmoothing 4 20
ai.setWaterCutOffDepth 1
endrem

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

endIf