Results 1 to 30 of 68

Thread: Simple changes by CA that would improve the AI

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Exclamation Re: Simple changes by CA that would improve the AI

    I did some testing to see what the AI was doing. Below are screenshots of my Sengoku Jidai mod and the AI faction is left alone on the island with no where else to go:

    After pressing more End Turns there wasn't any building up going on anymore. Units from the settlements were immediately merged with existing armies (I gave armies plenty of movement points, enabling them to cross half the island in 1 turn and thus being able to merge with an army before said army was already gone).
    I don't know how bad this is. It appears as if before saving the AI had a different set of routines (when there were still enemies) than after loading (when it was all alone).

    After this test I saved, quitted, then set training times to 10 turns and reloaded. Very little merging of armies was made. Which made it become clear that the AI does not merge armies that are together more than 20 units. So you will very rarely get full stacks and plenty of stacks that range from 10/20 to 19/20. The code might look something like this: if size_armyA + size_armyB > 20 then stop, while it should be something like if size_armyA + size_armyB > 20 then size_armyA=20 and size_armyB = leftovers.

    Edit: And now some praise for CA. I made a new test. Made a few turns, saved and reloaded. Then I saw some very nice manuevring:
    - 2 or even 3 armies merging before attacking an enemy
    - 1 army moving next to the enemy and another attacking resulting in a 2vs1. Sad part was that 6 armies did this in the same turn resulting in 3 2vs1's with the AI losing all. How much better it would have been if it had first merged into 2 larger armies before performing the pincer movement... the AI performing a pincer movement on strategic level?! There is hope for CA!
    - and stretched out frontline with several (small) armies opposing each other; if only the AI also reinforced some of the armies and build some forts to strengthen the frontline it would be something much more worthy of a screenshot then some guys farting in a river.
    Last edited by Duke John; 08-17-2005 at 11:09.

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