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

AITriggerTrackRecordCoefficient: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Nighthawk200 (talk | contribs)
Dedeezirified.
m Replacing Template:TTL with Template:F.
 
(One intermediate revision by one other user not shown)
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 {{f|AITriggerFailureWeightDelta|link}}, 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]].

Latest revision as of 07:16, 27 November 2009

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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 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 AI Trigger Type Weights.