This page is under construction
Archives/Bf1942/Levels/salerno.rfa
bf1942/Levels/salerno/AIpathFinding.con
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 ***
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 25 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 721.532/851.945,431.987/620.29
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 721.532/851.945,431.987/620.29
ai.setSmoothing 1 10

rem *** Car ***
rem ai.addSearchMap Car4 0 0 20 4.0 0.3 2.5 0
rem ai.addSearchType Car 2 0
rem ai.setMapSpawnPoints 2 721.532/851.945,431.987/620.29

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