Usage:
Ai.SetSmoothin
number number
Argument values:
argument 1: | range is 0 to 4; most commonly 4 |
argument 2: | range is 6 to 20; most commonly 6 |
This property is not a part of any defined type of object.
Used in a total of 11 .con files: Aipathfinding.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/Battle_of_the_Bulge/AIpathFinding.con)
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
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 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 20 3.0 0.3 2.5 0
Ai.AddSearchType Tank 0 0
Ai.SetMapSpawnPoints 0 804.514/1019
rem 688.284/261.255,1631.34/1151.72,817.254/1091.19
rem *** Infantry ***
Ai.AddSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
Ai.AddSearchType Infantry 1 0
Ai.SetMapSpawnPoints 1 904.246/1006.28
rem 1066.43/1311.21,1110.6/741.133,304.221/336.642,506.454/855.567
rem *** Boat ***
Ai.AddSearchType Boat
rem *** LandingCraft ***
Ai.AddSearchType LandingCraft
rem *** Car ***
rem *** Car ***
Ai.AddSearchMap Car4 0 0 20 4.0 0.3 2.5 0
Ai.AddSearchType Car 2 0
Ai.SetMapSpawnPoints 2 804.514/1019
Ai.SetSmoothin 2 6
Go to the Ai properties list page, Ai page, All Properties list, or Main scripting page.