New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just **Better AI** in the most general sense #7539
Comments
Actually, the vast majority of pirates have the Overall, AI is certainly something that is improving, but, since this is an open-source game that intends to be fairly low resource-intensity-wise, it will probably take a while (several more years, at least) to get to a point where the other ships are indistinguishable from people. |
Touche. And yes, perhaps a flag is all that is needed. I tend to make things sound complicated by over-explaining. |
I generally agree with this, with a caveat. In terms of pirates, which are the general universal enemy of almost everything, it'd be nice to see some variation: The majority of the pirates should be, as you say, smart enough to pick and choose targets. The sparrow pirate shouldn't be madly attacking the carrier, for instance. They should arrive, take a good look at the behemoth with all its weapon hardpoints filled, and go "I think I'll look elsewhere, thanks." On the other hand, I do like having some enemies that are just things that can be freely killed without consequence or second thought. To use EVN as an example, there were three "pirate" groupings:
In short, while it'd be really nice if most of the pirates and illegal activity was in categories 1 and 2, I do think we should always retain some amount of group 3, just for the fun of it. This could also be improved by changing loadouts. Currently, we have a lot of variants that are outfitted as if they are intended to be part of a fleet. Having an interceptor min/maxed to the limit with enough weaponry to put the hurt on a medium or heavy warship is fine if they are escorts for some larger looting ship, and they're only there to deal with a target's escorts. But they have no business being a solo pirate since they have no space to loot anything (and insufficient crew to capture, either). Not to mention that no ship intending to loot or capture freighters has any business using heavy rockets, but I digress. These do, however, make great ships to have as type 3 we're-just-here-to-kill-stuff rampagers. In other words, we need to revist the weaponry on a lot of the pirate ships to ensure that they are outfitted appropriately for people intending to disable their target and actually take loot from them. This is quite a bit different from being equipped as the best warfighting DPS dealer they can be. As for the speed of battle... Yeah, I agree. This was one of the things I tried to deal with in the Revamp PR. (Note: This was a test-bed PR that aimed to facilitate testing a lot of ideas at once, and wasn't intended to actually be merged. Although that being said, many of the things included in it were, eventually merged) Some of the many things that PR tried out included:
The net result of all this was that combat usually began with fleets being a long ways apart. So combat started with fighters racing ahead to harry, followed by missile barrages and long range weaponry as they came into range, and only after quite a while after that did the fleets actually make contact and settle into the typical death balls. Obviously, it didn't solve the combat; but it did spread it out into distinct phases, and made it possible to see how one could optimize ships (and even position them) to keep their distance, provide long range or mid range artillery/missile barrages, etc. It also made skill at flying much more rewarding, and lessened the pressure to just fly with a fleet and let the AI do the fighting. Combat felt more cinematic, and one could watch fights develop instead of just having it errupt randomly when a ship warps in on top of someone else. It also made it both harder and easier to avoid pirates: Harder, because one arrived at the outskirts and had to fly in to the planet, which gave time for pirates to arrive and engage, and the superior speed of interceptors meant they actually had good odds of intercepting. On the other hand, since one arrived far enough out to see what was in-system before being on top of it, noticing that there were hostiles and turning around to run was also much easier. So it makes for an interesting trade off. |
"Combat felt more cinematic, ..." This test-bed PR sounds wonderful. One of the most, if not THE most profound gaming experience of my life was TFX - Advanced Tactical Fighter Experiment. Most people I talk to about this game they make faces like it sounds boring ... Nothing could be further from the truth; it was the most engrossing game I ever played. If you spent 90 minutes flying to your target, you spent the 90 minutes rehearsing in your head all the steps of what you plan to do when you get there, chewing your nails pondering possible bad scenarios, all while looking at the clouds pass by, checking you instruments, checking the AWACS data coming in ... I could not fly more than one mission per day, as much as I wanted to, because I needed to rest from the adrenaline. The best part of any mission, was flying back to base, as you could finally breathe and enjoy the view, instead of worrying yourself to insanity. It was SOOO enjoyable to fly back that you savored the flight time. Ahhh, mission accomplished! Look at those stars! |
#7552 this should help making AI look smarter, and use its ranged weapons to its advantage |
Problem Description
Many problems; not just one. But I'm not talking about "dysfunctions", exactly; just at stuff that makes no sense. When stuff does not make any sense, it kills immersiveness, in the sense that you tend to sort of wake up from the game. It's as if you are comfortably happy in The Matrix, and then you see a flying elephant landing in your backyard. Examples:
The dumbness of the current AI gives the game a very cheap, arcade feel; admittedly not so bad as to make one quit playing the game; but the reason one keeps playing it is curiosity about all the stories yet uncovered and systems undiscovered; I most definitely don't keep playing because I enjoy the action in space, in any way, shape or form; I keep playing in spite of it.
Related Issue Links
For absolutely excellent ship specialization, I recommend playing the ancient Masters of Orion 2.
For amazing fleet battle complexity in space, I recommend playing Homeworld.
For magical ambience and engrossing immersiveness in a space trading game, I recommend playing the ancient Privateer.
Desired Solution
AI should be understood as something MUCH bigger than just the ability to fly, aim and shoot.
It should aim to
Alternative Approaches
I have never programmed neural networks, though I have a basic understanding of how they work.
In this case, I think that if the number of goals for AI's is a relatively short list, and if NPC perception of other ships (sight and/or radars, sensors) can be expressed succinctly, a new faction could be thrown into the game, with whatever set of allegiances, who are there just to learn. First learn to survive. Then learn to achieve goals. Finally learn to set goals.
Then, with that basic AI as a starting point, race-specific behaviors could be trained into it, to serve as the AI's of the different factions.
I don't think this would take huge neural networks. Probably 4x4 planes of neurons, a few levels deep, that can be accelerated using XMM instructions to take less than a microsecond per simulation frame.
Just an idea; it could also be coded in C++, too, probably.
But the important part would be to have one set of code or neural network for flying; another for aiming and shooting; another for goal setting, or rather for goal exploration; another for planning, given a goal and circumstances; another for feasibility or likelihood of success; another to consider the risks. Each could be just two or three lines of code, in the simplest implementation; but at least have these elements there, however simple they may be.
Additional Context
Improving the AI could have dire consequences to game-play, it needs to be said and considered.
It would be foolhardy to expect new AI to simply replace the old AI and everything be okay.
OF COURSE there will be problems to resolve.
Attackers will often NOT attack, but when they do they will attack when they know they have a good chance of winning, and they will be right more often than perhaps desirable. There's something to be said for the cheap fun of hordes of zombies attacking you with no chance of success; it can be a laugh, once in a while, (and who knows, perhaps there could be a race in the game that have zombie AI, just for laughing; what it should NOT be is the default AI for every race.)
But so, anyways, I think that a much improved AI would call for a corresponding decrease of spawning rates, for starters.
Another thing the game needs, in my opinion, is slowing down the pace in space. Huge battles happen in seconds, in ES, that would probably span hours in the real world. With battle happening in realistic time, you could, for instance, tell to each of your escorts what to do, much like in Homeworld. I fly all the time with Caps-Lock on, and I think of it as "time-compression", and I'm all for having the feature; however, when battle begins, time compression should automatically turn itself off, and it should be a lot slower; like a 10:1 difference, or more. Then, the specializations of ships in your fleet, and battle tactics, would add multiple dimensions to space battle. There would be entire papers written and videos advocating this or that set of specializations and strategies and ship commands when fighting against faction such and so. It would become "an intelligent game". But by the same token, you could not be having one such battle every other jump; battles would be fewer and farther in-between; almost always predictable or known in advance.
I have heard that larger systems have been proposed, already. That would be part of the solution in slowing down and complexifying the space-flight experience. Somehow, Privateer (Wing Commander) was a game where flight was indeed a complex and engrossing experience. Each system had a "personality". Some were full of dangerous flying rocks. Some were full of pirates, or bounty hunters, or retros (religious fanatics), and you knew all the systems like the palm of your hand, and sometimes concocted flight paths to avoid major dangers. You could traverse a system in seconds using Auto, but it almost always led you to trouble; it was better to fly manually, even if it took long minutes to get through.
Improved AI, and slower battle mode, together would make this game appeal to many more people and be a real joy in terms of game-play, and not just in terms of story.
The text was updated successfully, but these errors were encountered: