News for hackers. Stuff that matters.
Re:Analysing the AI of Super Mario 64 by gman83 on Friday March 04, 2022 @05:06AM (#30552711)
To me AI is what is holding back video games the most. The graphics have advanced incredibly in the last 20 years, but the AI seems to be increasing on a logarithmic scale.
Re:Analysing the AI of Super Mario 64 by spywaregorilla on Friday March 04, 2022 @09:10AM (#30554941)
That's not what you want at all. An AI can easily have perfect aim in a shooter game. Designers need to handicap them to be fun. The same goes for many dimensions of games. You could make AI more competent but its usually less fun.

Even strategy games designed content usually come from you beating an opponent with a superior starting position.

What you really want is more immersive AI. Not in terms of the intelligence, but in the ability to do actions that interact with the environment. But this usually requires one off animation and gameplay coding so its not something that can scale easily. Things like hiding under something form a large enemy and thinking "he can't get me" but then, oh shit, turns out he is capable of crawling.

Re:Analysing the AI of Super Mario 64 by tweakimp on Friday March 04, 2022 @09:54AM (#30555642)
I think what he meant was a realistic AI, a perfect game logic for the role it needs to play, not a perfect solution for the task it does. Example: I want to have an AI for a monkey that behaves like a monkey would behave. And if that monkey sits in a drivers seat, I want the car to move like a monkey would drive, not like a perfect driver of cars.
Re:Analysing the AI of Super Mario 64 by spywaregorilla on Friday March 04, 2022 @10:24AM (#30556059)
But the issue isn't the AI, it's the interface that the AI has to the game. Monkey drivers is a little absurd so let's stick to monkeys in the forest. A real monkey would probably climb the trees. But if the game doesn't have climbing mechanics, then its unlikely that the game devs are going to implement them just so that the monkeys can do this. Making a behavior tree to utilize available actions is pretty easy to do. It's the implementation of the animations, game logic, and environment to allow such things to happen.

Little things like letting an actor turn its head to look at things will make the AI feel more alive than a more advanced algorithm for behavior. And you definitely won't see any particular gains by trying to solve it with ML brains.

Re:Analysing the AI of Super Mario 64 by YeGoblynQueenne on Friday March 04, 2022 @10:43AM (#30556291)
>> An AI can easily have perfect aim in a shooter game.

I wouldn't mind that. I would be fine with an opponent like Scar in BSG:

https://en.wikipedia.org/wiki/Scar_(Battlestar_Galactica)

Something that's actually smart and really, really not just there for you to kill, for once.

Re:Analysing the AI of Super Mario 64 by spywaregorilla on Friday March 04, 2022 @12:27PM (#30557641)
Really? You'd like to play against a computer opponent that had instant perfect aim in a shooter? If you really want that go play some crappy online shooter full of cheaters with aim bots. It's not fun.
Re:Analysing the AI of Super Mario 64 by YeGoblynQueenne on Friday March 04, 2022 @04:32PM (#30560877)
No, I said I'd welcome a game with an AI that's smart and not just there for you to kill. The bit about "perfect aim in a shooter" is your creative addition and I have nothing to do with it.
Re:Analysing the AI of Super Mario 64 by Handytinge on Friday March 04, 2022 @06:56PM (#30562258)
You quoted "An AI can easily have perfect aim in a shooter game.", and then said "I wouldn't mind that".

You may not have meant that, but it is what you said :).

Re:Analysing the AI of Super Mario 64 by YeGoblynQueenne on Saturday March 05, 2022 @06:40AM (#30566613)
No, that's what you want me to have said. I said I "don't mind" and you then went off on a tangent about instant "perfect aim" and I should go play a crappy online shooter with bots etc. And oh no, it's not fun!

You just decided you are going to crap all over my comment and crap all over what I said I'd like to see in a game because it does not agree with some kind of idea you have about "fun" in games.

More fool me for commenting in a thread about games.

Re:Analysing the AI of Super Mario 64 by Handytinge on Monday March 07, 2022 @05:14AM (#30586053)
The only conclusion I can draw here is that you've misread. I can only draw this because a) you're disputing a direct quote which is clearly visibile and b) you seem to think I'm the original person who responded to you.

I could be wrong here, but it may be worth going back and reading what was said again and the obvious inference multiple people took from your original comment, even if it wasn't what you meant.

Good luck!

Re:Analysing the AI of Super Mario 64 by YeGoblynQueenne on Monday March 07, 2022 @07:44AM (#30587080)
My apologies for mistaking you for the original poster.
Re:Analysing the AI of Super Mario 64 by spywaregorilla on Monday March 07, 2022 @11:12AM (#30589509)
That is the exact part of my statement that you quoted?
Re:Analysing the AI of Super Mario 64 by o_m on Friday March 04, 2022 @06:07AM (#30553148)
I believe it is a game design decision. We've had human like bots/AI in FPS games for over 20 years. It might be that most players enjoy the predictable patterns a simple game AI provides.
Re:Analysing the AI of Super Mario 64 by mysterydip on Friday March 04, 2022 @06:17AM (#30553217)
Right. A game has to be fun above all. Players want enough AI to keep things immersive but not so smart that it breaks the flow by being too hard to pass.
Re:Analysing the AI of Super Mario 64 by AlecSchueler on Friday March 04, 2022 @07:47AM (#30553925)
But people still enjoy playing multiplayer for the added challenge.
Re:Analysing the AI of Super Mario 64 by antifa on Friday March 04, 2022 @03:19PM (#30559923)
Bad AIs can really break immersion, for example in one of the Settlers of Catan games they'll refuse to trade with non-AI players. In civ5 harder AIs just get random levels of free stuff but otherwise are still rather dumb.
Re:Analysing the AI of Super Mario 64 by skydhash on Friday March 04, 2022 @05:54PM (#30561721)
In FPS, most of the people playing are also bad, but their behaviors can be coherent. The enjoyable part is the random nature of your opponents and the context of the conflicts.
Re:Analysing the AI of Super Mario 64 by eutectic on Friday March 04, 2022 @07:33AM (#30553805)
I suspect there's a sort of uncanny valley, where beyond a certain point bots become too complex to predict but too stupid to be interesting.

With deep learning maybe we have a hope to reach the other side where AI can add value.

Re:Analysing the AI of Super Mario 64 by antifa on Friday March 04, 2022 @03:14PM (#30559849)
AI could use a lot of immersive improvements, there is a lot of low hanging fruit above "hard mode enemies have 4x HP" or "the easy AI is an aimbot with a slightly longer reaction delay".
Re:Analysing the AI of Super Mario 64 by hypertele-Xii on Friday March 04, 2022 @06:13AM (#30553187)
Nobody has invented effective programmatic mechanisms/patterns for general decision-making anywhere between if-else state machines and neural nets. The former becomes unmanageable spaghetti and the latter gives no theatrical guarantees.

So we're stuck in a kind of AI limbo.

Efforts exist in beating humans in specific games like chess; these games are often symmetric, i.e. all players compete on fair ground, and the AIs aim to replace human players. But most games don't want this! Most games seek theatrical asymmetry in computer-controlled agents. Most games want the illusion of cleverness without actually being clever, because most players don't want their gaming experience interrupted by undefeatable killer robots. Most games are power fantasies.

I posit that what we actually want is simply some programming pattern for managing complexity in autonomous theatrical agents. Some way to organize the creative will of the game designer easily enough that it democratizes independent developers to craft interesting behaviors.

I've got my own ideas but they're as of yet unproven.

Re:Analysing the AI of Super Mario 64 by Jasper_ on Friday March 04, 2022 @10:23AM (#30556044)
The games industry has a lot of things in between state machines and neural nets. Since 2008, the craze has been goal-oriented AI planning (GOAP), which use a graph of states, and A* to pathfind towards a goal. And there's plenty of little tricks on top of this you can find in GDC talks. It's not without its tradeoffs though.

https://www.aiandgames.com/2020/05/06/ai-101-goap-fear/

Re:Analysing the AI of Super Mario 64 by hypertele-Xii on Friday March 04, 2022 @11:59AM (#30557270)
> As detailed in Orkin’s 2006 publication at the Game Developers Conference whilst studying his PhD at MIT Media Lab, the GOAP system is driven by a Finite State Machine.

Emphasis mine.

Re:Analysing the AI of Super Mario 64 by Jasper_ on Friday March 04, 2022 @12:41PM (#30557839)
Did you look at the FSM? It's an FSM, but it's not an FSM like traditional game AI; it only has 3 states! And in modern implementations, it's only got two. It's practically just boolean flag.
Re:Analysing the AI of Super Mario 64 by 0thgen on Friday March 04, 2022 @07:11AM (#30553603)
it would certainly make MMOs a little more interesting if raids actually required outthinking an intelligent machine as oppose to exploiting it's preprogrammed responses via rote trial and error
Re:Analysing the AI of Super Mario 64 by kroltan on Friday March 04, 2022 @09:36AM (#30555354)
Not raids, but World of Warcraft's "Isand Expeditions" feature, introduced around 2018, does this.

They use an AI trained on PvP player behaviour, so the NPCs jump around, respond to teammates being injured, try to catch you off-rotation, etc.

In my opinion, it wouldn't work for bosses though, as part of the fun is exactly about understanding the tells and patterns. If you want to fight against intelligent enemies, just play PvP! I think if you play without addons like BigWigs/DeadlyBossMods you'll have much more fun, if what you're looking for is unpredictability.

Plus, would there really be that much of a difference between a machine-learned approach and a decision tree when every action the boss can perform needs to be pre-programmed anyway, and have predefined ranges/optimal uses? Maybe a different game could combine that with something like Magicka, where there are spell "recipes" which can be combined, so the AI would have more options to play with.

Another example is things like Dark Souls, the bosses are so engaging to its players _because_ you can learn to understand how they respond to your positioning. If they were a moving target, there would be no point in doing anything but learning the animations for each attack so you can dodge, so in the end they would be _less_ intellectually engaging.

Re:Analysing the AI of Super Mario 64 by phaedrus on Friday March 04, 2022 @12:28PM (#30557647)
Actually you could have more advanced boss AI while still keeping the player ability to learn its "tells" if the animation system had access to what the AI is thinking. Lights that turn from blue to angry red when the AI is contemplating firing, giving the attack a mandatory charge-up time, etc.

The AI could be unaware of its tells or that it's telegraphing moves. Even more wild would be if the AI could be aware, so that maybe it tries to cover the status light or hide the weapon from view while it charges up. That in itself would be a tell.

Re:Analysing the AI of Super Mario 64 by 0thgen on Friday March 04, 2022 @11:50AM (#30557169)
that's a good argument. part of the fun is learning the AI behaviors. and in modern games it honestly would take a while for that to get boring, the AIs certainly are getting more complex
Re:Analysing the AI of Super Mario 64 by PartiallyTyped on Friday March 04, 2022 @06:33AM (#30553343)
Unity is pushing for Reinforcement Learning, with the necessary mechanisms for training, built into the engine.

That seems like a reasonable first step imho.

Re:Analysing the AI of Super Mario 64 by Certified on Friday March 04, 2022 @07:08AM (#30553575)
Fuzzy Logic as used my Massive might be what you are looking for
Re:Analysing the AI of Super Mario 64 by xibbie on Friday March 04, 2022 @11:03AM (#30556562)
Alien Isolation had some very in-depth AI governing the behaviour of the protagonist, and it really showed in gameplay.

Getting the feeling you're being actively stalked by a sentient creature is legitimately terrifying, and it's the first time I've felt scared by the intelligence of a game's AI.

https://www.youtube.com/watch?v=P7d5lF6U0eQ goes into some detail on the decision paths governing the AI.

Re:Analysing the AI of Super Mario 64 by TMWNN on Friday March 04, 2022 @02:09PM (#30559004)
>Getting the feeling you're being actively stalked by a sentient creature is legitimately terrifying, and it's the first time I've felt scared by the intelligence of a game's AI.

I've heard that the easier difficulty is scarier, because the alien appears less often so when it does it's more terrifying.

Re:Analysing the AI of Super Mario 64 by zkldi on Friday March 04, 2022 @11:31AM (#30556914)
I actually don't think videogame AI has gotten much better since Halo 1. Maybe that game was just incredibly ahead of the curve, or that's as good as we can do.
Re:Analysing the AI of Super Mario 64 by rightbyte on Friday March 04, 2022 @06:59AM (#30553505)
Getting better? The original Half Life had better AI than HL 2. Should be more examples.
Re:Analysing the AI of Super Mario 64 by fullstop on Friday March 04, 2022 @09:17AM (#30555053)
Enemy forces in The Division 2 were pretty clever. They cover each other, attempt to flank you, etc.

https://www.gamedeveloper.com/disciplines/designing-the-enem...

There's definitely a balance between "real" and "fun".

Re:Analysing the AI of Super Mario 64 by jl6 on Friday March 04, 2022 @08:24AM (#30554348)
Did it? Or did it have better scripting?
Re:Analysing the AI of Super Mario 64 by rightbyte on Friday March 04, 2022 @08:38AM (#30554540)
HL1 had AI waypoints manually made by the level designer. If I remember correctly the human grunts were smarter, like covering eachother and stuff.

(I am not 100% sure though. Was my initial thought when playing HL2)

Re:Analysing the AI of Super Mario 64 by AeroNotix on Friday March 04, 2022 @11:36AM (#30556984)
HL2 enemies especially the Combine Soldiers would zerg at you in single file. The marines in HL1 were way better than that. The ninja people were better still..
Re:Analysing the AI of Super Mario 64 by rightbyte on Friday March 04, 2022 @12:06PM (#30557371)
Ye good someone agrees I started to falter. From my limited HL1 modding experience, good waypoints were key for grunts. It probably made the AI way simpler to program with better results -- maybe an unsexy expert system -- which ended up better than the fancy general approuch. Wild guess
Re:Analysing the AI of Super Mario 64 by roland35 on Friday March 04, 2022 @09:49AM (#30555560)
I enjoyed the AI in Perfect Dark (N64), you could create a battle with a wide assortment of personalities (bot-alities?) like vengeance-bot (always out for revenge) or turtle-bot (try to get armor and hiding).
Re:Analysing the AI of Super Mario 64 by aqme28 on Friday March 04, 2022 @06:56AM (#30553480)
I feel like it must be intentional. The original Far Cry AI is far better than anything coming out these days.
Re:Analysing the AI of Super Mario 64 by jstream67 on Friday March 04, 2022 @09:57AM (#30555696)
you should play the original FEAR if you haven't already. It has the best FPS bot AI that I can recall seeing. Part of it is that the AI often shouts out what they are doing so you get a better idea of their decision making process. It is a really great game.
Re:Analysing the AI of Super Mario 64 by munificent on Friday March 04, 2022 @12:38PM (#30557783)
Stupid games make players feel smart. Smart games make players feel stupid.

Players like to feel smart.

Re:Analysing the AI of Super Mario 64 by 0thgen on Friday March 04, 2022 @07:25AM (#30553719)
could it also in part be to the fact that graphics can be parallelized on GPUs, and AI behavior is inherently serial?

(and beyond perceptual tasks like vision, does modern AI benefit from GPUs that much?)