This page is under construction
archives/bf1942/levels/XWW2_Hochwald_Forest.rfa
bf1942/levels/XWW2_Hochwald_Forest/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 2.0 0.3 2.5 0 0 2
ai.addSearchType Tank 0 0
rem ai.setMapSpawnPoints 0 173/729, 733/572
ai.setSmoothing 0 10
rem 173/729, 173/729, 184/710, 184/710, 730/591, 730/591, 733/572, 733/572

rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.3 30 1.0 0.4 2.0 1 0 2
ai.addSearchType Infantry 1 0
rem ai.setMapSpawnPoints 1 507/442, 176/690
ai.setSmoothing 1 6
rem 507/442, 515/645, 713/574, 720/591, 736/585, 695/567, 725/561, 696/580, 699/554, 717/560, 700/551, 168/704, 166/699, 176/690, 398/688, 406/700, 406/676, 420/524, 426/534, 425/511, 510/644, 518/646, 508/440, 506/438, 484/439
ai.addSearchType Boat 2 2
ai.addSearchType LandingCraft 3 2

rem *** Amphibious ***
ai.addSearchMap Car4 0 10000 35 2.0 0.3 2.5 0 0 2
ai.addSearchType Car 4 0
ai.setMapSpawnPoints 4 722/595, 719/595
ai.setSmoothing 4 10
ai.setWaterCutOffDepth 4 3
rem *** Load maps ***
ai.loadMaps
endIf