This page is under construction
Archives/bf1942/levels/DC_Coastal_Hammer.rfa
bf1942/levels/DC_Coastal_Hammer/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 *** Tank ***
rem *** searchMap name/ waterHeight/ waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/
rem considerAITypes/createSecondLayerMap/ firstLevel-secondlevel-thirdlevel (for second layer map)
rem *** searchType name/mapNum/minSearchLevel
rem *** Tank ***
ai.addSearchMap Tank0 0 0 40 2.5 0.3 2.5 0
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 1620/84 , 1620/130 , 1004/186 , 1066/714 , 1057/713 , 1074/696 , 945/1360 , 975/1363 , 999/1362 , 1023/1362 , 1048/1359 , 1070/1357 , 1087/1354 , 1626/130 , 997/193 , 984/187
ai.setSmoothing 0 20
rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 60 1.0 0.4 2.0 0
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 1075/717 , 1036/719 , 1019/698 , 966/174 , 939/145 , 1606/120 , 1606/98 , 1653/145 , 1631/145 , 918/1357 , 826/316 , 905/1327 , 909/1325 , 912/1325 , 916/1328 , 923/1325 , 926/1325 , 929/1323 , 933/1323 , 949/1322 , 957/1321 , 962/1320 , 973/1320 , 982/1319 , 987/1319 , 991/1318 , 998/1318 , 1009/1319 , 1014/1319 , 1018/1319 , 1022/1318 , 1030/1319 , 1034/1319 , 1038/1319 , 1046/1318 , 1054/1320 , 1059/1319 , 1062/1318 , 1069/1320 , 1074/1319 , 1079/1320 , 1085/1319 , 1090/1319 , 1670/86 , 1664/86 , 1659/86 , 1655/86 , 1654/123 , 1658/123 , 1663/123 , 1670/123 , 987/126 , 982/126 , 976/126 , 969/126 , 990/170 , 985/170 , 977/187 , 973/189 , 958/300 , 966/298 , 961/245 , 951/245 , 985/267 , 922/301 , 992/258 , 960/246 , 827/311 , 819/309 , 813/308 , 840/259 , 830/260 , 855/297 , 858/291 , 806/293 , 809/280 , 825/183 , 824/176 , 842/177 , 842/183 , 825/178 , 842/181 , 1066/679 , 1072/680 , 1071/684 , 1025/680 , 1030/679 , 1024/683 , 1023/715 , 1027/715 , 1070/713 , 1074/708
ai.setSmoothing 1 10
rem *** Boat ***
ai.addSearchMap Boat2 1 1.4 30 4.0 0.3 2.5 0
ai.addSearchType Boat 2 2
ai.setMapSpawnPoints 2
ai.setSmoothing 2 20
rem *** Landingcraft ***
ai.addSearchMap LandingCraft3 1 1.4 30 4.0 0.3 2.5 0
ai.addSearchType LandingCraft 3 2
ai.setMapSpawnPoints 3
ai.setSmoothing 3 20
rem *** Car ***
ai.addSearchMap Car4 0 0 45 2.5 0.3 2.5 0
ai.addSearchType Car 4 0
ai.setMapSpawnPoints 4 1648/93 , 975/131 , 1056/678 , 1056/688 , 933/1343 , 960/1343 , 988/1343 , 1011/1341 , 1035/1342 , 1059/1343 , 837/169 , 863/274 , 747/224 , 1001/213 , 572/519 , 1029/693 , 1657/151 , 725/403 , 851/734 , 566/518
ai.setSmoothing 4 6
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 *** Tank ***
rem *** searchMap name/ waterHeight/ waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/
rem considerAITypes/createSecondLayerMap/ firstLevel-secondlevel-thirdlevel (for second layer map)
rem *** searchType name/mapNum/minSearchLevel
rem *** Tank ***
ai.addSearchMap Tank0 0 0 40 2.5 0.3 2.5 0
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 1620/84 , 1620/130 , 1004/186 , 1066/714 , 1057/713 , 1074/696 , 945/1360 , 975/1363 , 999/1362 , 1023/1362 , 1048/1359 , 1070/1357 , 1087/1354 , 1626/130 , 997/193 , 984/187
ai.setSmoothing 0 20
rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 60 1.0 0.4 2.0 0
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 1075/717 , 1036/719 , 1019/698 , 966/174 , 939/145 , 1606/120 , 1606/98 , 1653/145 , 1631/145 , 918/1357 , 826/316 , 905/1327 , 909/1325 , 912/1325 , 916/1328 , 923/1325 , 926/1325 , 929/1323 , 933/1323 , 949/1322 , 957/1321 , 962/1320 , 973/1320 , 982/1319 , 987/1319 , 991/1318 , 998/1318 , 1009/1319 , 1014/1319 , 1018/1319 , 1022/1318 , 1030/1319 , 1034/1319 , 1038/1319 , 1046/1318 , 1054/1320 , 1059/1319 , 1062/1318 , 1069/1320 , 1074/1319 , 1079/1320 , 1085/1319 , 1090/1319 , 1670/86 , 1664/86 , 1659/86 , 1655/86 , 1654/123 , 1658/123 , 1663/123 , 1670/123 , 987/126 , 982/126 , 976/126 , 969/126 , 990/170 , 985/170 , 977/187 , 973/189 , 958/300 , 966/298 , 961/245 , 951/245 , 985/267 , 922/301 , 992/258 , 960/246 , 827/311 , 819/309 , 813/308 , 840/259 , 830/260 , 855/297 , 858/291 , 806/293 , 809/280 , 825/183 , 824/176 , 842/177 , 842/183 , 825/178 , 842/181 , 1066/679 , 1072/680 , 1071/684 , 1025/680 , 1030/679 , 1024/683 , 1023/715 , 1027/715 , 1070/713 , 1074/708
ai.setSmoothing 1 10
rem *** Boat ***
ai.addSearchMap Boat2 1 1.4 30 4.0 0.3 2.5 0
ai.addSearchType Boat 2 2
ai.setMapSpawnPoints 2
ai.setSmoothing 2 20
rem *** Landingcraft ***
ai.addSearchMap LandingCraft3 1 1.4 30 4.0 0.3 2.5 0
ai.addSearchType LandingCraft 3 2
ai.setMapSpawnPoints 3
ai.setSmoothing 3 20
rem *** Car ***
ai.addSearchMap Car4 0 0 45 2.5 0.3 2.5 0
ai.addSearchType Car 4 0
ai.setMapSpawnPoints 4 1648/93 , 975/131 , 1056/678 , 1056/688 , 933/1343 , 960/1343 , 988/1343 , 1011/1341 , 1035/1342 , 1059/1343 , 837/169 , 863/274 , 747/224 , 1001/213 , 572/519 , 1029/693 , 1657/151 , 725/403 , 851/734 , 566/518
ai.setSmoothing 4 6
rem *** Load maps ***
ai.loadMaps
endif