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.
Is there a list of ai_ability parameters anywhere?
17 Jun 2020, 20:30 PM
#1
Posts: 574
14 Jul 2020, 11:05 AM
#2
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.
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
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
PositionTargetFilter_BestArtillery
PositionTargetFilter_BestInfantryArtillery
PositionTargetFilter_BestVehicleArtillery
PositionTargetFilter_BestOwnedSectorArtillery
PositionTargetFilter_BestEnemySectorArtillery
PositionTargetFilter_BestArtillerySmoke
PositionTargetFilter_BestRecon
PositionTargetFilter_BestMedicalSupplies
PositionTargetFilter_BestResourceSupplies
PositionTargetFilter_BestAntiVehicleMine
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
9 | |||||
7 | |||||
3 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.605218.735+1
- 3.34957.860+14
- 4.1109614.644+10
- 5.276108.719+27
- 6.305114.728+1
- 7.916405.693-2
- 8.722440.621+4
- 9.261137.656+2
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1235
Board Info
869 users are online:
869 guests
0 post in the last 24h
8 posts in the last week
34 posts in the last month
8 posts in the last week
34 posts in the last month
Registered members: 49108
Welcome our newest member, Jolliyastefan
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Jolliyastefan
Most online: 2043 users on 29 Oct 2023, 01:04 AM