ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "ThreatAvoidanceCoefficient"

From ModEnc
Jump to: navigation, search
 
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
This coefficient can have decimal values from 0.0 to 1.0. The higher the value set on this flag for a unit, it tries to avoid any path that falls in the range of the enemy, effectively choosing the path with least threat. Typical usage is found in harvesters or ore miners. AI uses [[AvoidThreats]] for teams.
Determines the coefficient applied to this units threat scan when moving or making a pathfinding decision and can be used to increase the probability of it avoiding threats rather than ignoring/approaching them. Should be set on a scale of 0.00 - 1.00 with larger values increasing the chance of the unit avoiding threats.
+
 
 +
[[Category:INI Flags]] [[Category:Rules(md).ini Flags]]

Revision as of 11:30, 29 June 2017

This coefficient can have decimal values from 0.0 to 1.0. The higher the value set on this flag for a unit, it tries to avoid any path that falls in the range of the enemy, effectively choosing the path with least threat. Typical usage is found in harvesters or ore miners. AI uses AvoidThreats for teams.