This page is under construction
Archives/bf1942/levels/Coral_Sea.rfa
bf1942/levels/Coral_Sea/AIpathFinding.con
rem *** pathfinding debug mode
rem game.aiPathfindingDebuggingActive 1

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 739/1366
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 739/1366,1305/1401,1088/1173,630/677,1363/666
ai.setSmoothing 1 10

rem *** Boat ***
ai.addSearchMap Boat2 1 8 30 125.0 0.3 2.5 0 2 5
ai.addSearchType Boat 2 2
ai.setMapSpawnPoints 2 300/300
ai.setSmoothing 2 20

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