AI - ACU determine upgrades
- Dominant language
- Lua
- Stars
- 264
- Forks
- 260
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 21
Description
**Describe the feature**
A method of allowing the AI to determine the best enhancement based on the characteristics of the enhancement. Currently this ACU upgrade systems use static strings to determine an enhancement that should be added. While this is very reliable there is no support for a modded acu nor can it adjust to balance changes that add/remove enhancements.
I'm not totally sure how this should work. From what I can see most of the magic is happening in the CreateEnhancement in the units _Script.lua file where it is looking at static string values so the units blueprint may not provide enough information to make a clear decision.
Also units like the aeon acu that have multiple weapon upgrades may be a pain. Though I think we could say something like prioritize range upgrades of rate of fire or damage or something similar.
**Reason for request**
Currently the AI has no way of supporting modded acu's or major balance changes without manual labour by either the mod developer or the the faf developers. There is a desire to change the enhancement process away from using platoon formers in the future, so it would be good for the future method to be able to query for a weapon upgrade or regen/shield or tier upgrade and be provided the best enhancement name to use.
Contributor guide
Assessment
This issue has not been assessed yet.