This page is under construction
Archives/bf1942/levels/Charlie/Charlie.rfa
bf1942/levels/Charlie/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 30 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
rem ai.setMapSpawnPoints 0 1009/1782
ai.setSmoothing 0 20
rem 1009/1782, 1009/1782, 1003/1189, 1003/1189, 1005/1328, 1005/1328
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 977/1781
ai.setSmoothing 1 10
rem 977/1781, 963/1778, 936/1791, 1000/1788, 1002/1334, 979/1331, 886/1273, 1010/1329, 1057/1156, 1066/1129, 1058/1133, 1062/1131, 1074/1158, 937/1159, 986/1159, 938/1134, 943/1133, 935/1137, 1107/1535, 1124/1557, 1086/1563, 1120/1544, 1017/986, 1022/1067, 999/1073, 965/1010, 1057/1019
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
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 30 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
rem ai.setMapSpawnPoints 0 1009/1782
ai.setSmoothing 0 20
rem 1009/1782, 1009/1782, 1003/1189, 1003/1189, 1005/1328, 1005/1328
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 977/1781
ai.setSmoothing 1 10
rem 977/1781, 963/1778, 936/1791, 1000/1788, 1002/1334, 979/1331, 886/1273, 1010/1329, 1057/1156, 1066/1129, 1058/1133, 1062/1131, 1074/1158, 937/1159, 986/1159, 938/1134, 943/1133, 935/1137, 1107/1535, 1124/1557, 1086/1563, 1120/1544, 1017/986, 1022/1067, 999/1073, 965/1010, 1057/1019
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