This page is under construction
Archives/bf1942/levels/Barbarossa.rfa
bf1942/levels/Barbarossa/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 25 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
rem ai.setMapSpawnPoints 0 1159/1766
ai.setSmoothing 0 20
rem 1159/1766, 1159/1766, 1160/1773, 1160/1773, 1152/1820, 1152/1820, 1152/1827, 1152/1827, 1151/1834, 1151/1834, 1140/1820, 1140/1820, 1140/1827, 1140/1827, 1140/1835, 1140/1835, 1147/1765, 1147/1765, 1147/1774, 1147/1774, 1267/1764, 1267/1764, 1267/1757, 1267/1757, 1267/1750, 1267/1750, 1255/1749, 1255/1749, 1255/1757, 1255/1757, 1255/1764, 1255/1764, 417/1730, 417/1730, 401/1729, 401/1729, 766/1238, 766/1238, 821/1258, 821/1258, 799/1240, 799/1240, 967/947, 967/947, 974/944, 974/944, 990/943, 990/943, 1679/986, 1679/986, 1679/978, 1679/978, 1630/956, 1630/956, 434/448, 434/448, 434/455, 434/455, 434/463, 434/463, 447/448, 447/448, 447/455, 447/455, 447/463, 447/463, 470/446, 470/446, 475/446, 475/446, 481/446, 481/446, 487/446, 487/446, 492/446, 492/446, 514/440, 514/440, 514/433, 514/433, 479/430, 479/430, 486/430, 486/430, 493/431, 493/431, 1538/384, 1538/384, 1510/383, 1510/383, 446/1257, 446/1257, 424/1259, 424/1259
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 1296/1823
ai.setSmoothing 1 10
rem 1296/1823, 1314/1806, 1224/1773, 1194/1830, 1162/1840, 1127/1833, 1179/1758, 1277/1752, 1277/1761, 1174/1751, 406/389, 405/399, 432/435, 501/430, 470/436, 467/437, 418/468, 506/452, 506/502, 453/441, 410/1722, 430/1719, 454/1248, 469/1251, 806/1255, 790/1244, 982/937, 988/972, 1660/958, 1658/954, 1498/389, 1533/395
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 ***
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 25 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
rem ai.setMapSpawnPoints 0 1159/1766
ai.setSmoothing 0 20
rem 1159/1766, 1159/1766, 1160/1773, 1160/1773, 1152/1820, 1152/1820, 1152/1827, 1152/1827, 1151/1834, 1151/1834, 1140/1820, 1140/1820, 1140/1827, 1140/1827, 1140/1835, 1140/1835, 1147/1765, 1147/1765, 1147/1774, 1147/1774, 1267/1764, 1267/1764, 1267/1757, 1267/1757, 1267/1750, 1267/1750, 1255/1749, 1255/1749, 1255/1757, 1255/1757, 1255/1764, 1255/1764, 417/1730, 417/1730, 401/1729, 401/1729, 766/1238, 766/1238, 821/1258, 821/1258, 799/1240, 799/1240, 967/947, 967/947, 974/944, 974/944, 990/943, 990/943, 1679/986, 1679/986, 1679/978, 1679/978, 1630/956, 1630/956, 434/448, 434/448, 434/455, 434/455, 434/463, 434/463, 447/448, 447/448, 447/455, 447/455, 447/463, 447/463, 470/446, 470/446, 475/446, 475/446, 481/446, 481/446, 487/446, 487/446, 492/446, 492/446, 514/440, 514/440, 514/433, 514/433, 479/430, 479/430, 486/430, 486/430, 493/431, 493/431, 1538/384, 1538/384, 1510/383, 1510/383, 446/1257, 446/1257, 424/1259, 424/1259
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 1296/1823
ai.setSmoothing 1 10
rem 1296/1823, 1314/1806, 1224/1773, 1194/1830, 1162/1840, 1127/1833, 1179/1758, 1277/1752, 1277/1761, 1174/1751, 406/389, 405/399, 432/435, 501/430, 470/436, 467/437, 418/468, 506/452, 506/502, 453/441, 410/1722, 430/1719, 454/1248, 469/1251, 806/1255, 790/1244, 982/937, 988/972, 1660/958, 1658/954, 1498/389, 1533/395
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