Aggression Property

Usage:
   AiStrategy.Aggression number

Argument values:

argument 1:    range is 0 to 1; most commonly 1.0

This property is not a part of any defined type of object.

Used in a total of 33 .con files: Strategies.con

Parent directories of these .con files: Bf1942/Levels, Bf1942/Game

Example: (from Bf1942/Game/AI/Strategies.con)
   rem *** Create Strategies ***
   rem run prerequisites
   AiStrategy.CreateStrategy test1
   AiStrategy.Aggression 0.8
   AiStrategy.NumberOfAttacks 2
   AiStrategy.NumberOfDefences 1
   AiStrategy.SetPrerequisite test1
   AiStrategy.CreateStrategy assault
   AiStrategy.Aggression 1.0
   AiStrategy.NumberOfAttacks 4
   AiStrategy.NumberOfDefences 3
   AiStrategy.SetPrerequisite constPrereq
   AiStrategy.SetTreeModifier TTNDefensivePos 0.75
   AiStrategy.SetTreeModifier TTNFriendGroundFixed 0.8
   AiStrategy.SetTreeModifier TTNHostileGroundFixed 1.25
   AiStrategy.SetStrategicObjectsModifier ControlPoint 4.0
   AiStrategy.SetStrategicObjectsModifier Flank 1.25
   AiStrategy.SetStrategicObjectsModifier Neutral 3.0
   AiStrategy.CreateStrategy allOutAttack
   AiStrategy.Aggression 0.8
   AiStrategy.NumberOfAttacks 4
   AiStrategy.NumberOfDefences 3
   AiStrategy.SetPrerequisite overwhelmingPowerPrereq
   AiStrategy.SetTreeModifier TTNDefensivePos 0.75
   AiStrategy.SetTreeModifier TTNFriendGroundFixed 0.8
   AiStrategy.SetTreeModifier TTNHostileGroundFixed 1.25
   AiStrategy.CreateStrategy allDefence
   AiStrategy.Aggression 0.0
   AiStrategy.NumberOfAttacks 0
   AiStrategy.NumberOfDefences 1
   AiStrategy.SetPrerequisite loosingPrereq
   AiStrategy.SetTreeModifier TTNDefensivePos 1.5
   AiStrategy.SetTreeModifier TTNFriendGroundFixed 1.2
   AiStrategy.SetTreeModifier TTNTransportation 0.8
   AiStrategy.CreateStrategy default
   AiStrategy.Aggression 0.7
   AiStrategy.NumberOfAttacks 2
   AiStrategy.NumberOfDefences 2
   AiStrategy.SetPrerequisite constPrereq
   AiStrategy.SetPrerequisiteWeight 5.0
   AiStrategy.SetStrategicObjectsModifier Base 0.5
   AiStrategy.SetStrategicObjectsModifier ControlPoint 4.0
   AiStrategy.SetStrategicObjectsModifier Flank 3.0
   AiStrategy.SetStrategicObjectsModifier Neutral 3.0
   AiStrategy.CreateStrategy airToNaval
   AiStrategy.Aggression 0.35
   AiStrategy.NumberOfAttacks 1
   AiStrategy.NumberOfDefences 3
   AiStrategy.SetPrerequisite airToNavalPrereq
   AiStrategy.SetTreeModifierCombatStrength TTNFriendAirMobile All 1.5
   AiStrategy.SetTreeModifierCombatStrength TTNFriendAirMobile NavalArmour 2.5
   AiStrategy.SetTreeModifier TTNHostileNaval 2.0
   rem aiStrategy.setTreeModifier TTNAirField 1.5
   AiStrategy.SetTreeModifierCombatStrength TTNHostileNavalMobile NavalArmour 3.0


Go to the AiStrategy properties list page, AiStrategy page, All Properties list, or Main scripting page.