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

Difference between revisions of "AI SW Targeting"

From ModEnc
Jump to: navigation, search
m (Adding sourcecode)
(Since the page now exists...)
Line 6: Line 6:
 
:{{TTL|Type|MultiMissile}}
 
:{{TTL|Type|MultiMissile}}
 
:{{TTL|Type|LightningStorm}}
 
:{{TTL|Type|LightningStorm}}
:({{rpo}}) Super weapons with <tt>[[RockPatch_Docs:Making_the_AI_use_custom_SuperWeapons|AITargetingType=1]]</tt> set.
+
:({{rpo}}) 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.

Revision as of 02:48, 15 June 2008

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
([RockPatch is obsolete; please remove this template from the page]

) Super weapons with Template:TTL set.

See here for a list of such flags.

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.