This page is under construction
Archives/bf1942/levels/Syanno.rfa
bf1942/levels/Syanno/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 1118/1683
ai.setSmoothing 0 20
rem 1118/1683, 1118/1683, 930/1683, 930/1683, 974/1683, 974/1683, 1074/1683, 1074/1683, 1029/1683, 1029/1683, 1019/1683, 1019/1683, 983/1694, 983/1694, 965/1694, 965/1694, 1040/1705, 1040/1705, 1029/1698, 1029/1698, 1019/1698, 1019/1698, 1008/1706, 1008/1706, 1065/1694, 1065/1694, 1084/1694, 1084/1694, 1109/1694, 1109/1694, 1128/1693, 1128/1693, 921/1693, 921/1693, 939/1694, 939/1694, 1074/1711, 1074/1711, 974/1711, 974/1711, 930/1712, 930/1712, 1118/1711, 1118/1711, 1028/1717, 1028/1717, 1020/1717, 1020/1717, 1029/366, 1029/366, 1019/365, 1019/365, 979/365, 979/365, 940/365, 940/365, 1070/366, 1070/366, 1110/365, 1110/365, 1079/355, 1079/355, 1061/355, 1061/355, 949/355, 949/355, 932/355, 932/355, 988/355, 988/355, 971/355, 971/355, 1009/348, 1009/348, 1039/348, 1039/348, 1020/350, 1020/350, 1029/350, 1029/350, 1101/355, 1101/355, 1120/355, 1120/355, 1020/332, 1020/332, 1028/332, 1028/332, 1110/341, 1110/341, 980/341, 980/341, 1070/341, 1070/341, 940/341, 940/341

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 1017/302
ai.setSmoothing 1 10
rem 1017/302, 1031/1744, 1037/1730, 1040/1729, 1043/1729, 1046/1729, 1017/1744, 1078/1726, 1076/1720, 1072/1719, 1068/1719, 1080/1720, 1109/1721, 1123/1721, 1118/1721, 1113/1721, 926/1730, 948/1731, 970/1731, 992/1730, 942/1721, 937/1721, 933/1721, 928/1721, 984/1720, 978/1720, 974/1720, 969/1719, 953/1725, 1011/1729, 1008/1729, 1004/1729, 1000/1729, 933/333, 940/332, 944/333, 949/332, 981/332, 986/332, 1090/328, 955/325, 970/332, 975/332, 1011/328, 1008/328, 1003/328, 998/328, 1020/322, 1037/328, 1041/328, 1045/328, 1049/328, 1061/333, 1065/332, 1069/333, 1075/332, 1100/332, 1106/332, 1111/332, 1116/332, 1118/316, 1097/316, 1074/316, 1052/316

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