Tactical AI
ConfigureSystem()
Required
The tactical AI settings are designed to be completely freeform. Their purpose is to simplify the user interface to the tactical properties. The ConfigureSystem scope sets up the modifiers and available settings of the tactical AI.
CreateModifier(string name)
Multiple
name: Name of the modifier
AddSetting(string name)
Multiple
name: Name of the setting for the modifier.
DefaultSetting(string name)
Required
name: The setting to give to all new units.
ConfigureDefault()
Required
ConfigureModifier(string modifier)
Multiple
modifier: Name of the modifier to configure.
Setting(string setting)
Multiple
setting: Name of the setting of the modifier to configure.
Allow(string property)
property: When the modifier has this setting then allow this property. Properties are defined here.
Deny(string property)
property: When the modifier has this setting then deny this property. Properties are defined here.
Properties
For a property to be enabled, at least on modifier/setting must enable it. If any modifier/setting denies the property then it is not enabled.
- SearchTarget
A unit should search for targets.
- HoldPosition
A unit should not leave its current position unless directly ordered to do so.
- FollowSubject
If another object this unit is interacting with moves away, this unit should follow it.
- RepairSelf100
A unit should repair itself if its health falls below 100%.
- RepairSelf50
A unit should repair itself if its health falls below 50%.
- Evasive
This unit should take evasive action when attacked.
- AvoidHittingSelf
Avoid hitting units on the same team as this unit.
- AvoidHittingAlly
Avoid hitting units who are allied to this unit's team.
- AvoidHittingNeutral
Avoid hitting units who are neutral to this unit's team.
- AvoidHittingEnemy
Avoid hitting units who are enemy to this unit's team.
- AvoidHittingMarked
Avoid hitting units which have been marked.