This page is under construction
Archives/bf1942/levels/GC_Hoth.rfa
bf1942/levels/GC_Hoth/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 1321/1663
ai.setSmoothing 0 20
rem 1321/1663, 590/525, 590/525, 534/608, 534/608, 534/685, 534/685, 556/581, 556/581, 420/335, 420/335, 1329/1682, 1341/1661, 1348/1673, 775/119, 775/119, 1372/1797, 1325/1840, 1200/1720, 588/468, 588/468, 630/450, 630/450, 590/497, 590/497, 1106/560, 1106/560, 1079/492, 1079/492, 787/103, 787/103, 1868/538, 1868/538, 1003/853, 1003/853, 1098/549, 1098/549, 1523/1800, 1287/1819, 539/708, 539/708, 588/480, 588/480

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 335/316
ai.setSmoothing 1 10
rem 335/316, 351/334, 395/344, 339/329, 335/333, 324/346, 356/380, 349/344, 343/418, 322/350, 1347/1666, 1295/1711, 1317/1679, 1357/1798, 1340/1811, 1334/1674, 1333/1663, 1357/1773, 1301/1714, 1319/1672, 991/863, 971/844, 990/792, 1006/862, 974/797, 972/827, 1005/806, 979/851, 1025/819, 968/807, 519/655, 539/677, 634/412, 564/613, 637/456, 613/454, 596/474, 540/621, 540/588, 584/458, 1133/576, 1132/519, 1077/485, 1079/521, 1160/583, 1106/500, 1107/551, 1174/560, 1156/542, 1103/473

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