Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Leadership Optimism / Regime Change

    AI
    2
    4
    482
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • joewichowski
      joewichowski last edited by joewichowski

      Hi, great game thanks for all the great work.

      I am wondering from an AI perspective if a "Optimism" factor might be of interest to add to the AI Engine? Many times leaders can "read data" but be overly optimistic (or pessimistic) on what they are actually reading/calculating.

      For example - someone like Patton would certainly put more faith in his Tank/Infantry than the power of the Navy, unless perhaps its a Navy-only battle.

      At quick glance, I see estimatePower() with a myPower() function (ProBattleUtils.java) which runs a PowerStrengthAndRolls.build() passing in CombatValueBuilder.Build() directly-as-calculated in real-time. Wondering if that might be a good spot to add such a hedge factor? Defining CombatValueBuilder before calculating myPower would allow for manipulation of the calculated value of each unit (thus providing a pro or negative effect based on the type of "leader" the AI is). Might that be a good spot / reasonable target for such a feature?

      pic.png

      Also, on the same topic, perhaps if Optimism goes negative for too long (or overall losses vs wins % over time) a Regime Change gets initiated, to reset the Optimism values (either to default, or randomized) to affect how the AI plays from that spot forward.

      I could also imagine using this for "Desperation", towards the end of a war if the AI is losing it just discounts odds it doesn't like and "tries anything".

      Anyway, curious if anyone has thoughts (or! maybe there already is a config you can just share with me that in fact does this).

      Thanks much for reading!

      TheDog 1 Reply Last reply Reply Quote 2
      • TheDog
        TheDog @joewichowski last edited by

        There is no ai_config.txt or similar, but it would be great to be able to set parameters for how a unit or faction/nation;
        attacks/defends/moves/purchases./politics/techs etc but for now one step at a time.

        Similar but not the same, this might of interest;
        https://forums.triplea-game.org/topic/2299/ai-aggression-level

        joewichowski 1 Reply Last reply Reply Quote 0
        • joewichowski
          joewichowski @TheDog last edited by

          @thedog Thanks! I'll review that thread. Do you know if this function (estimatePower) is the main routine that calculates these metrics per unit? Or am I assuming this is too simple to modify this function?

          TheDog 1 Reply Last reply Reply Quote 0
          • TheDog
            TheDog @joewichowski last edited by

            I dont know, but @redrum does, as its his bag.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums