Jump to content

Welcome to Obsidian Forum Community
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

AI in games


  • Please log in to reply
16 replies to this topic

#1
Darkpriest

Darkpriest

    (9) Sorcerer

  • Members
  • 1389 posts
  • Pillars of Eternity Backer
  • Kickstarter Backer

Recently I watched how a fairly fast developing OpenAI managed to get more than a basic grasp at a co-op game - DotA 2.

 

Last year, they've shown one hero AI, being able to beat consistently with high rate top human players. Now, while still with significant restrictions, they managed to make 5 AI bots co-operate in a team game and beat 5 men team of really good players (retired pros).

 

I wonder, how could this affect gaming. I mean, we often hear complains how AI is bad in this or that game, etc., but think of a scenario, where AI will beat average player 99.9999999999999% times, and the best human player 90% of the time. Where is the limit for an enjoyable, yet challenging AI in games, which would be playing by the same rules and with same resources, and where the good AI becomes too good for a game to be fun (no one wants loosing all the time, even though you know the conditions are fair)

 

https://www.joindota...-the-human-race



#2
HoonDing

HoonDing

    Arch-Mage

  • Members
  • 9203 posts
  • Location:Absurdistan

How about AI that adapts to the player's IQ.



#3
ShadySands

ShadySands

    The Guy on the Couch of the Obsidian Order

  • Members
  • 3011 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Lords of the Eastern Reach Backer
  • Deadfire Silver Backer
  • Fig Backer
  • Black Isle Bastard!

a-i-artificial-intelligence_592x299.jpg

 

I don't think it will be an issue as long there are different difficulty settings. 



#4
SonicMage117

SonicMage117

    Arch-Mage

  • Members
  • 2230 posts
  • Location:Texas, United States
  • Deadfire Backer
  • Fig Backer
So many variables when talking about such a topic because different genres move them in so many different ways.

We have games like Infinity Engine games which feature some of the most horrible a.i in existence, we can see it in examples such as pathfinding (probably why combat is limited to limited format) and then we have great a.i in games like Alien: Isolation which take the a.i to anothe level in greatness. Where literally everyone a different experience as the Alien learns from players on an individual basis.

Some of the highest quality and most technical a.i though, can be found in high speed fighting games such as anime 2D fighters or anything like Tekken 7. Ex. You can take a turn and cast a spell, the enemy on his turn will counter it with a remefied toxin which is faster reaction time than most players will ever have - I suppose that's exactly why Evo has some of today's most competetive matches, players are so used to top-tier a.i that fighting humans on the sam level or higher is just second nature at that point.

A.I that learns isn't really that much of a financial investment but it's time consuming and takes so much playtesting to round out. If a company cares enough, it will show and as we consumers are often smart, we are able to tell which games show light on this. I just wish that Crpg's had good or decent a.i for once instead of being like The Sims and using other things to give difficulty to players in cheap ways.

Other examples of bad a.i are often found in twin-stick shooters, games like Serious Sam series, and the like. These games heavily rely on swarms at the expense of a.i, when enemies are programmed to run at you with no second thought, I find it takes away from the overall fun factor as immerseness is taken away.

I have alot more to say but not enough time so I'll just leave that for now. My point being that you'd figure you'd see the best a.i in rpg's which encourage strategy but it's really just the opposite.

#5
Darkpriest

Darkpriest

    (9) Sorcerer

  • Members
  • 1389 posts
  • Pillars of Eternity Backer
  • Kickstarter Backer

a-i-artificial-intelligence_592x299.jpg

 

I don't think it will be an issue as long there are different difficulty settings. 

 

How would you decide what's on given difficulty level if you want to maintain same ruleset? How would you teach AI to be less efficient and handicap itself on purpose? Or would you rather keep "AI" to the level of fallble scripts?



#6
Katphood

Katphood

    Arch-Mage

  • Members
  • 2310 posts
  • Pillars of Eternity Backer
  • Kickstarter Backer
I want npc's with schedules, goals and needs, accompanied by an intelligent A.I that can create different situations.


Nevermind, I think I woke up Todd and Peter.


F.E.A.R had one of the best A.I in games, the bots in Unreal Tournoment were nice, too.

#7
ShadySands

ShadySands

    The Guy on the Couch of the Obsidian Order

  • Members
  • 3011 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Lords of the Eastern Reach Backer
  • Deadfire Silver Backer
  • Fig Backer
  • Black Isle Bastard!

