Results 1 to 22 of 22

Thread: Define AI

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    The Black Senior Member Papewaio's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    15,677

    Default Re: Define AI

    AI = artificial intelligence.

    Games are more a series of look up tables. So it is like a menu of options.

    If AI was high cusine, game bots would be McDonalds.
    Our genes maybe in the basement but it does not stop us chosing our point of view from the top.
    Quote Originally Posted by Louis VI the Fat
    Pape for global overlord!!
    Quote Originally Posted by English assassin
    Squid sources report that scientists taste "sort of like chicken"
    Quote Originally Posted by frogbeastegg View Post
    The rest is either as average as advertised or, in the case of the missionary, disappointing.

  2. #2
    master of the pwniverse Member Fragony's Avatar
    Join Date
    Apr 2003
    Location
    The EUSSR
    Posts
    30,680

    Default Re: Define AI

    Quote Originally Posted by Papewaio
    AI = artificial intelligence.

    Games are more a series of look up tables. So it is like a menu of options.

    If AI was high cusine, game bots would be McDonalds.
    UT AI is pretty complex, they actually work as a team. That can't be easy to program.

  3. #3
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: Define AI

    AI is artificial intelligence, this doesn't just mean it isn't intelligence because it doesn't come from a human being, intelligence is abstract. It means that it tries the best it can to be just like the real thing.

    Unfortunately, we don't even know what the real thing is. So it's hard to imitate.

    From what i understand (admitted, not very much) most modern games use a rule-base AI, essentially a series of if-then rules that can't change.

    Now it is possible to go beyond this point, adaptable AI is possible in theory, but I think it is still too complex to use in games (processor demands).

    Now about UT, I never played it, do the bots really work together ? Getting them to attack from different positions doesn't seem to hard (just assign a penalty if they get to close to eachother).

    From my limited knowledge of 'intelligent' search algorithmes, it really does take an expert to use them correctly.
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  4. #4
    Member Member Azi Tohak's Avatar
    Join Date
    Jan 2005
    Location
    Smallville USA.
    Posts
    971

    Default Re: Define AI

    Alright Red Harvest, I understand that Mr. Chess Computer program is superior, but why is that? Why is it that now, CA (or many others to be fair) cannot include that little sublety for complex games like this? Would it be so hard to tell Mr. RTW AI
    'if human has long pointy things in middle of main line
    then send cavalry around to flanks'?

    And by the way....didn't military commanders try to fight WWI with Civil War tactics? Or WWII with WWI tactics? Just saying...

    Azi
    "If you don't want to work, become a reporter. That awful power, the public opinion of the nation, was created by a horde of self-complacent simpletons who failed at ditch digging and shoemaking and fetched up journalism on their way to the poorhouse."
    Mark Twain 1881

  5. #5
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: Define AI

    Quote Originally Posted by Azi Tohak
    Alright Red Harvest, I understand that Mr. Chess Computer program is superior, but why is that? Why is it that now, CA (or many others to be fair) cannot include that little sublety for complex games like this? Would it be so hard to tell Mr. RTW AI
    'if human has long pointy things in middle of main line
    then send cavalry around to flanks'?
    How fast can the human turn its men ? Is there any backup he has that I (the AI)have to worry about ? Do I need to charge up hill ? Do I need to cav to guard my own men ?

    There are hundreds of variables that have to be taken into account, humans can make quick estimations based on experience , and we can adapt.
    Besides, AI takes up processor time, the game has to run smoothly.

    Quote Originally Posted by Azi Tohak
    And by the way....didn't military commanders try to fight WWI with Civil War tactics? Or WWII with WWI tactics? Just saying...

    Azi
    Yes, they lost horribly.
    The French seem to have (had) a neck for using outdated strategy and tactics, which earned them their bad name when it comes to war.
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  6. #6

    Default Re: Define AI

    I concur about the UT2004 AI. All the UT games and a lot of FPS seem to have wickedly good AI's. And it doesn't seem as if it's because of bonuses. They just seem to know where to be to kill you and on UT2004 they do work together. Maybe it's just easier to make a competent AI for a FPS? Don't hold me to that. But this competency is really in contrast to a lot of strategy games. RTW is not alone in having AI problems.

    Likes been said before, AI really is just a look up tool for if this then this. It can't be anything else since people can't program programs to write new code. Randomness just makes it seem real and can set the AI on a different path entirely, or not. There's a variety of other things all having to do with randomness such as battles lost that should have been won and Yucca Forests burned down. That's why little nations can sometimes rise to conquer the world. The more of these random events the program and processor has to deal with the more it has to recompute what is the best thing to do. Added to that is the amount of computations the computer has to make in the first place, such as move this unit stack from the city across this territory to the boat then send the boat to such and such a place, land, move across more land to attack an enemy army with the ultimate goal of attacking the city and taking the province. This compared to MTW where all that really had to be done was move this stack to this territory to fight the battle and siege the province. I'm sure it gets very complicated making an AI of RTW's caliber work. I sympathize with CA and if I worked for them I'd be on anti-depressants. I'd have probable started sometime around July or August last year.

  7. #7
    Alienated Senior Member Member Red Harvest's Avatar
    Join Date
    Jan 2003
    Location
    Searching for the ORG's lost honor
    Posts
    4,657

    Default Re: Define AI

    Quote Originally Posted by Azi Tohak
    Alright Red Harvest, I understand that Mr. Chess Computer program is superior, but why is that? Why is it that now, CA (or many others to be fair) cannot include that little sublety for complex games like this? Would it be so hard to tell Mr. RTW AI
    'if human has long pointy things in middle of main line
    then send cavalry around to flanks'?
    Two reasons it is superior: 1. Incredible amounts of development time by a huge number of brilliant folks--and extensive feedback and participation in the process by Grandmasters. 2. Frozen rule sets. The game rules don't change every year.

    So how could TW series game AI ever compete with a human since it obviously can't achieve either of those? One way is speed of selecting the appropriate response. Unlike chess, the AI can order many moves without waiting for the human to respond (or in response to human moves.) On the battlefield the AI is not handicapped by the controls interface or the camera. For the human an interface is necessary, both for control and for the camera, some of this adds immersion. It sees things instantly and can respond nearly instantly. TW series battles have always been tough when action occurred in the trees...or spread out across the field...or when there was fog or snow that obsured vision (prior to RTW.) In RTW the AI has its best chances when there is a mad furball rush with armies close together.

    Another way is to not make obviously stupid mistakes (something humans will do through oversight or misunderstanding.) Use a solid rule set, so that the AI can at least perform decently in a stand up fight. Sure, humans will find ways to game it, but it should take some effort to figure out how. Add to the rule set when easily remedied weakenesses are found (such as letting the human flank to take away high ground in RTW.) In RTW one gets the impression that the AI doesn't even understand how its pieces "move" on the battlefield. MTW had this to a lesser degree, but it was primarily an issue with its foot javelin units--and the horse javelins were deadly! RTW has the problem with most units. MTW seemed to understand basic use of its units with the exception of foot skirmishers.

    Getting a solid rule set takes time. Players have to explore the combat engine, understand it, and learn how to use it proficiently so that the winning rule set can be developed. Then there will be inevitable tweaks to the initial combat engine to fix bugs and unintended effects...and another learning curve. At some point the actual game rules and unit type balance, must be frozen (not the same as the AI rules.) You can't have a good AI if the relative strengths of unit types changes fundamentally after the AI has already been completed. (Imagine if the Queen was "demoted" to moving like the King in chess--it would wreck all of the positional analysis scoring any time a queen was on the board. Same as if the knight was no longer allowed to "jump" pieces, or if pawns couldn't capture "en passant.") All the play testing and good human player "rules" must be fed back into the AI development. How do you modify the AI to emulate what a human does so well? That is the difficulty. It takes time, lots of input, and some talented programmers to develope a strong AI.

    I suspect CA has some quite talented programmers for AI, but I've not seen indication of the committment from above to get RTW up to snuff. AI development/tuning/tweaking must be extremely schedule dependent and much of that load is going to be on the backend once the game itself is nearly complete--the combat engine must be near finalized anyway. I have not seen evidence of the necessary level of playtesting with RTW, nor has the schedule been one that would allow good AI to be developed. Unit balance is fouled up so that counters don't work that well, the charge is mainly based on armour level, the combat engine encourages furballs, and the patching was cut way short of what was needed.


    And by the way....didn't military commanders try to fight WWI with Civil War tactics? Or WWII with WWI tactics? Just saying...
    Yes, at the start of each war many/most are using the tactics of the previous war or at least doctrines based on what are perceived to be the lessons from the previous conflict. The commanders either adapt quickly to the new reality, or get trounced and are remembered as history's goats while new commanders take their place.
    Rome Total War, it's not a game, it's a do-it-yourself project.

  8. #8
    Member Member Productivity's Avatar
    Join Date
    Aug 2004
    Location
    Ulsan, South Korea
    Posts
    1,185

    Default Re: Define AI

    Quote Originally Posted by doc_bean
    Now about UT, I never played it, do the bots really work together ? Getting them to attack from different positions doesn't seem to hard (just assign a penalty if they get to close to eachother).
    I don't know, but I found myself getting pressured like I can be in a FPS by a good clan working together. They seemed to work well. As to if they are working together or using penalties, I don't care to be honest, getting simultaneously attacked from four directions is difficult to deal with.

  9. #9
    The Black Senior Member Papewaio's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    15,677

    Default Re: Define AI

    Quote Originally Posted by Fragony
    UT AI is pretty complex, they actually work as a team. That can't be easy to program.
    Its still just a look up table not real intelligence by any means.

    = Main Order Program Menu=
    Take order,
    smile at customer,
    enter order,
    smile at customer,
    pick up order,
    smile at customer,
    give order,
    smile at customer.

    - Take Order Sub Menu -
    What would you like today?
    .
    .
    .
    Supersize that?

    - Make Burger Sub Menu-
    .
    .
    .
    Put Burger on Bun,
    Smile at minimum wages,
    Put Pickles on Bun, /* Note if no pickles on bun it is no longer a main meal and becomes a confectionary item */
    Smile at minimum wages,
    Squirt on Cream [Check CreamVar is Mayo > CreamOfSomeYoungGuy],
    Smile at minimum wages,
    .
    .
    .

    ====

    Same for the UT bots they are given a destination and target type range. They don't learn, they use SQL like tables. So at best they should be called primitive AI where AI is artifical instinct.
    Our genes maybe in the basement but it does not stop us chosing our point of view from the top.
    Quote Originally Posted by Louis VI the Fat
    Pape for global overlord!!
    Quote Originally Posted by English assassin
    Squid sources report that scientists taste "sort of like chicken"
    Quote Originally Posted by frogbeastegg View Post
    The rest is either as average as advertised or, in the case of the missionary, disappointing.

  10. #10
    Member Member Productivity's Avatar
    Join Date
    Aug 2004
    Location
    Ulsan, South Korea
    Posts
    1,185

    Default Re: Define AI

    Quote Originally Posted by Papewaio
    Same for the UT bots they are given a destination and target type range. They don't learn, they use SQL like tables. So at best they should be called primitive AI where AI is artifical instinct.
    While that is true, I don't think anyone actually cares, if it is providing the appearance of AI. They have been programmed to have a diverse enough array of instinctual responses, that when put into a situation and adding randomisation, they appear to be intelligent.

    True AI would be vastly difficult, and I think the closest anyone has come has been adaptive adjustment (a racing game Powerslide used this, it would map it's own routes, acceleration etc. across the course, and map yours. It would take the stretches of course where you beat it, and move it's new course more towards yours). However that's still not AI, it's still working off defined equations. When someone can work out a program that allows it to rewrite it's own equations, then you will have AI.

    Rome probably could use adaptive patterns, if it tracked the battle, and worked out when it was winning the battle, and when it was losing, and then building on those strengths and eliminating the weaknesses. So if I was playing spain, and I allways took a hammering from the AI's archers, over a campaign it would slowly start to build more and more archer heavy armies, until it started getting better returns off of other units. Essentially using marginal returns to units.
    Last edited by Productivity; 06-17-2005 at 04:11.

  11. #11
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: Define AI

    I think a few people here are overestimating actual intelligence.

    We mimic what we see other people do. We 'build' certain patterns in our brain. Our thoughts don't appear out of no where, they are formed by a system trained by years of conditioning.
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  12. #12
    Member Member Azi Tohak's Avatar
    Join Date
    Jan 2005
    Location
    Smallville USA.
    Posts
    971

    Default Re: Define AI

    Seriously, I would love it if the computer would just pick something and stick to it. For both defense, but especially defense. I would love to have one massive wall of infantry slam into each other, but the way the computer works it is a whole bunch of little pieces. I pick on a piece, crush it, rinse and repeat. If the computer would use its phalanxes just as one wall, it would be far harder!

    But on another note, I think it would hilarious to see RTW try to make a sandwich...Sorry...that was just a funny mental picture I had...I will go back to work now...

    Azi
    "If you don't want to work, become a reporter. That awful power, the public opinion of the nation, was created by a horde of self-complacent simpletons who failed at ditch digging and shoemaking and fetched up journalism on their way to the poorhouse."
    Mark Twain 1881

  13. #13
    The Black Senior Member Papewaio's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    15,677

    Default Re: Define AI

    Quote Originally Posted by doc_bean
    I think a few people here are overestimating actual intelligence.

    We mimic what we see other people do. We 'build' certain patterns in our brain. Our thoughts don't appear out of no where, they are formed by a system trained by years of conditioning.
    True we do mimic, but that is in itself a sign of intelligence. How hard would it to be if RTW had Hard - VH then Mimic level.

    In Mimic level it mimics your style of play and picks from the best styles given its current formation. It also learns from campaign to campaign what is the best tactic given a situation.

    Even if the Strategic Mimic was simply an order of buildings and then troop mix it would be a step up.
    Our genes maybe in the basement but it does not stop us chosing our point of view from the top.
    Quote Originally Posted by Louis VI the Fat
    Pape for global overlord!!
    Quote Originally Posted by English assassin
    Squid sources report that scientists taste "sort of like chicken"
    Quote Originally Posted by frogbeastegg View Post
    The rest is either as average as advertised or, in the case of the missionary, disappointing.

  14. #14
    Member Member Azi Tohak's Avatar
    Join Date
    Jan 2005
    Location
    Smallville USA.
    Posts
    971

    Default Re: Define AI

    Mmmm...mimic level...

    See, I'm just so darn good, it would be the unstoppable force meeting the immovable object

    Something like that. But anyway, seriously, wouldn't that be so hard to program? Given the variety of terrain, I have to change my strategy. To be sure, it does not change by much, but it seems to me that would be awesome. And terrible at the same time. I might actually lose a battle to the AI!

    Azi
    "If you don't want to work, become a reporter. That awful power, the public opinion of the nation, was created by a horde of self-complacent simpletons who failed at ditch digging and shoemaking and fetched up journalism on their way to the poorhouse."
    Mark Twain 1881

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO