AI update

Post here if you want to help developing something for FAF.

Re: AI update

Postby Exotic_Retard » 05 Dec 2016, 18:12

well as it stands a surprisingly large portion of the faf playerbase does like to play with ai, and with mods like blackops, ect.
so i think this could be a pretty nice improvement in that area at least.

things like map markers i think is a bit much, but not totally outside the realm of possibility to put in

after all faf is a kinda overhaul of supcom so either the changes you made are most likely able to be put in since faf does aim to improve whatever it can.

https://github.com/FAForever/fa
why not try making a pr and lets see where this takes us?

im not very familiar with ai code so i dunno how much work it would be, but im sure that we would be glad to have it, along with anything else that you might offer.
I made the terrible mistake of voting for Tokyto_
User avatar
Exotic_Retard
Moderator
 
Posts: 1313
Joined: 21 Mar 2013, 22:51
Has liked: 523 times
Been liked: 549 times
FAF User Name: Exotic_Retard

Re: AI update

Postby Sprouto » 05 Dec 2016, 18:59

We've dealt with the Steam compatability as LOUD will now detect your original installation and save it as is, and will give you the option to switch back and forth as required. This works as well with FAF we are told, permitting users to utilize both as required.

We have had minor issues with Windows 10 taking ownership of the directory structure and not allowing users (even the administrator) to make changes, but it's a rare thing and we have a solution for it if required.
Sprouto
Priest
 
Posts: 312
Joined: 08 Sep 2012, 05:40
Has liked: 52 times
Been liked: 62 times
FAF User Name: Sprouto

Re: AI update

Postby SpoCk0nd0pe » 01 Jan 2017, 18:08

Sprouto wrote:I'll try to be short.

It started more than 3 years ago - firstly to just make the AI better.

Along the way, it was clear that the performance issues in the game, and the AI were all intertwined. There were thousands of tiny optimizations and clean ups that resulted in a much tighter core code -- not just for the AI but the entire game. Lots of extraneous (unused) code and data was removed and reworked. Many of the units had either wrong or unused categorizations that needed to be corrected or removed, or were able to benefit from simplifications in their blueprints. That in turn led to an examination of the maps and how the AI interacts with the markers, and the pathfinding issues for the AI, which in turn led to re-marking most of the maps that come with LOUD. Long story short, in the end, almost everything got looked at. That's essentially why it's not just a mod, but a complete stand-alone package.

Now, without too much effort, you really can play a 5000 unit game on 40km maps and not have to worry about slowdowns against an AI, that, on many days, will really put you to the test. Is it a personal effort ? Mostly - and yes, you will find lots of changes in the game, slight differences in the units and structures, and carefully selected pieces of our favorite mods to incorporate into it. We're still looking for more - and obviously some practical input from others - but it's pretty much mature now. We're convinced it's not only a better AI, but a much better performing game, with a much tighter balance that supports all styles of gameplay.

It's not aimed at the 5km or 10km short game, but for the larger longer epic games where anything and everything can come into play. Try it out. Please.

This sounds amazing!
Could we have most of those performance improvements for FAF without breaking things? I mean this sounds like code improvements on a scale that really should stir up much more interest then it seems to do.
SpoCk0nd0pe
Avatar-of-War
 
Posts: 217
Joined: 24 Sep 2014, 21:17
Has liked: 14 times
Been liked: 33 times
FAF User Name: SpoCk0nd0pe

Re: AI update

Postby Sprouto » 02 Jan 2017, 00:28

Yes ...I've always hoped there would be more interest, but I'm not really a good publicist, and getting the word out has been difficult. I finally screwed up the backbone to ask my community members if anyone was interested in helping out. To that end, I will shortly post my own thread on LOUD with a demonstration video and a deeper explanation of all that it is and can do. I'll post on this thread with a link when it's up.

