This page is under construction
Archives/bf1942/levels/A_Sliver_of_Hope_FH/A_Sliver_of_Hope_FH.RFA
bf1942/levels/A_Sliver_of_Hope_FH/AIpathFinding.con
rem AIpathFinding A_Sliver_of_Hope
rem A Sliver of hope
rem Kurt LeBoeuf

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 25 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 493.77/705.24,489.14/705.21,397.60/1222.02,1026.89/1136.36,1291.04/1401.10,869.86/197.13,874.95/197.07,883.06/262.17,1086.99/666.74,686.97/1637.24,1289.13/1348.37,877.66/268.95,881.39/268.99,885.05/269.00
ai.setSmoothing 0 20


ai.addSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 459.38/642.02,1242.83/1382.08,436.32/535.54,427.48/1229.00
ai.setSmoothing 0 10

rem *** Boat ***
rem ai.addSearchType Boat

rem *** LandingCraft ***
rem ai.addSearchType LandingCraft

rem *** Car ***
ai.addSearchMap Car4 0 0 20 3.0 0.3 2.5 0
ai.addSearchType Car 2 0
ai.setMapSpawnPoints 2 454.08/626.66,417.04/1222.44,1049.21/1134.64,1248.71/1371.13
ai.setSmoothing 2 6


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

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