This page is under construction
Archives/bf1942/levels/tolmezzo.rfa
bf1942/levels/tolmezzo/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 680/338
ai.setSmoothing 0 5
rem 680/338, 680/338, 672/351, 672/351, 650/316, 650/316, 608/307, 608/307, 616/307, 616/307, 654/275, 654/275, 674/274, 674/274, 613/267, 613/267, 556/677, 556/677, 524/662, 524/662, 584/684, 584/684, 562/692, 562/692, 520/595, 520/595, 602/256, 602/256, 481/692, 481/692, 714/526, 714/526, 714/542, 714/542, 516/430, 516/430, 474/618, 474/618, 602/683, 602/683, 538/687, 538/687, 672/331, 672/331

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 655/307
ai.setSmoothing 1 10
rem 655/307, 517/454, 698/545, 533/665, 715/529, 666/532, 698/517, 538/450, 514/433, 519/439, 635/306, 623/306, 604/306, 671/323, 681/319, 664/330, 534/655, 562/695, 586/687, 547/643, 516/642, 497/653, 514/468

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