Jump to content

AITriggerTrackRecordCoefficient: Difference between revisions

From ModEnc²
en>Nighthawk200
Dedeezirified.
en>DCoder
Updating (damn you westwood)
Line 3: Line 3:
|files={{Categ|ini=rules}}
|files={{Categ|ini=rules}}
|types={{Categ|General}}
|types={{Categ|General}}
|values={{values|unsigned integers}}
|values={{values|float}}
|ts=yes
|ts=yes
|fs=yes
|fs=yes
Line 10: Line 10:
|yr=yes
|yr=yes
|rp=yes
|rp=yes
}}This is the coefficient used to determine how many previous AITriggerTypes the game should keep a record of. This is then used to evaluate the chance of the same or a different AITriggerType being used by the AI.
}}
When an AI [[TeamTypes|TeamType]] is dissolved which hasn't completed its task (through the usage of [[ScriptActions#49|Script Action 49, 0]]), this value, multiplied by {{TTL|AITriggerFailureWeightDelta}}, is added to the Weight of every AI Trigger using this TeamType as its primary Team. The FailureWeightDelta value is normally negative, thus this effectively reduces the weight and increases the chances of a different trigger being used by the AI, rather than the same one being re-used.
 
See also [[AITriggerTypes#Weights|AI Trigger Type Weights]].

Revision as of 20:23, 20 June 2008

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AITriggerTrackRecordCoefficient
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Applicable to: General


When an AI TeamType is dissolved which hasn't completed its task (through the usage of Script Action 49, 0), this value, multiplied by Template:TTL, is added to the Weight of every AI Trigger using this TeamType as its primary Team. The FailureWeightDelta value is normally negative, thus this effectively reduces the weight and increases the chances of a different trigger being used by the AI, rather than the same one being re-used.

See also AI Trigger Type Weights.