This page is under construction
Archives/bf1942/levels/Kharkov.rfa
bf1942/levels/Kharkov/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 ***
ai.numAStarResources 10

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
ai.setMapSpawnPoints 0 753/149, 753/149, 760/149, 760/149, 721/152, 721/152, 716/152, 716/152, 714/183, 714/183, 743/180, 743/180, 708/197, 708/197, 715/197, 715/197, 752/201, 752/201, 759/201, 759/201, 684/496, 684/496, 488/405, 488/405, 519/406, 519/406, 350/526, 350/526, 239/295, 239/295, 252/295, 252/295, 258/292, 258/292, 204/232, 204/232, 198/232, 198/232, 191/232, 191/232, 186/232, 186/232, 224/302
rem ai.setSmoothing 0 20

rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 173/265, 210/268, 188/226, 202/226, 239/256, 173/261, 252/289, 218/302, 239/285, 364/525, 350/520, 341/573, 391/581, 481/725, 553/728, 518/714, 655/558, 666/552, 683/519, 485/419, 525/396, 478/468, 479/412, 519/394, 768/198, 702/195, 708/153, 768/146, 771/148, 803/149, 736/159
rem 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 637/561, 637/561, 373/524, 373/524, 726/169, 726/169, 567/552, 658/545, 658/545, 635/509, 635/509, 582/513, 582/513, 466/524, 466/524, 469/544, 523/472, 488/474, 486/436, 563/729, 563/729, 466/722, 466/722, 397/543, 397/543, 398/550, 398/550, 338/564, 338/564, 231/259, 231/259
ai.setSmoothing 2 6

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

endIf