This page is under construction
Archives/bf1942/Levels/Mimoyecques.rfa
bf1942/Levels/Mimoyecques/AIpathFinding.con
rem *** pathfinding debug mode

if v_arg1 == host

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 ***
ai.numAStarResources 10

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 30 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 943/930,1001/1588
ai.setSmoothing 0 20

rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 943/930,1001/1588
ai.setSmoothing 1 10

rem *** Boat (Not Used) ***
rem *** Boat ***
ai.addSearchMap Boat2 1 15 3 1 0.3 2.5 0 2 5
ai.addSearchType Boat 2 3
rem ai.setMapSpawnPoints 2 1100/1200
ai.setSmoothing 2 20

rem *** LandingCraft ***
ai.addSearchMap LandingCraft3 1 1.4 30 4.0 0.3 2.5 0 2 5
ai.addSearchType LandingCraft 3 2
ai.setMapSpawnPoints 3 1100/1200
ai.setSmoothing 3 20

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

endIf