This page is under construction
Archives/bf1942/levels/GC_Anchorhead.rfa
Bf1942/Levels/gc_anchorhead/AIpathFinding.con
if v_arg1 == host
rem *** pathfinding debug mode
game.aiPathfindingDebuggingActive 0
rem *** Set number of maps ***
rem ai.setNSearchMaps 2 *** DEPRICATED ***
rem ai.setNSearchTypes 2 *** DEPRICATED ***
rem *** Set number of AStar resources ***
rem ai.numAStarResources 12
rem *** Setup map parameters ***
rem *** Tank ***
rem *** searchMap name/ waterHeight/ waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/
rem considerAITypes/createSecondLayerMap/ firstLevel-secondlevel-thirdlevel (for second layer map)
rem *** searchType name/mapNum/minSearchLevel
rem *** Tank ***
ai.addSearchMap Tank0 0 0 30 4.0 0.3 2.5 0 0
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 701/357 , 349/324
ai.setSmoothing 0 20
rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 40 4.0 0.4 2.0 0 0
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 632/299 , 428/704
ai.setSmoothing 1 10
rem *** Car ***
ai.addSearchMap Car4 0 0 20 4.0 0.3 2.5 0
ai.addSearchType Car 2 0
ai.setMapSpawnPoints 2 632/299 , 428/70
ai.setSmoothin 2 6
rem *** Load maps ***
ai.loadMaps
rem run StaticObjects.con
rem ai.createAllMaps
endif
rem *** pathfinding debug mode
game.aiPathfindingDebuggingActive 0
rem *** Set number of maps ***
rem ai.setNSearchMaps 2 *** DEPRICATED ***
rem ai.setNSearchTypes 2 *** DEPRICATED ***
rem *** Set number of AStar resources ***
rem ai.numAStarResources 12
rem *** Setup map parameters ***
rem *** Tank ***
rem *** searchMap name/ waterHeight/ waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/
rem considerAITypes/createSecondLayerMap/ firstLevel-secondlevel-thirdlevel (for second layer map)
rem *** searchType name/mapNum/minSearchLevel
rem *** Tank ***
ai.addSearchMap Tank0 0 0 30 4.0 0.3 2.5 0 0
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 701/357 , 349/324
ai.setSmoothing 0 20
rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 40 4.0 0.4 2.0 0 0
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 632/299 , 428/704
ai.setSmoothing 1 10
rem *** Car ***
ai.addSearchMap Car4 0 0 20 4.0 0.3 2.5 0
ai.addSearchType Car 2 0
ai.setMapSpawnPoints 2 632/299 , 428/70
ai.setSmoothin 2 6
rem *** Load maps ***
ai.loadMaps
rem run StaticObjects.con
rem ai.createAllMaps
endif