This page is under construction
Archives/bf1942/levels/Santo_Croce.rfa
bf1942/levels/Santo_Croce/AIpathFinding.con
if v_arg1 == "host"
rem ----- Host
rem ----------------------------------------------------------------------------

rem *** pathfinding debug mode

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

rem *** Setup map parameters ***
rem *** searchMap name/waterHeight/waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/consideAITypes
ai.addSearchMap Tank0 0 0 30 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 912.396/1250.02,1003.76/999.892,1091.25/1184.92
ai.setSmoothing 0 20


ai.addSearchMap Infantry1 0 1.5 35 1.0 0.4 2.0 1
ai.addSearchType Infantery 1 0
ai.setMapSpawnPoints 1 912.396/1250.02,1003.76/999.892,1091.25/1184.92
ai.setSmoothing 1 10

beginrem
rem *** Car ***
ai.addSearchMap Car4 0 0 30 3.0 0.3 2.5 0
ai.addSearchType Car 2 0
ai.setMapSpawnPoints 2 912.396/1250.02,1003.76/999.892,1091.25/1184.92
ai.setSmoothing 2 6
endrem
rem *** Load maps ***
ai.loadMaps


rem ----------------------------------------------------------------------------
endIf