Results 1 to 18 of 18

Thread: Hard Rules of war: Another look at AI

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Research Shinobi Senior Member Tamur's Avatar
    Join Date
    Aug 2004
    Location
    #2 Bagshot Row
    Posts
    2,676

    Default Re: Hard Rules of war: Another look at AI

    congrats on finishing up finals, summer is Not the time to be in school

    Regarding the case you mention (sacrificing a unit to the larger objective), this is relatively straightforward. The AI needs a single overriding goal, which breaks into multiple meta-goals, which each translate into a sequence of individual unit moves. If one of the meta-goals is to draw the enemy out of a defencive position, the AI will have a few options to do this with (advance a unit who will obviously be butchered, run cavalry at the archers in front and then withdraw, start up the long-range missile fire, etc).

    This is not quite theoretically anymore, since I've got a good ways into designing both a campaign and battlemap AI API. Quite the enjoyable summer project --- no graphics to deal with, so it moves quickly.
    Last edited by Tamur; 07-28-2006 at 22:59.
    "Die Wahrheit ruht in Gott / Uns bleibt das Forschen." Johann von Müller

  2. #2
    probably bored Member BDC's Avatar
    Join Date
    Dec 2002
    Location
    Britain
    Posts
    5,508

    Default Re: Hard Rules of war: Another look at AI

    Perhaps, one day but not yet... hehe, then it would be the precursor to Cyberdyne, the Terminators, John O'Connor, etc... "Oh no we taught the computers how to fight and learn and conquer and now they've come for us."
    (Sorry, I just finished my summer finals and feeling elated here)
    At least they'd be limited to medaeval era weaponry. Oh no the musketeers have cunningly outflanked us. Ah well. Shoot them anyway.

  3. #3
    Member Member DensterNY's Avatar
    Join Date
    May 2005
    Location
    New York, New York
    Posts
    155

    Default Re: Hard Rules of war: Another look at AI

    Quote Originally Posted by Tamur
    congrats on finishing up finals, summer is Not the time to be in school
    I agree completely. The mind is closed off to studying when it is hot and beautiful out. I will try and avoid summer studies in the future.

    Quote Originally Posted by Tamur
    Regarding the case you mention (sacrificing a unit to the larger objective), this is relatively straightforward. The AI needs a single overriding goal, which breaks into multiple meta-goals, which each translate into a sequence of individual unit moves. If one of the meta-goals is to draw the enemy out of a defencive position, the AI will have a few options to do this with (advance a unit who will obviously be butchered, run cavalry at the archers in front and then withdraw, start up the long-range missile fire, etc).

    This is not quite theoretically anymore, since I've got a good ways into designing both a campaign and battlemap AI API. Quite the enjoyable summer project --- no graphics to deal with, so it moves quickly.
    Well then I am looking forward to seeing the fruits of this project if you're going to share this with the community. Also, I am glad to see that someone has taken effort into dealing with the frustration that we have with the AI. Its easy enough to complain about an ineffectual AI but to actively work on designing a good one is a different thing altogether.

    I like your idea though to break up the AI's single overriding goal into a series of meta-goals which makes more sense. Perhaps that's the problem the AI has too much to handle in a completely open field but if it tried instead to follow steps such as draw out enemy, nullify their archers, smash one flank, etc... then it would be more successful.
    "The greatest pleasure is to vanquish your enemies and chase them before you, to rob them of their wealth and see those dear to them bathed in tears, to ride their horses and clasp to your bosom their wives and daughters."

    -- Genghis Khan

  4. #4
    Member Member sunsmountain's Avatar
    Join Date
    Sep 2003
    Location
    Netherlands
    Posts
    414

    Default Re: Hard Rules of war: Another look at AI

    Its easy enough to complain about an ineffectual AI but to actively work on designing a good one is a different thing altogether.
    What would be even more helpful, I think, is creating battle replays showing CA where the current (RTW) AI goes wrong.
    in montem soli non loquitur

    (\_/) (>.<) That's what happens with bunnies
    (x.X)(_)(_) who want to achieve world domination!

    becoming is for people who do not will to be

  5. #5

    Default Re: Hard Rules of war: Another look at AI

    Have you seen Ituralde's thread about the german magazine article? Allegedly, the AI's been worked on extensively, so perhaps CA already know where their mistakes were in RTW

  6. #6
    Research Shinobi Senior Member Tamur's Avatar
    Join Date
    Aug 2004
    Location
    #2 Bagshot Row
    Posts
    2,676

    Default Re: Hard Rules of war: Another look at AI

    yes, it's definitely heartening.

    sunsmountain's post made me think it would be good to do just that -- collect replays that specifically show bad AI behaviour and analyse what could be happening to cause it.

    Is this being done by anyone? If not, I'd be happy to host them on my own server, as long as the bandwidth demands don't become too large. I'll look around a bit and see if there's anything like this happening on the web.
    "Die Wahrheit ruht in Gott / Uns bleibt das Forschen." Johann von Müller

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