Results 1 to 3 of 3

Thread: Fixing the AI (practically)

  1. #1

    Default Fixing the AI (practically)

    I know the AI is retarded, i know this as a long-time player of RTW and EB.

    I recently installed a mod-pack for Alex which incorporated sinhuet's(?spelling?) formation mod. I became fed up with the poor dumb AI getting butchered while they sat in guard mode, so i wiped guard mode everywhere i found except in phalangites, and missile cavalry, as guard mode enables skirmishing troops to escape more effectively even if partially "caught".

    Now i noticed that when attacking, the AI received:

    "default_melee_state fire_at_will_and_engage_at_will_and_skirmish"

    meaning the AI just comes right at you regardless.

    Now, my thought is this, is there a way to set a maximum distance for the AI to engage at? In other words let the AI sit on it's hill and then storm you when you get within a certain striking distance? Is there a way to set it to attack all out if it has a certain terrain advantage?

    What seems interesting to me is that it might be possible to script the AI into using troops as a reserve for flanking or protecting it's general as well.

    any thoughts or experiences?
    Last edited by Arcani_Bar_Kochba; 09-02-2009 at 22:14.

  2. #2
    Member Member Raygereio's Avatar
    Join Date
    Feb 2009
    Location
    Arnhem
    Posts
    139

    Default Re: Fixing the AI (practically)

    As far as I know, the only thing moddable about the rtw AI are the formations it uses on the battlemap.

    The rest is hardcoded.
    Stuff like recognising height advantage is there, but is only used for defensive battles (at least, I've noticed that in defensive battles the AI always deploys on the highest hill he can find).

    From what I've read, the AI in MTWII is more moddable, so perhaps we'll see some improvements in this area for EBII.

  3. #3
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Fixing the AI (practically)

    Quote Originally Posted by Raygereio View Post
    As far as I know, the only thing moddable about the rtw AI are the formations it uses on the battlemap.

    The rest is hardcoded.
    Stuff like recognising height advantage is there, but is only used for defensive battles (at least, I've noticed that in defensive battles the AI always deploys on the highest hill he can find).

    From what I've read, the AI in MTWII is more moddable, so perhaps we'll see some improvements in this area for EBII.
    yes, that is our current consolation about A.I. (Artificial Idiocy)



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

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