Is A.I. limited by consoles?

Post » Fri Jun 17, 2011 4:27 am

I'm not sure exactly how AI works, but I have never played any game where I was impressed by the AI.

Is AI limited when a game is a console port? Or even simply when games are multi-platform?

I haven't played Witcher 2 all the way through yet, but so far the AI doesn't seem very smart. In fact, the AI is pretty stupid because if you retreat a short distance, the monsters stop chasing you and wait for you to heal. I would have thought that since it is a PC exclusive, maybe the AI would be smarter.

Also, the AI in Civ5 seems dumber than the AI in Civ4.

Can someone educate me about this?
User avatar
Laura-Lee Gerwing
 
Posts: 3363
Joined: Fri Jan 12, 2007 12:46 am

Post » Fri Jun 17, 2011 4:50 pm

Short answer: No

Long Answer: A.I is just a piece of code like everything else in video games. A.I uses pathfinding algorithms to navigate the game and complete pre-determined tasks. AI programming is extremely complex because there are a lot of variables you need to use if you want to create a good AI.

For example a simple AI for a shooter would require a code that evaluates the situation and then tells the AI Character to takes action according to the results. So if the AI is supposed to be searching for the player, the code would tell the AI Character to start walking around the level using the pathfinding algorithm (so it won't bump into obstacles, etc) and then when the player enters its line of sight, or the player makes some noise that the AI character can hear then another piece of code kicks in that tells the AI to shoot at the character until he dies.

The AI programming doesn't change between a PC game and a console port, with the exception of some minor modifications that shouldn't affect the overall performance.
User avatar
Lloyd Muldowney
 
Posts: 3497
Joined: Wed May 23, 2007 2:08 pm

Post » Fri Jun 17, 2011 8:48 am

I'm not sure exactly how AI works, but I have never played any game where I was impressed by the AI.

Is AI limited when a game is a console port? Or even simply when games are multi-platform?

I haven't played Witcher 2 all the way through yet, but so far the AI doesn't seem very smart. In fact, the AI is pretty stupid because if you retreat a short distance, the monsters stop chasing you and wait for you to heal. I would have thought that since it is a PC exclusive, maybe the AI would be smarter.

Also, the AI in Civ5 seems dumber than the AI in Civ4.

Can someone educate me about this?

Consoles doesn't have anything to do with it really. Well not directly.
User avatar
Devils Cheek
 
Posts: 3561
Joined: Sun Aug 13, 2006 10:24 pm

Post » Fri Jun 17, 2011 1:13 pm

If the console CPU is weaker, then a PC exclusive should be able to handle a much more complex and demanding AI routine, right?

Perhaps the software side is still limited because no one has figured out how to code smart AI for games?

Or are there some games with great AI you would recommend?
User avatar
Krista Belle Davis
 
Posts: 3405
Joined: Tue Aug 22, 2006 3:00 am

Post » Fri Jun 17, 2011 7:15 am

Or are there some games with great AI you would recommend?

The first F.E.A.R. game had great AI for the enemy soldiers. It's still great today.
User avatar
Benjamin Holz
 
Posts: 3408
Joined: Fri Oct 19, 2007 9:34 pm

Post » Fri Jun 17, 2011 5:08 am

If the console CPU is weaker, then a PC exclusive should be able to handle a much more complex and demanding AI routine, right?

Perhaps the software side is still limited because no one has figured out how to code smart AI for games?

I have no idea... all I know is that AI programming is extremely frustrating <_<

I've been trying to code a proper AI for a game I'm making for a couple of weeks now and I've made almost no progress whatsoever
User avatar
Jade
 
Posts: 3520
Joined: Mon Jul 10, 2006 6:42 am

Post » Fri Jun 17, 2011 2:26 pm

If the console CPU is weaker, then a PC exclusive should be able to handle a much more complex and demanding AI routine, right?


I wouldn't think so, as it would depend on the quality of the programming behind it, not brute CPU strength.
User avatar
Stephanie Nieves
 
Posts: 3407
Joined: Mon Apr 02, 2007 10:52 pm

Post » Fri Jun 17, 2011 8:53 am

The problem with 'smart' AI is it beats you. It beats you again and again. So it's generally a better idea to just make decent AI ( as in pretty stupid ) and increase its chances in other ways. Such as giving it free resources in RTS games, and increasing its damage output and resistance in FPS/RPGs.
User avatar
Honey Suckle
 
Posts: 3425
Joined: Wed Sep 27, 2006 4:22 pm

Post » Fri Jun 17, 2011 12:15 pm

The problem with 'smart' AI is it beats you. It beats you again and again. So it's generally a better idea to just make decent AI ( as in pretty stupid ) and increase its chances in other ways. Such as giving it free resources in RTS games, and increasing its damage output and resistance in FPS/RPGs.

Actually people are starting to create AIs that make mistakes and stuff like that. Which is really cool (and kinda scary)
User avatar
Susan Elizabeth
 
Posts: 3420
Joined: Sat Oct 21, 2006 4:35 pm

Post » Fri Jun 17, 2011 6:01 pm

Actually people are starting to create AIs that make mistakes and stuff like that. Which is really cool (and kinda scary)

So, if we aren't focusing on perfection, that means no SKYNET?
User avatar
Oyuki Manson Lavey
 
Posts: 3438
Joined: Mon Aug 28, 2006 2:47 am

Post » Fri Jun 17, 2011 12:32 pm

They program mistakes in to make it more believable and human. Mistakes in pathfinding are common and not programmed (intentionally) but nobody seems to like them. :P
User avatar
Sunnii Bebiieh
 
Posts: 3454
Joined: Wed Apr 11, 2007 7:57 pm

Post » Fri Jun 17, 2011 2:31 am

If the console CPU is weaker, then a PC exclusive should be able to handle a much more complex and demanding AI routine, right?

Perhaps the software side is still limited because no one has figured out how to code smart AI for games?

Or are there some games with great AI you would recommend?

That would mean the 360 is holding back PS3 AI, then?

In any case, I know practically nothing about it.
User avatar
kevin ball
 
Posts: 3399
Joined: Fri Jun 08, 2007 10:02 pm

Post » Fri Jun 17, 2011 5:59 pm

The problem with 'smart' AI is it beats you. It beats you again and again. So it's generally a better idea to just make decent AI ( as in pretty stupid ) and increase its chances in other ways. Such as giving it free resources in RTS games, and increasing its damage output and resistance in FPS/RPGs.


The problem with Civ5 is that when switching to hexagonal tiles and one unit per tile, the A.I. couldn't figure out how to effectively fight with these parameters, so the devs tried to compensate by nerfing the player and giving the AI ridiculous, unfair advantages to compensate. Essentially instead of tactics, the A.I. relies on cheats. I would much rather play against an enemy using intelligent tactics.

If you look at great chess simulators, they take a long time to anolyze all the possible moves and have a much more sophisticated system for choosing their moves.
User avatar
lolly13
 
Posts: 3349
Joined: Tue Jul 25, 2006 11:36 am

Post » Fri Jun 17, 2011 6:35 pm

Actually people are starting to create AIs that make mistakes and stuff like that. Which is really cool (and kinda scary)


Fascinating.

How is that even possible? I can't wrap my head around how you would write a program to deliberately make a mistake.
User avatar
Natalie Taylor
 
Posts: 3301
Joined: Mon Sep 11, 2006 7:54 pm

Post » Fri Jun 17, 2011 6:20 am

I have no idea... all I know is that AI programming is extremely frustrating <_<

I've been trying to code a proper AI for a game I'm making for a couple of weeks now and I've made almost no progress whatsoever


^

AI coding is EXTREMELY time consuming and intensive to the point of absolute frustration for people. One idea i've had for AI involves modeling it after the human brain, but that's about as far as i'll go into that. The most intensive AI would probably be the one for FPS since you have to tell the opponents several things.

1. Is the enemy player around
2. How to proceed when engaging an enemy player
3. Sub routine for acting during the course of combat with enemy player
4. Proceed or retreat options for losing a battle or a fleeing player.

I would say HL2 probably has the best AI i've seen so far since they aren't too willing to fall into traps and will be conscious of me trying to ambush them. As for the worst AI coding it's a variable cavalcade of options to pick since some games are just plain stupid.


Hey exorince what type of game are you working on?
User avatar
Fam Mughal
 
Posts: 3468
Joined: Sat May 26, 2007 3:18 am

Post » Fri Jun 17, 2011 3:47 pm

^

AI coding is EXTREMELY time consuming and intensive to the point of absolute frustration for people. One idea i've had for AI involves modeling it after the human brain, but that's about as far as i'll go into that. The most intensive AI would probably be the one for FPS since you have to tell the opponents several things.

1. Is the enemy player around
2. How to proceed when engaging an enemy player
3. Sub routine for acting during the course of combat with enemy player
4. Proceed or retreat options for losing a battle or a fleeing player.

I would say HL2 probably has the best AI i've seen so far since they aren't too willing to fall into traps and will be conscious of me trying to ambush them. As for the worst AI coding it's a variable cavalcade of options to pick since some games are just plain stupid.

Starcraft 2 has amazing AI

Hey exorince what type of game are you working on?

Squad Based FPS
User avatar
Mark Hepworth
 
Posts: 3490
Joined: Wed Jul 11, 2007 1:51 pm

Post » Fri Jun 17, 2011 6:36 pm

Galactic Civilisations 2 and Alpha Centauri have good AI, mostly in how they react in a human way to diplomacy, and often will predict your own actions (one AI race in Gal Civ told me that he knew what I was doing moving troop transports to near his border)
User avatar
Lucy
 
Posts: 3362
Joined: Sun Sep 10, 2006 4:55 am

Post » Fri Jun 17, 2011 4:24 pm

Starcraft 2 has amazing AI

:rofl: no way.
User avatar
Roberta Obrien
 
Posts: 3499
Joined: Tue Oct 23, 2007 1:43 pm


Return to Othor Games