This page is under construction
Archives/Bf1942/Levels/Hill_Four_Hundred.rfa
bf1942/levels/Hill_Four_Hundred/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 446/445
ai.setSmoothing 0 20
rem 446/445, 442/452, 862/238, 856/233

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 857/260
ai.setSmoothing 1 10
rem 857/260, 847/251, 839/244, 847/244, 860/222, 389/548, 428/448, 415/563, 450/538, 649/349, 648/359, 663/360, 653/359, 688/496, 690/502, 691/473, 705/496, 653/509, 644/524, 644/544, 641/506, 528/543, 499/526, 495/496, 523/536, 400/514, 411/511, 426/515, 428/536, 407/545, 383/527, 867/197, 877/196, 881/207, 889/200, 869/188, 887/192, 880/188

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