This page is under construction
Archives/bf1942/levels/maps - with documentation/Mansion of the Snake/Mansion_of_the_Snake_009.rfa
bf1942/Levels/MANSION_OF_THE_SNAKE/AIpathFinding.con
rem AIPathFinding.con file for MANSION_OF_THE_SNAKE by Natty Wallo, AI added by cajunwolf

if v_arg1 == host
rem ---------------------------------------------------------

rem *** Pathfinding debug mode (Use for trouble shooting only) ***

rem game.aiPathfindingDebuggingActive 1

rem *** Set number of maps (Not used anymore) ***

rem ai.setNSearchMaps 2 *** DEPRICATED ***
rem ai.setNSearchTypes 2 *** DEPRICATED ***

rem *** Set number of AStar resources ***

ai.numAStarResources 12

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
rem ai.setMapSpawnPoints 0
ai.setSmoothing 0 20

rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 40 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
rem ai.setMapSpawnPoints 1 6
ai.setSmoothing 1 10

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

rem ---------------------------------------------------------
endif