This page is under construction
Archives/bf1942/levels/Pacific_Railroad_001.rfa
bf1942/levels/Pacific_Railroad/AIPathFinding.con
rem start
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
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
ai.setMapSpawnPoints 0 512/256,512/768
rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 512/256,512/768
rem *** Boat ***
ai.addSearchType Boat
rem *** LandingCraft ***
ai.addSearchType LandingCraft
rem *** Car ***
ai.addSearchMap Car4 0 0 20 4.0 0.3 2.5 0
ai.addSearchType Car 2 0
ai.setMapSpawnPoints 2 512/256,512/768
rem *** Load maps ***
ai.loadMaps
rem ----------------------------------------------------------------------------
endIf
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
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
ai.setMapSpawnPoints 0 512/256,512/768
rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 512/256,512/768
rem *** Boat ***
ai.addSearchType Boat
rem *** LandingCraft ***
ai.addSearchType LandingCraft
rem *** Car ***
ai.addSearchMap Car4 0 0 20 4.0 0.3 2.5 0
ai.addSearchType Car 2 0
ai.setMapSpawnPoints 2 512/256,512/768
rem *** Load maps ***
ai.loadMaps
rem ----------------------------------------------------------------------------
endIf