• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
FAForever Forums
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login

AI-Uveso (v116) - AI mod for FAForever

Scheduled Pinned Locked Moved AI development
162 Posts 41 Posters 51.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    swaaye
    last edited by swaaye 12 Apr 2022, 20:38 4 Dec 2022, 20:30

    Has anyone noticed that the civilians won't attack the Uveso AI? I think this is new behavior though I don't know what may have caused it.

    R U 2 Replies Last reply 5 Dec 2022, 00:53 Reply Quote 0
    • R
      relentless @swaaye
      last edited by 5 Dec 2022, 00:53

      @swaaye
      I have seen this but I never correlated it to Uveso being present or not. There's nothing in his code that plays with civilians.
      When I saw it happen I saw that the PD's attacked one player but not another. I'll have to try it with a few variations of different AI and see if having Uveso enabled makes it happen or not.

      1 Reply Last reply Reply Quote 0
      • U
        Uveso @swaaye
        last edited by 6 Dec 2022, 21:32

        @swaaye said in AI-Uveso (v108) - AI mod for FAForever:

        Has anyone noticed that the civilians won't attack the Uveso AI? I think this is new behavior though I don't know what may have caused it.

        No, i did not noticed this, and there is no code/function for civilians in the AI-uveso mod.
        We will take a look at it. Thanks for reporting!

        S 1 Reply Last reply 21 Jan 2023, 21:13 Reply Quote 0
        • B
          bsee
          last edited by 19 Dec 2022, 03:27

          On some naval maps the AI just builds T1 subs until it hits unit cap. This is especially true if there's a section of water where the subs are trapped. Is there any way to avoid this? In this game 30% of unit cap is taken by T1 subs at 25 minutes: https://imgur.com/W5Ytb01.

          Also, does disabling nukes prevent the AI from working properly? I posted a year or so back and you fixed it. Recently it seems like disabling nukes makes the AI stop building most experimentals. UEF seems most affected by this change. Aeon plays normally with nukes off.

          1 Reply Last reply Reply Quote 0
          • U
            Uveso
            last edited by 19 Dec 2022, 22:34

            @bsee

            Thank you for your report again!

            I'm very busy at the moment but I've put it on my todo list.

            not sure why so many subs are build, normaly the builder should not overbuild.
            I guess i forgot to add a buildcondition to check for enemies.

            And yes, the AI needs to have nuke/antinuke to continue with higher tier units like experimentals.
            I will have a look at it and see if i can use a different build logic without nukes.

            T 1 Reply Last reply 1 Jan 2023, 04:02 Reply Quote 1
            • T
              tankmayvin @Uveso
              last edited by 1 Jan 2023, 04:02

              @uveso

              In a similar vein to the sub glitch, I've had several games where a tight match is thrown by the AI building absolutely nothing but T2 AA units. Hundreds of them.

              1 Reply Last reply Reply Quote 0
              • U
                Uveso
                last edited by 2 Jan 2023, 17:10

                @tankmayvin

                Thanks for reporting.
                This should be fixed in the next version.

                1 Reply Last reply Reply Quote 0
                • B
                  bsee
                  last edited by 8 Jan 2023, 20:37

                  Is it possible this mod prevents the score screen from showing for all players at the end of the game? We played a couple very short games to narrow down the issue. With AI Uveso only one player gets the score (usually the host). Without the mod all players get the score. This has been an issue for a long time, but only just now narrowed it down to this mod.

                  No mods: https://replay.faforever.com/18954136 - Everyone got the score
                  AI Uveso: https://replay.faforever.com/18954020 - Host got the score

                  1 Reply Last reply Reply Quote 1
                  • U
                    Uveso
                    last edited by 9 Jan 2023, 02:52

                    @bsee

                    Thanks for reporting!

                    i will check and fix it. 🙂

                    1 Reply Last reply Reply Quote 0
                    • U
                      Uveso
                      last edited by 10 Jan 2023, 00:04

                      @bsee

                      i guess i found the bug, it should be fixed in v109 (release maybe next weekend)

                      1 Reply Last reply Reply Quote 2
                      • S
                        swaaye @Uveso
                        last edited by swaaye 21 Jan 2023, 21:13

                        @uveso I looked at the problem with the civilians not attacking the AI again and it does seem to be specific to the Uveso AI. I disabled all other mods and tried a couple maps with civilians. Purely default FAF with just Sorian AI has the civilians attacking everyone correctly. Adding the Uveso AI mod and Uveso AI does not get attacked.

                        U 1 Reply Last reply 22 Jan 2023, 17:11 Reply Quote 0
                        • U
                          Uveso @swaaye
                          last edited by 22 Jan 2023, 17:11

                          @swaaye said in AI-Uveso (v108) - AI mod for FAForever:

                          @uveso I looked at the problem with the civilians not attacking the AI again and it does seem to be specific to the Uveso AI. I disabled all other mods and tried a couple maps with civilians. Purely default FAF with just Sorian AI has the civilians attacking everyone correctly. Adding the Uveso AI mod and Uveso AI does not get attacked.

                          well that is strange.
                          First thing I can say, I don't have any special function in my AI to deal with civilians.
                          Will get into it and see what happens there.

                          Thanks for reporting the issue!

                          1 Reply Last reply Reply Quote 0
                          • U
                            Uveso
                            last edited by 7 Feb 2023, 00:26

                            @swaaye
                            found the bug why civilians are not attacking the units from uveso AI.

                            will be fixed in version 109.

                            1 Reply Last reply Reply Quote 2
                            • U Uveso referenced this topic on 27 Feb 2023, 06:05
                            • U Uveso referenced this topic on 27 Feb 2023, 06:05
                            • U
                              Uveso
                              last edited by 27 Feb 2023, 06:11

                              Update 27.Feb.2023(v110)

                              • Opt: added ghost map for units that are under the fog of war

                              Update 17.Feb.2023(v109) (only released for developers)

                              • Fix: added missing threat values for hover movement layer in target manager
                              • Fix: removed CanPathToCurrentEnemy function that requires a navigation mesh.
                              • Fix: UnitUpgradeTemplates are now a subtable from UpgradeTemplates
                              • Fix: StructureUpgradeTemplates are now a subtable from UpgradeTemplates
                              • Fix: fixed a bug that prevented the score screen from showing
                              • Fix: Pathing function was missing map threat
                              • Fix: OnDefeat function updated to the latest FAF version
                              • Fix: added missing baseLayer to AddBuilderManagers hook
                              • Fix: Fixed a bug where civilians would not attack AI units
                              • Opt: increased speed of pathing function.
                              • Opt: scout will now check for already scouted areas
                              • Opt: engineer will now use the hover instead of the amhibious layer for pathing
                              • Opt: removed temporary map-path table from marker generator
                              • Opt: naval factories should no longer overbuild units
                              • Opt: AI should no longer build to much sonar
                              • Opt: platoons are now using the target manager more often
                              1 Reply Last reply Reply Quote 1
                              • FearghalF Fearghal referenced this topic on 27 Feb 2023, 15:35
                              • FearghalF Fearghal referenced this topic on 27 Feb 2023, 16:00
                              • U
                                UEFf0rever
                                last edited by 5 Mar 2023, 23:18

                                @Uveso Here's a log from a recent game I played. If you've got the time can you see if the error was in the AI or something else. The other mods enabled were Brewlan, Extreme Wars, the BlackOps mods, and Total Mayhem. I've already uninstalled and reinstalled both FAF client and the game on steam along with running the sfc /scannow CMD prompt. game_19408063.log

                                1 Reply Last reply Reply Quote 0
                                • U
                                  Uveso
                                  last edited by 6 Mar 2023, 16:58

                                  @UEFf0rever

                                  there are 2 errors in your log:

                                  warning: SND: Error playing cue 1 on bank 48 [ursstream]
                                           XACT: Invalid arg
                                  

                                  This sound error will cause gamecrashes, please fix!

                                  * AI-Uveso: AIExecuteBuildStructure: All checks passed, forcing enginner TECH1 AEON sal0119 to build TECH1 T1Resource uab1103
                                  

                                  This is a warning and tells us that unit sal0119 has no build templates and the AI does not know how to handle this engineer.
                                  It is also possible that unit sal0119 is incorrectly configured as an engineer with no ability to build structures.

                                  At least we should check the unit sal0119 and check why its causing this error.
                                  don't know what mod this is from - maybe a BrewLan unit.

                                  For now, i would suggest you fix first the sound problem,
                                  then we can continue to check / fix the engineer issue.

                                  here is some help to configure you sound system:
                                  https://forum.faforever.com/topic/796/i-can-t-hear-some-of-the-audio-or-other-sound-issue-what-should-i-do

                                  Your configuration is correct if you no longer have XACT: Invalid arg errors in your log.

                                  1 Reply Last reply Reply Quote 0
                                  • U Uveso referenced this topic on 24 Apr 2023, 17:31
                                  • U Uveso referenced this topic on 24 Apr 2023, 17:31
                                  • U Uveso referenced this topic on 24 Apr 2023, 17:57
                                  • U Uveso referenced this topic on 24 Apr 2023, 17:57
                                  • U Uveso referenced this topic on 3 May 2023, 03:03
                                  • U Uveso referenced this topic on 3 May 2023, 03:03
                                  • U Uveso referenced this topic on 5 May 2023, 16:59
                                  • U Uveso referenced this topic on 5 May 2023, 16:59
                                  • S
                                    SaladAss
                                    last edited by SaladAss 21 May 2023, 19:26

                                    Hi there!

                                    First of all thanks for the amazing work. I wanted to ask are there any specific circumstances where the AI half way through the game after a few tech 2 unitsProduced. Stops producing them and ONLY pours out t1 spam? Is there something I need to do or install?

                                    1 Reply Last reply Reply Quote 0
                                    • U Uveso referenced this topic on 20 Jun 2023, 13:26
                                    • U Uveso referenced this topic on 20 Jun 2023, 13:26
                                    • U Uveso referenced this topic on 21 Jun 2023, 02:08
                                    • U Uveso referenced this topic on 21 Jun 2023, 02:08
                                    • U Uveso referenced this topic on 27 Jun 2023, 01:01
                                    • G
                                      goblinsly2
                                      last edited by 10 Jul 2023, 22:41

                                      Since last update, Uveso (and Swarm) no longer work for me. Did update break something for all or only for my install ? I tried reinstalling AI but its still same. Commander just stands still and doesn't move.

                                      1 Reply Last reply Reply Quote 0
                                      • U Uveso referenced this topic on 11 Jul 2023, 12:20
                                      • U Uveso referenced this topic on 11 Jul 2023, 12:20
                                      • U
                                        Uveso
                                        last edited by 11 Jul 2023, 12:24

                                        Update 11.Jul.2023(v111)

                                        • Fix: fixed some issues with the new FAF game version
                                          (Thanks to Relentor for providing this fix)
                                        1 Reply Last reply Reply Quote 1
                                        • U Uveso referenced this topic on 21 Aug 2023, 03:01
                                        • U Uveso referenced this topic on 21 Aug 2023, 03:01
                                        • U Uveso referenced this topic on 23 Aug 2023, 02:34
                                        • U Uveso referenced this topic on 23 Aug 2023, 02:34
                                        • U
                                          Uveso
                                          last edited by 23 Aug 2023, 02:36

                                          Update 23.Aug.2023(v112)

                                          • Fix: fixed an error in unit upgrade function
                                          • Fix: added unit templates to upgrade support factories
                                          1 Reply Last reply Reply Quote 3
                                          • First post
                                            Last post