Results 1 to 30 of 954

Thread: The Daily Update at the Com

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Villiage Idiot Member antisocialmunky's Avatar
    Join Date
    Feb 2005
    Location
    ゞ( ゚Д゚)ゞ
    Posts
    5,974

    Default Re: The Daily Update at the Com

    Yeah, the AI lacks any reasonable foresight most of the time. I'm not sure what you can do about it, I know the 'conditional statement' response seems like an easy solution but CA talked touted a goal based AI...

    I suspect that if indeed CA actually implemented something like, the problem is structural. The issue would be that the AI doesn't analyse a set of options after each iteration, instead it just picks the one.

    For those not familiar a basic goal based AI can be described as follows.
    -You have a set of X choices that can be performed at each step with a reward function(for strategic thinking, I think a long term and short term function would be best).
    -During each step, the AI selects the option in which after evaluating the reward function results in the best reward and adds that action to its todo list.
    -It steps through Y amount of times and then starts to execute the to do list.

    The problem with this though is that it results in a very miopic AI in that it will invariably pick the list that results in the most immediate benefits.

    The simpliest way of fixing that is to take Z sized set of the best options at every step so instead of a list, you generate a tree. After Y steps, you select the single path in the tree that results in the highest reward score. So once you adjust the AI to look at a set of decisions, it gets more intellegent. This is why Chess AIs take forever. They are analyzing all possible good moves.

    Now, I can't really tell if this is actually the problem but it seems like this might be part of it. It could also be the function that picks the set of actions for picking 'attack' every time or the reward function for each decision is seriously screwed. I dunno.
    Last edited by antisocialmunky; 07-18-2009 at 03:31.
    Fighting isn't about winning, it's about depriving your enemy of all options except to lose.



    "Hi, Billy Mays Here!" 1958-2009

  2. #2
    Iron Fist Senior Member Husar's Avatar
    Join Date
    Jan 2003
    Location
    Germany
    Posts
    15,617

    Default Re: The Daily Update at the Com

    Quote Originally Posted by antisocialmunky View Post
    The simpliest way of fixing that is to take Z sized set of the best options at every step so instead of a list, you generate a tree. After Y steps, you select the single path in the tree that results in the highest reward score. So once you adjust the AI to look at a set of decisions, it gets more intellegent. This is why Chess AIs take forever. They are analyzing all possible good moves.
    "Everytime I click end turn, it takes hours to finish, Buhuhuhuhu!!!"

    In a TW game there are even more options to consider than in chess unless you make them rather abstract in which case you'd arrive for example at the prestige ratings, which reflect a faction strength somewhat well, irf the AI sees that the enemy has twice the army prestige, maybe it should look for a reliable ally before attacking, etc. You get some kind of relatively simple tree using things that are already there.
    One thing that would really help though is a "my armies are crushed maybe I should offer money for a peace deal" consideration. Wars should be relatively quick and bloody, not always the drawn out back and forth (or just a never ending forth in some cases) that they currently are because the AI hardly ever accepts or offers a peace deal. People who do like the current wars can just deny the peace deals, no problem whatsoever.


    "Topic is tired and needs a nap." - Tosa Inu

  3. #3
    Villiage Idiot Member antisocialmunky's Avatar
    Join Date
    Feb 2005
    Location
    ゞ( ゚Д゚)ゞ
    Posts
    5,974

    Default Re: The Daily Update at the Com

    It would take as long as pathing for one unit as they do it now.
    Fighting isn't about winning, it's about depriving your enemy of all options except to lose.



    "Hi, Billy Mays Here!" 1958-2009

  4. #4

    Default Re: The Daily Update at the Com

    I have to say, I haven't really played ETW is a while. Dawn of Discovery has been drawing most of my attention lately. But I think the primary reason I stopped playing ETW was the diplomacy. I don't like the "me vs. everyone" situation that arrises with the irrational diplomatic AI. I don't want to conquer the world. As GB, I want to rule the seas, keep the French bottled up on the Continent, fight pirates in the Carribean, fight frontier wars vs. natives in America, control many trade nodes, and begin to colonize India.

    If I take Flanders, the dinky little German states should not declare war on me. I could destroy them in a single move, which is why it's stupid for them to declare war on me, and I don't want to garrison lots of little city states in Europe, which is why I won't declare war on them.

    I want a logical diplomatic AI that only declares war if it thinks it has a real chance of winning. Once a nation is at war, I want the CAI to act aggresively to execute that war, achieve its war aims, and if it's successful (or tragically unsuccessful), it should sue for peace. What I don't want is a diplomatic AI that's more aggressive than the CAI. I also don't want a stupid DAI that basically makes suicidal decisions.

    When the diplomatic AI acts rationally and with some thought to historic relations between nations, it feels more rational and realistic, which helps with immersion and significantly increases my enjoyment of the game. When it acts stupidly, I see through the facade, the immersion is gone, and it's apparent that it's just me vs. a single (yet multi-faced) AI that just wants to crush me.
    Fac et Spera

  5. #5
    Member Member TB666's Avatar
    Join Date
    Jul 2005
    Location
    Malmö, Sweden
    Posts
    1,519

    Default Re: The Daily Update at the Com

    Hi guys,

    We have stopped the "Backstabber" and "Dishonouring Treaties" diplomatic factors being applied when joining an ally in war. We have also checked in the first pass of diplomacy improvements. This consists of updating some of the diplomacy calculations to use new functionality that has been added to the AI since release and tweaking some of the factors. In addition, we have made changes to increase AI counter offers.

    Thanks,

    Mark O'Connell
    (aka SenseiTW)

  6. #6
    Senior Member Senior Member Fisherking's Avatar
    Join Date
    Feb 2005
    Location
    East of Augusta Vindelicorum
    Posts
    5,575

    Default Re: The Daily Update at the Com

    WOW!

    I hope this is the end of the Black Knight suicide factions!

    Maybe we won’t be at war for the whole game and some factions may even except peace!


    Education: that which reveals to the wise,
    and conceals from the stupid,
    the vast limits of their knowledge.
    Mark Twain

  7. #7
    A Livonian Rebel Member Slaists's Avatar
    Join Date
    Sep 2004
    Posts
    1,828

    Default Re: The Daily Update at the Com

    Quote Originally Posted by Fisherking View Post
    WOW!

    I hope this is the end of the Black Knight suicide factions!

    Maybe we won’t be at war for the whole game and some factions may even except peace!
    Well, I think in TW series being at war is the point. The problem was that many of the wars were meaningless and random.
    Last edited by Slaists; 07-20-2009 at 18:59.

  8. #8
    Member Member Mumu Champion Prodigal's Avatar
    Join Date
    Oct 2002
    Location
    UK
    Posts
    578

    Default Re: The Daily Update at the Com

    Quote Originally Posted by TB666 View Post
    new functionality that has been added to the AI since release
    Hands up if anyone thinks the new functionality may be the ability for factions to sign peace treaties

  9. #9
    Member Member Durallan's Avatar
    Join Date
    Dec 2006
    Location
    South Australia!
    Posts
    461

    Default Re: The Daily Update at the Com

    *hand goes up* hehehe, and yes that is too many acronyms for one sentence, please explain!
    I play Custom Campaign Mod with 1.2!
    My guide on the Family Tree - https://forums.totalwar.org/vb/showthread.php?t=87794
    Kobal2fr's guides on training chars to be
    Governors - https://forums.totalwar.org/vb/showthread.php?t=86130
    Generals - https://forums.totalwar.org/vb/showthread.php?t=87740
    Blue's guide to char development - https://forums.totalwar.org/vb/showthread.php?t=87579

Tags for this Thread

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