Jump to content

ThreatAvoidanceCoefficient: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
en>E1 Elite
No edit summary
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 10: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.