HecticTanker
07-11-2011, 06:59 PM
I am looking into modding AI for both informative and personal reasons(Personal reason being for my Mod RA3 Undecided).
Anyways, I'm specifically looking into AI Heuristics atm and was wondering if anyone had any knowledge of the fields/properties of them.
File Location - Data/SkirmishAI/AITargetHeuristicsLibrary.xml
It appears they are used for targetting for strategic & building States
Located here: Data/SkirmishAI/States/
I'm looking into this so that I can try and make the Japanese AI (specifically Kenji) do a Base Defense Rush with the newly designed Base Defenses from my Mod. Though atm I'm just trying it with Basic Defenses and will implement in the actual mod later on.
Anyways,
<AITargetingHeuristic
id="VerySafeLandExpansionHeuristic"
HeuristicType="Expansion"
Location="Land"
MinDistanceFromEnemy="900.0">
<BaseSelection
PreferredBaseTypes="MAIN_BASE"
PreferredNotBaseTypes="CAPTURED"
SortOrder="PREFER_OLDEST" />
</AITargetingHeuristic>
Fields/Properties
id - This one is pretty self-explanatory
HeuristicType - ?
Location - Seems mostly in relation to Expansion finding. Known Values: Land & Water
SearchRange - Seems mostly in relation to Expansion finding, though I don't see why it couldnt' possibly be used elsewhere. Value: Integer value Ex. "5000"
MinDistanceFromEnemy - Seems self-explanatory enough. Value: Integer
SortType - ??
VitalKindOf - Important KindOf, as it states in name lol. Values: Anyone happen to have a list?
ForbiddenKindOf - Same as above just Forbidden.
RequireUniqueTarget - ??
IgnoreMinDistanceFromConyardEntranceForTime - ??
Relationship - Targeting in relation to self/allied/enemy status
UnderAttack - ??
ForbiddenObjectStatus - Name pretty much states what it is. Values: Object Status
HighestPriorityEnemyPlayersOnly - ?
MaxDistanceToShore - Seems Self-explanatory enough. Values: Integer
Beacon - ??
? - Not Sure enough to say.
?? - No Idea
If anyone is able to add to this I'm sure it would be helpful to the community as well as myself. :P
Anyways, I'm specifically looking into AI Heuristics atm and was wondering if anyone had any knowledge of the fields/properties of them.
File Location - Data/SkirmishAI/AITargetHeuristicsLibrary.xml
It appears they are used for targetting for strategic & building States
Located here: Data/SkirmishAI/States/
I'm looking into this so that I can try and make the Japanese AI (specifically Kenji) do a Base Defense Rush with the newly designed Base Defenses from my Mod. Though atm I'm just trying it with Basic Defenses and will implement in the actual mod later on.
Anyways,
<AITargetingHeuristic
id="VerySafeLandExpansionHeuristic"
HeuristicType="Expansion"
Location="Land"
MinDistanceFromEnemy="900.0">
<BaseSelection
PreferredBaseTypes="MAIN_BASE"
PreferredNotBaseTypes="CAPTURED"
SortOrder="PREFER_OLDEST" />
</AITargetingHeuristic>
Fields/Properties
id - This one is pretty self-explanatory
HeuristicType - ?
Location - Seems mostly in relation to Expansion finding. Known Values: Land & Water
SearchRange - Seems mostly in relation to Expansion finding, though I don't see why it couldnt' possibly be used elsewhere. Value: Integer value Ex. "5000"
MinDistanceFromEnemy - Seems self-explanatory enough. Value: Integer
SortType - ??
VitalKindOf - Important KindOf, as it states in name lol. Values: Anyone happen to have a list?
ForbiddenKindOf - Same as above just Forbidden.
RequireUniqueTarget - ??
IgnoreMinDistanceFromConyardEntranceForTime - ??
Relationship - Targeting in relation to self/allied/enemy status
UnderAttack - ??
ForbiddenObjectStatus - Name pretty much states what it is. Values: Object Status
HighestPriorityEnemyPlayersOnly - ?
MaxDistanceToShore - Seems Self-explanatory enough. Values: Integer
Beacon - ??
? - Not Sure enough to say.
?? - No Idea
If anyone is able to add to this I'm sure it would be helpful to the community as well as myself. :P