This page is under construction
Archives/bf1942/levels/GC_Alaris_prime.rfa
Bf1942/Levels/gc_alaris_prime/AIPathFinding.con
if v_arg1 == host
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 ***
rem 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 25 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
rem ai.setMapSpawnPoints 0 599/746
ai.setSmoothing 0 20
rem 599/746, 599/746, 204/706, 204/706, 234/711, 234/711, 229/475, 229/475, 220/702, 220/702, 568/764, 568/764, 219/499, 219/499, 275/219, 275/219, 275/223, 275/223, 515/921, 515/921, 534/959, 534/959, 765/393, 765/393, 771/383, 771/383, 563/744, 563/744
rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
rem ai.setMapSpawnPoints 1 229/697
ai.setSmoothing 1 10
rem 229/697, 215/702, 240/698, 228/692, 218/502, 267/204, 285/223, 295/198, 852/390, 769/379, 765/390, 759/408, 563/777, 590/748, 531/760, 636/754, 465/910, 487/893, 467/922, 533/942, 530/973, 544/956, 505/936, 531/920, 501/923, 581/897, 573/901, 572/880, 468/962, 460/929
beginrem
rem *** Amphibius ***
ai.addSearchMap Amphibius4 0 1000 30 4.0 0.3 2.5 0
ai.addSearchType Amphibius 4 0
ai.setMapSpawnPoints 4 0/0
ai.setSmoothing 4 20
ai.setWaterCutOffDepth 1
endrem
rem *** Load maps ***
ai.loadMaps
endIf
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 ***
rem 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 25 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
rem ai.setMapSpawnPoints 0 599/746
ai.setSmoothing 0 20
rem 599/746, 599/746, 204/706, 204/706, 234/711, 234/711, 229/475, 229/475, 220/702, 220/702, 568/764, 568/764, 219/499, 219/499, 275/219, 275/219, 275/223, 275/223, 515/921, 515/921, 534/959, 534/959, 765/393, 765/393, 771/383, 771/383, 563/744, 563/744
rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
rem ai.setMapSpawnPoints 1 229/697
ai.setSmoothing 1 10
rem 229/697, 215/702, 240/698, 228/692, 218/502, 267/204, 285/223, 295/198, 852/390, 769/379, 765/390, 759/408, 563/777, 590/748, 531/760, 636/754, 465/910, 487/893, 467/922, 533/942, 530/973, 544/956, 505/936, 531/920, 501/923, 581/897, 573/901, 572/880, 468/962, 460/929
beginrem
rem *** Amphibius ***
ai.addSearchMap Amphibius4 0 1000 30 4.0 0.3 2.5 0
ai.addSearchType Amphibius 4 0
ai.setMapSpawnPoints 4 0/0
ai.setSmoothing 4 20
ai.setWaterCutOffDepth 1
endrem
rem *** Load maps ***
ai.loadMaps
endIf