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

AI SW Targeting: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Nighthawk200 (talk | contribs)
Since the page now exists...
No edit summary
Line 6: Line 6:
:{{TTL|Type|MultiMissile}}
:{{TTL|Type|MultiMissile}}
:{{TTL|Type|LightningStorm}}
:{{TTL|Type|LightningStorm}}
:({{rpo}}) Super weapons with {{TTL|AITargetingType|1}} set.
:Super weapons with {{TTL|AITargetingType|1}} set.


See [[:Category:AIIonCannon_Flags|here]] for a list of such flags.
See [[:Category:AIIonCannon_Flags|here]] for a list of such flags. If one of these flags is missing but the relevant object exists on the map, it can cause an [[Internal Error]].


{{SourceCode|http://dc.strategy-x.com/src2/HouseClass/PickIonCannonTarget.cpp|tr=yes}}
{{SourceCode|http://dc.strategy-x.com/src2/HouseClass/PickIonCannonTarget.cpp|tr=yes}}


[[Category:AIIonCannon_Flags| ]]
[[Category:AIIonCannon_Flags| ]]

Revision as of 19:10, 21 August 2009

The [[[:Template:TTL]]] section has several flags relating to AI offensive Super Weapon targeting. They all share the same behaviour - they state the "priority" or "importance" of certain object types when evaluating the best target. This targeting model applies to super weapons with the following settings:

TS
Template:TTL
Template:TTL
RA2/YR
Template:TTL
Template:TTL
Super weapons with Template:TTL set.

See here for a list of such flags. If one of these flags is missing but the relevant object exists on the map, it can cause an Internal Error.

Needs Transcribing
Pseudocode relevant to this article is available at http://dc.strategy-x.com/src2/HouseClass/PickIonCannonTarget.cpp. Please update this article with information revealed by the pseudocode.