This page is under construction
Archives/bf1942/levels/GC_Ryloth.rfa
Bf1942/Levels/GC_Ryloth/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 758/1427
ai.setSmoothing 0 20
rem 758/1427, 758/1427, 808/1447, 808/1447, 651/1256, 651/1256, 1307/359, 1307/359, 1294/311, 1294/311, 1302/395, 1302/395, 1307/290, 1307/290, 1306/346, 1306/346, 825/735, 825/735, 809/734, 809/734, 907/1087, 907/1087, 747/1219, 747/1219, 763/1218, 763/1218, 786/605, 786/605, 828/1368, 828/1368, 1367/340, 1359/296, 1338/391

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 812/1520
ai.setSmoothing 1 10
rem 812/1520, 1325/333, 830/1541, 798/1524, 868/1471, 785/1485, 804/1510, 805/1482, 817/1501, 820/1514, 807/1412, 854/1435, 797/1384, 778/1395, 817/1390, 827/1377, 814/1370, 846/1354, 779/1366, 865/1434, 760/1402, 834/1435, 824/1405, 714/1419, 663/1252, 671/1254, 675/1224, 654/1258, 636/1236, 643/1256, 657/1244, 659/1244, 917/1035, 915/1034, 886/1035, 895/1035, 861/1035, 863/1035, 873/990, 871/991, 853/990, 851/991, 832/990, 836/994, 904/1035, 896/1035, 881/1035, 863/991, 829/991, 820/990, 799/548, 790/601, 755/580, 771/574, 747/555, 1306/323, 1331/326, 1292/306, 1311/341, 1334/310, 1309/365, 1314/381, 1304/334, 1318/373, 1309/295, 793/1238, 791/1239, 762/1239, 763/1239, 753/1239, 772/1239, 773/1242, 815/1195, 823/1195, 857/1194, 845/1195, 883/1195, 878/1197, 907/1193, 839/1198, 913/1195, 752/1304, 774/419, 776/394, 926/1354, 862/1307, 890/1330, 925/1362, 886/1330

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