Login

russian armor

Is there a list of ai_ability parameters anywhere?

17 Jun 2020, 20:30 PM
#1
avatar of James Hale

Posts: 574

I've generally had decent success with modding AI abilities, and I now have them using most of the stuff I've added or what was missing in vanilla.

However, I'm keen to know the following:

1) What is the AI syntax for commander abilities which target strategic nodes? (e.g. Airborne Assault, or my own Registered Artillery ability)

2) What is the AI syntax for timed commander abilities? (e.g. For the Fatherland, Valiant Assault)

3) What's the best way to get the AI to use static artillery barrages? (e.g. leFH 18, ML-20)

I've got various off-map abilities working, and I've got the AI firing barrages from mobile artillery (e.g. Land Mattress), but I'm not sure if I have the howitzer barrages set up correctly.

Oh, and 4) the AI will randomly use call-in abilities (even new custom ones) without them having to be assigned to an AI file anywhere; this is fine, but how/where are these calculated? For example, even though the AVRE has AI files for its petard shot I don't think I've ever actually seen the AI call in an AVRE.
14 Jul 2020, 11:05 AM
#2
avatar of KingStance

Posts: 23

1) You can view all the syntax of each function used by an AI in the tactics.ai file from the game files.

2) AI can't use timed commander abilities but you can make a work around.

3) The simple fix is to make the barrage abilities of the AI set only with position target filter, remove any other target filters.

4) I have no idea, but my guess is that they use the call in commander ability like offensive commander ability.
16 Jul 2020, 20:10 PM
#3
avatar of Artigo

Posts: 80

These are the position filters I dont believe there are more (correct me if I'm wrong)

PositionTargetFilter_BestArtillery
PositionTargetFilter_BestInfantryArtillery
PositionTargetFilter_BestVehicleArtillery
PositionTargetFilter_BestOwnedSectorArtillery
PositionTargetFilter_BestEnemySectorArtillery
PositionTargetFilter_BestArtillerySmoke
PositionTargetFilter_BestRecon
PositionTargetFilter_BestMedicalSupplies
PositionTargetFilter_BestResourceSupplies
PositionTargetFilter_BestAntiVehicleMine
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

636 users are online: 636 guests
0 post in the last 24h
0 post in the last week
28 posts in the last month
Registered members: 49426
Welcome our newest member, Uccello
Most online: 2043 users on 29 Oct 2023, 01:04 AM