FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    AI Development Guide and M27AI v81 Devlog

    Scheduled Pinned Locked Moved AI development
    220 Posts 28 Posters 63.8k Views 3 Watching
    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.
    • maudlin27M Online
      maudlin27 @Resin_Smoker
      last edited by

      @Resin_Smoker Enable the mod with the custom units.

      I.E. M27 and M28 should automatically make use of custom modded units, provided the categorisation of the custom unit blueprint aligns with a category M27/M28 is trying to build (the majority of the time I’d expect it to). You could use unit restrictions to disable default versions of units to make it more likely it picks the modded version instead but M28 will handle unit restrictions better

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        Resin_Smoker @maudlin27
        last edited by

        @maudlin27 So just the unit categories is all that's needed... nice!

        Now if someone could fix the custom unit icons so they work without having to copied into every factions folder that would be sweet.

        Kykhu Oss https://youtu.be/JUgyGTgeZb8
        Unit Thrower https://youtu.be/iV8YBXVxxeI
        Beam Tentacle https://youtu.be/le5SNwHvC4c
        Blackhole https://www.youtube.com/watch?v=D9NGQC5rr0c
        Resurection https://www.youtube.com/watch?v=WdbIQ4vHkMs

        1 Reply Last reply Reply Quote 0
        • maudlin27M Online
          maudlin27
          last edited by

          Just a note that if you want to play M27 you'll need to play it on FAF Develop, as the last FAF release broke certain AI functionality and means M27 won't work. This should be fixed in the next FAF release.

          1 Reply Last reply Reply Quote 1
          • D Offline
            Devyatyi9
            last edited by Devyatyi9

            i have a game crash with mod M27AI or M28AI
            https://pastebin.com/T9hZyXY0

            warning: (xsc9011) has no death weapon or the death weapon has an incorrect label!
            warning: defaultunits.lua OnImpact: did not find a deathWep on the plane! Is the weapon defined in the blueprint? xsc9011
            warning: Unable to load texture: c:\programdata\faforever\gamedata\units.nx2\units\urb2302\urb2302_specteam.dds
            
            1 Reply Last reply Reply Quote 0
            • maudlin27M Online
              maudlin27
              last edited by

              Not clear that it's M28 that's causing it, the mod list looks like it is quite long:
              info: MOD LIST SET TO:
              info: RNGAI (faf0863e-4c91-4bc0-ac2d-20e3f69432d5)
              info: AI-Swarm (a13ac591-b2d9-4d94-0285-3d4b3cce6b97)
              info: AllFactionsFixed (58c232c2-f7e8-4256-8892-85fbb9687a69)
              info: AI-Uveso (62e2j64a-AIUV-112-89465-146as555a8u3)
              info: M27AI (f27c55b4-v078-55b4-92b6-64398e75e23f)
              info: OOF ACU Death Sound (BBEFBDF1-3C21-4CD6-89EE-86EA42218C0C)
              info: Redux Strategic Icons Small (redux-icons-small-01)
              info: M28AI (fnewm028-v115-55b4-92b6-64398e7ge43f)

              This error appears a lot at the end of the log:
              warning: Unable to load texture: c:\programdata\faforever\gamedata\units.nx2\units\urb2302\urb2302_specteam.dds
              So it could be a graphical issue.

              My suggestion would be to turn off as many mods as possible and see if you still get the error, and also post that error/link to the log on the technical support forum in discord (or here) to see if anyone else has an idea what the issue would be.

              1 Reply Last reply Reply Quote 0
              • maudlin27M Online
                maudlin27
                last edited by

                v79 Update
                After one of the Rainbow Cup games on Adaptive Flooded Tabula Rasa where one of the M27 ACUs thought it could walk to another plateau (and ended up getting stuck underwater while its base was destroyed) I've updated M27 to make use of FAF's navigational mesh. Unlike M28 (which was ddesigned from the ground up with use of this navigational mesh in mind) M27's use of it is limited and also has the risk of unforseen issues, but my hope is that it ends up being slightly faster and a bit more accurate than M27's previous approach.

                1 Reply Last reply Reply Quote 2
                • maudlin27M Online
                  maudlin27
                  last edited by

                  v80 Update
                  Fixed a bug from v79 that caused M27 to no longer build navy

                  Acknowledgements

                  • Relent0r - highlighting that M27 wasn't building navy on a naval map
                  1 Reply Last reply Reply Quote 2
                  • maudlin27M Online
                    maudlin27
                    last edited by

                    v81 Update
                    Fixed another bug from the navigational mesh changes which resulted in M27's initial build order being messed up (with the ACU not building any mexes)

                    Acknowledgements

                    • Relent0r - Noticing M27's early game performance was significantly weaker than before
                    1 Reply Last reply Reply Quote 1
                    • S Offline
                      Spyder1495
                      last edited by

                      Hello, I tried playing both M27 and M28 AI along with some other mods. They worked and fought great, but there were only 1 problem made me a bit unsatisfied. Only M28 can use Brewlan units set. M27 on the other hand, didn't run properly. If i let the utils.lua file of the Brewlan stay, M27 AIs won't do anything but standing. When i removed it, they worked again but no Brewlan unit was built (such as advanced T3 Mass Extractors or Field Engineers). I reported this once on FAF vault, can you try and update a new fix for this problem again please.

                      1 Reply Last reply Reply Quote 0
                      • maudlin27M Online
                        maudlin27
                        last edited by

                        Hi, I'd recommend M28 for better mod compatibility. Although in theory M27 should work with unit mods, I'm not actively looking to expand it's compatibility, and in the case of BrewLAN as the FAF vault version is broken (at least the last few times I've checked) it's not something I'd be looking to fix at this stage (although if the FAF vault version does get fixed then I'd be open to investigating the issue you mention of M27 not working at all with the mod enabled)

                        1 Reply Last reply Reply Quote 0
                        • maudlin27M Online
                          maudlin27
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post