I'm not an expert on AI or on the game mentioned in the article but I have a hard time believing there'd be no way to limit the AI's effectiveness or even for the AI to limit its own effectiveness given OpenAI's goal of safe AI. The comments of the article (sorry I didn't do any digging myself) already mention that the AI had some constraints like reaction time so I'd imagine you can build upon that. Also, I'd imagine that once the technology progresses further you'd not see SkyNet level AI in your games but rather something designed to give the player a meaningful (definitions may vary) challenge.



#8
injurai

injurai

    (12) Mage

  • Members
  • 1960 posts
  • Location:Not the oceans
  • Pillars of Eternity Backer
  • Kickstarter Backer
  • Deadfire Backer
  • Fig Backer
  • Black Isle Bastard!

How about AI that adapts to the player's IQ.

 

The Rick & Morty game is going to be a cpu melter.


  • majestic likes this

#9
Fenixp

Fenixp

    Arch-Mage

  • Members
  • 2099 posts
  • Steam:Fenixp
  • Deadfire Backer
  • Fig Backer
  • Black Isle Bastard!

F.E.A.R had one of the best A.I in games, the bots in Unreal Tournoment were nice, too.

Yet FEAR's AI wasn't actually particularly clever, it was simply cleverly scripted within constraints of rather linear levels.
Heck, people tend to laud Half-Life's AI, yet it was quite literally a simple state machine.

Good AI isn't one that'll defeat players consistently - on the contrary, good AI is one which'll provide decent challenge while being fun to play against.

With that in mind, OpenAI uses machine learning to 'grow' - and I don't think it necessarily needs to learn to beat all players that play against it, but rather to be 'fun', if being 'fun' can be put into a set of rules (like unpredictability, win:lose ration on set difficulties etc.)

#10
injurai

injurai

    (12) Mage

  • Members
  • 1960 posts
  • Location:Not the oceans
  • Pillars of Eternity Backer
  • Kickstarter Backer
  • Deadfire Backer
  • Fig Backer
  • Black Isle Bastard!

If you let the soldier's in fear away from their spawn points they break, but the plus side is they are all well tuned for where your supposed to encounter them.



#11
SonicMage117

SonicMage117

    Arch-Mage

  • Members
  • 2230 posts
  • Location:Texas, United States
  • Deadfire Backer
  • Fig Backer
The best A.I is one that convinces you that it could be a human playing alongside you. I don't think being "unfair" really has anything to do with it. If you play against a human in real life who has more experience and wins, some may view that as "unfair", while others with tougher skin will take that as a learning experience (as they should).

That said, progressive nature in A.I is also key to being believable, it's okay for smart a.i to make dumb mistakes....And it's logical. Seeing an a.i learn from mistakes isn't as rare as many think, it's the behavioral cortex in which it applies that process in a given situation correctly which is a rare thing.

I think that's why Alien: Isolation's award winning A.I is well deserved. It's pretty much a shining example of all the right things in what an excelling a.i should be ajd how it should behave. Despite a few glitches here and there - which have nothing to do with the a.i but collision detection instead - you'll see how it bends without breaking.

I think alot of people though, don't know how to separate animation and world/world intraction from a.i. Most people don't know that world interaction with cpu has nothing to do with a.i, for it is a whole different thing altogether.

Also, another reason why Alien: Isolation is well deserved is bfor the simple fact that it reacts in real-time. None of it was linear or scripted event and that's a hard feat in itself.

Edited by SonicMage117, 07 August 2018 - 10:00 AM.


#12
Katphood

Katphood

    Arch-Mage

  • Members
  • 2310 posts
  • Pillars of Eternity Backer
  • Kickstarter Backer

Good AI isn't one that'll defeat players consistently - on the contrary, good AI is one which'll provide decent challenge while being fun to play against.

Which is what F.E.A.R did?! It's a shooter so their aim is to defeat you. In whatever way it was implemented, it ended up being fun.

I think there are other games which do what you described. Haven't played it yet but isn't Rimworld aiming for such a think?

Edited by Katphood, 06 August 2018 - 11:41 PM.


#13
ShadySands

ShadySands

    The Guy on the Couch of the Obsidian Order

  • Members
  • 3011 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Lords of the Eastern Reach Backer
  • Deadfire Silver Backer
  • Fig Backer
  • Black Isle Bastard!

It's a shooter so their aim is to defeat you.

This made me think about this topic some more, well this and watching the TNG episode where Data plays the Strategema master. The goal of the AI doesn't need to be victory in every case, maybe the goal is just to counter whatever you do. Might be more difficult in certain types of games.



#14
Darkpriest

Darkpriest

    (9) Sorcerer

  • Members
  • 1389 posts
  • Pillars of Eternity Backer
  • Kickstarter Backer

Well, i guess it can depend on the setup. It can be set to be annoying and counter you to delay your progress, or it can be setup to be the most efficient and try to defeat you as fast as possible



#15
Katphood

Katphood

    Arch-Mage

  • Members
  • 2310 posts
  • Pillars of Eternity Backer
  • Kickstarter Backer

 

It's a shooter so their aim is to defeat you.

This made me think about this topic some more, 

 

 

Of course it did,

Jim-Carrey-destaque.jpg

I'm a visionary...



#16
Fenixp

Fenixp

    Arch-Mage

  • Members
  • 2099 posts
  • Steam:Fenixp
  • Deadfire Backer
  • Fig Backer
  • Black Isle Bastard!

Which is what F.E.A.R did?! It's a shooter so their aim is to defeat you. In whatever way it was implemented, it ended up being fun.

Well yes, that was precisely my point. Well not that their aim was to defeat you, because ultimately, it wasn't - if AI in FEAR was designed to defeat you, player character would be dead upon turning a corner. It was cleverly designed to be fun to play against.

Edited by Fenixp, 07 August 2018 - 08:11 PM.

  • Katphood likes this

#17
Gorth

Gorth

    Global Moderator

  • Global Moderators
  • 10517 posts
  • Location:Australia

You can argue whether it was good or not, but dang, some of those old SSI games on the Commodore 64 impressed with their AI opponents at the time. Whether small or grand strategy. Bear in mind, there was NOT a lot of giant shoulders to stand on at the time to look for ideas...






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users