I would love to say that yes ! it would be easy to integrate all these advantages into FAF - but it would be white lie. In 3+ years of this I've gone in and re-coded or deeply edited almost the entire exposed code base. If there were just a few key tweaks that made this possible I would gladly do so - but no - there are hundreds, possibly thousands, as is often the case with optimization. Likewise, file structures have been altered too - which is why we have an installer/updater program that will allow users to keep their existing FAF configuration AND a LOUD installation - switching as needed.

I hope that doesn't deter anyone. The LOUD project was begun with the desire of addressing the less than stellar AI of the original game. Obviously, game performance and the AI were closely intertwined. And along the way it became clear that meant units had to be edited, map markers had to be redone, etc.
Sprouto
Priest
 
Posts: 312
Joined: 08 Sep 2012, 05:40
Has liked: 52 times
Been liked: 62 times
FAF User Name: Sprouto

Re: AI update

Postby SpoCk0nd0pe » 07 Jan 2017, 22:52

Would it be possible to integrate the current faf balance and functionality into LOUD?
SpoCk0nd0pe
Avatar-of-War
 
Posts: 217
Joined: 24 Sep 2014, 21:17
Has liked: 14 times
Been liked: 33 times
FAF User Name: SpoCk0nd0pe

Re: AI update

Postby Sprouto » 08 Jan 2017, 10:37

Without knowing what those changes are, I really cannot say.

LOUD features a VERY long list of balance tweaks, many similar to what FAF has recently introduced, but likely far more extensive. In order to get the AI to function better, it was necessary to review the threat values assigned to EVERY unit in the game, using an algorithm the takes many factors into account, with some variation for economic structures, intelligence structures and so on. This process really made it clear that not only were the original threat values way out of whack, but it highlighted a great deal of inconsistencies between unit classes and unit tiers. When that was done, something truly good happened to the AI -- he got smarter, since he was now able to make good decisions about when and where to attack, and with what.

So, long and short, yes -- it would be possible to bring the FAF unit database into LOUD and take advantage of the performance improvements that LOUD offers, but it would likely nerf the AI rather severely.

As for functionality, I'm sure that specific game functions could be incorporated, but the true value of FAF lies in it's community and PvP focus. The FAF lobby, ladder and ranking features are far beyond anything I ever did with the core code for Supcom.
Sprouto
Priest
 
Posts: 312
Joined: 08 Sep 2012, 05:40
Has liked: 52 times
Been liked: 62 times
FAF User Name: Sprouto

Re: AI update

Postby Krapougnak » 07 Feb 2017, 12:40

Hi Sprouto,

I was wondering how you managed to port SC2 units into FA under Windows 10.

I did port some SC2 units under Windows XP but since I moved to W10 the program I used to convert animations doesn't work anymore.
User avatar
Krapougnak
Contributor
 
Posts: 333
Joined: 12 Jul 2012, 11:03
Has liked: 174 times
Been liked: 24 times
FAF User Name: Krapougnak

Re: AI update

Postby Sprouto » 07 Feb 2017, 21:28

That's a good question - HtKatzmarek brought the unit package to me for inclusion with LOUD so I'll have to ask him.
Sprouto
Priest
 
Posts: 312
Joined: 08 Sep 2012, 05:40
Has liked: 52 times
Been liked: 62 times
FAF User Name: Sprouto

Re: AI update

Postby Krapougnak » 09 Feb 2017, 14:36

That would be nice indeed. :)
User avatar
Krapougnak
Contributor
 
Posts: 333
Joined: 12 Jul 2012, 11:03
Has liked: 174 times
Been liked: 24 times
FAF User Name: Krapougnak

Re: AI update

Postby Resin_Smoker » 16 Feb 2017, 13:55

So how is the AI making use of custom units ?
Resin_Smoker
Evaluator
 
Posts: 843
Joined: 14 Mar 2012, 17:58
Has liked: 52 times
Been liked: 91 times

PreviousNext

Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest