This page is under construction
Archives/bf1942/levels/GC_Endor.rfa
bf1942/levels/GC_Endor/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 160/246
ai.setSmoothing 0 20
rem 160/246, 160/246, 626/282, 626/282, 396/757, 396/757, 597/872, 597/872, 571/838, 571/838, 381/759, 381/759, 521/517, 521/517, 687/652, 687/652, 418/761, 418/761, 474/512, 474/512, 419/757, 419/757
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 440/169
ai.setSmoothing 1 10
rem 440/169, 603/812, 438/170, 431/250, 408/166, 455/191, 246/368, 222/316, 234/366, 291/341, 192/411, 507/514, 470/518, 458/558, 547/545, 536/484, 418/730, 367/767, 372/759, 415/760, 371/761, 605/870, 660/847, 636/858, 670/892
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 160/246
ai.setSmoothing 0 20
rem 160/246, 160/246, 626/282, 626/282, 396/757, 396/757, 597/872, 597/872, 571/838, 571/838, 381/759, 381/759, 521/517, 521/517, 687/652, 687/652, 418/761, 418/761, 474/512, 474/512, 419/757, 419/757
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 440/169
ai.setSmoothing 1 10
rem 440/169, 603/812, 438/170, 431/250, 408/166, 455/191, 246/368, 222/316, 234/366, 291/341, 192/411, 507/514, 470/518, 458/558, 547/545, 536/484, 418/730, 367/767, 372/759, 415/760, 371/761, 605/870, 660/847, 636/858, 670/892
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