This page is under construction
archives/bf1942/levels/eagles_nest.rfa
bf1942/levels/eagles_nest/AIpathFinding.con
rem *** pathfinding debug mode

if v_arg1 == host

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 0 2
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 314/443
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 314/443
ai.setSmoothing 1 10

ai.addSearchType Boat

ai.addSearchType LandingCraft

ai.addSearchType Amphibious

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

endIf