AI-Uveso (v112) - AI mod for FAForever

@bude132

well, there is no option to disable the suicide function.

Only in case you are playing alone and not online, then there is a way to disable it.

The two platoonformers for the suicide platoons are located in
AI-Uveso/lua/AI/AIBuilders/Mobile Experimental-Air.lua
Your mod directory should be:
C:\Users\YOURNAME\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\Mods

To disable them you only need to set the priority of the platoons to "0"
You can find the two priority settings line in 436 and line 473:

Here are links to Git Hub to show you the exact lines:
https://github.com/Uveso/AI-Uveso/blob/master/lua/AI/AIBuilders/Mobile Experimental-Air.lua#L436
https://github.com/Uveso/AI-Uveso/blob/master/lua/AI/AIBuilders/Mobile Experimental-Air.lua#L473

To set the priority to 0 you only need to change the lines to:
Priority = 0,

If you do so have in mind the mod will instantly desync when played in multiplayer.

@Sprouto

Ah yes, the problem lies with me, I see.
Seriously... Why do you even comment.

The AI ganked me with two T4 Seraphim bombers from a non frontline position.
Before I noticed what was happening, it was to late and it instantly ended the match, because my whole shield installation was useless.
At the end I wasn't thinking "huh, I fucked up but died a glorious death." I was thinking "welp, that's fucking lame."

Just because I don't like a mechanic , doesn't mean there's an issue with me.
You should stop being an ass.

@Uveso
Thanks for the detailed answer.
In the meantime we've created a mod that disables the impact damage since we didn't want to break the AI.
We'll give it a go with the changes you suggested.

By the way, kudos for the AI.
When it doesn't yeet itself into your bases and suicides, it's a very enjoyable opponent and is way more challenging than the default ones.

@bude132 said in AI-Uveso (v95) - AI mod for FAForever:

Before I noticed what was happening, it was to late and it instantly ended the match, because my whole shield installation was useless.
At the end I wasn't thinking "huh, I fucked up but died a glorious death." I was thinking "welp, that's fucking lame."
Just because I don't like a mechanic , doesn't mean there's an issue with me.
You should stop being an ass.

Oversensitive much?
You didn't scout and the AI surprised you with bombers, it's a pretty normal way to die against players too. You disliking the mechanic does mean the issue lies with you, because it's just part of the game. It's not the AI's fault for being good enough to make use of it. Telling you that fact doesn't make him an ass.

Back to topic please, the question was:

Is there a way to disable the (AI) suicide functions?

So any answer that leads to disable the Suicide function is welcome.

Update 28.Jun.2021(v96)

  • Opt: ACU-AI was evading from non combat units like massextractors.
  • For AI devs: removed marker pruning from function CleanMarkersInMASTERCHAIN for all layers.

Hello,
First of all, thank you for this brilliant AI mod.
It has breathed new life into the game for us.

Has the recent FAF patch impacted this AI much?
E.g, the Aeon seem to build A LOT of shield disruptors. Attacking forces can seem composed almost entirely of them.

Hello @Stin,

Thank you for your kind words.

The FAF patch has normally no impact to my AI.
I develop my AI on the deploy/FAFdevelop branch of the game, and test
gamepatches with my AI before they are released.

The Aeon shield disruptor is a special unit and has maybe some wrong bluprint entries.
I guess the AI gives a buildorder for shield or cloak units and gets a shield disruptor if it has the Aeon faction.

I will check that, thanks for reporting !

Any self-awareness features planned to celebrate the upcoming v100?

Oh, i never thought about the v100

Maybe its time for an easter egg 🙂

@bude132 said in AI-Uveso (v96) - AI mod for FAForever:

suicide

Depending on whether you can generate enough energy and mass (eg: multiple paragons or the like) you can add and build the mod "Experimental SquareSheilds".

Square edged LARGE shield, lots of damage absorption, and no impact damage to any shielded unit/structure.

Just catching up on release notes.
Love update version 93, Especially this change:
New: AI is now able to use gifted factories also after full share or player disconnect.
This is great for Full Share AI / Human games
where the AI will Now control the gifted bases the same as the Human players.
Gotta close that gap 😉

@Fearghal

Thaks for your reply

I don't know if i posted this, but the sharing also works for mobile units.
In case the AI gets units from a player that are outside every location manager, it will move those units
to the neearest base so they can be reassigned to the manager.

Is there a way to get an older version? In the new version, the AI keeps sending his ACU near my base.

@ropi Hi Ropi, Yea the attacking leader's are "fun". Depending on game settings and plugins (example all factions mod) the AI might send one or more ACU units as portable nukes into your base 😉

Update 05.Oct.2021(v97)

  • Fix: fixed movement in ACU platoon where support units are blocked by terrain
  • Fix: fixed a bug where lost factories where reassigned to new managers
  • Fix: experimentals should no longer join the ACU platoon as support unit
  • Fix: renamed "CDR Attack" platoon to prevent conflicts with hooked builders
  • Opt: reduced ACU targeting intervall (from 100 to 700 miliseconds)
  • Opt: added builder to upgrade the first T1 land factory when we have more than 2 tech2 massextractors
  • Opt: removed gamepatches that are already released
  • Opt: removed unused functions

Update 10.Oct.2021(v98)

  • Fix: compatibility patch for insignificant units test. (needed, If you play FAFdevelop)

@uveso said in AI-Uveso (v98) - AI mod for FAForever:

Update 10.Oct.2021(v98)

  • Fix: compatibility patch for insignificant units test. (needed, If you play FAFdevelop)

Got any plans for v100? Strippers and/or booze?

Yes, in version 100 i implement some code to set the AI free.
Hopefully it will dominate the world without killing all humans 🙂

@gladry AI being suicidal is "fun"? Basically, I need to play Supremacy or Annihilation so the game won't end in 7min. Anyway, I take your reply as a "No" to my question.

@Ropi

you can always download any earlier version from the FAF Vault.

This is the download link for the actual version v98
https://content.faforever.com/mods/ai-uveso.v0098.zip

Now, if you want to download version 97 then use
https://content.faforever.com/mods/ai-uveso.v0097.zip

For me it would be more helpful if you could describe why and how the commander commit suicide.
So we can make a better ACU fight fuction.

In case you want a quick solution and you play singleplayer then you can just change
a line in my mod to prevent the commander to attack and suicide to much.

In my mod the commander has a braveness factor. In case the braveness is positive it will attack and
redraw with negative braveness.

Just find this codeline in my mod in your mod folder and change the number from 0 to maybe -10
https://github.com/Uveso/AI-Uveso/blob/master/hook/lua/platoon.lua#L3164
(there you can also see how the ACU function is detecting threat)

This way the commander starts with a negative braveness and will redraw way earlier.
You can also set it to -30 and the ACU will stay in base.

Also if you see that the ACU is under attack and don't react to it, make a screenshot or vid and post it here.
This way the ACU function can get smarter over time.