Page 2 of 8 FirstFirst 12345678 LastLast
Results 21 to 40 of 151

Thread: Ultimate Battle AI 1.2 *UPDATE*

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    GrandViZ's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Berlin, Germany
    Posts
    2,026

    Default Re: Ultimate Battle AI 1.0

    Quote Originally Posted by DrBeast View Post
    More on the "prolonged charge" issue.
    I think I've found what's causing it: unit cohesion. When charging a tightly packed unit, the charge will go on and on and on until the unit being charged loses cohesion.
    When I get you right, you say the issue is caused by the changed formation values in RC? I'll try tight formation values.

    Btw, is there a quick way to have the units start with their initial formation, with regards to deepness? After yesterday's tests (see my post in the RC thread), I got sick and tired of having to rearrange my units at the start of EVERY battle!
    I haven't touched formations for the human player, but it seems the AI file has an effect on the starting formation here as well. I'll investigate.

    Why do you dislike deep formations?
    Creator of the Ultimate AI
    Co-Author of Broken Crescent

    Under the Patronage of Trajan

  2. #2
    DrBeast's Avatar Biarchus
    Join Date
    Nov 2006
    Location
    Somewhere Out In Space
    Posts
    684

    Default Re: Ultimate Battle AI 1.0

    Quote Originally Posted by GrandViZ View Post
    When I get you right, you say the issue is caused by the changed formation values in RC? I'll try tight formation values.
    Actually, I'm using some of Darth's older formation values (before the zeros and the negatives). Can't remember how different they are to RC, and I don't have my EDU here for a quick comparison. What I'm saying is, the tighter the formation, the more the "Charging" effect will stay, because the chargers can't break through.

    Quote Originally Posted by GrandViZ View Post
    I haven't touched formations for the human player, but it seems the AI file has an effect on the starting formation here as well. I'll investigate.

    Why do you dislike deep formations?
    I don't dislike deep formations! I dislike the fact that, every time I start a new battle, I have to rearrange the units from their 2-or 3-line-deep formation to the one I have in my EDU (reminder: shock troops 3 lines, sword+shield 4 lines, spearmen 5 lines, pike units 8 lines).

  3. #3
    GrandViZ's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Berlin, Germany
    Posts
    2,026

    Default

    Quote Originally Posted by LordWedggie View Post
    Hi GrandWiz,

    I'm playing a DLV31+en01+(Zapppa's)Realcombat mod campaign. Do you think your real combat AI will work with the above configuration?

    Thanks
    Yes, you can use all files except the export_descr_unit.txt. They belong in the mod's data folder. Also check if the mod you have uses a custom modified projectile.txt that adds new projectile types. If it does, then skip the projectiles.txt as well.

    Quote Originally Posted by DrBeast View Post
    I don't dislike deep formations! I dislike the fact that, every time I start a new battle, I have to rearrange the units from their 2-or 3-line-deep formation to the one I have in my EDU (reminder: shock troops 3 lines, sword+shield 4 lines, spearmen 5 lines, pike units 8 lines).
    Ah, now I understand you. You mean the depth of a unit's formation.

    AFAIK in the formation.txt you can only differentiate between spear, heavy, light type infantry. Therefore spear / pike and shock / sword repectively (as long as they have the same unit count) would be equally deep in formation.

    I could make shock / sword 4 lines, and spear / pike 5 lines.

    EDIT: But actually this makes a lot of work, so I am not sure if I will do it at all.

    Just out of curiosity, why do you put pikemen in a 8 line deep formation?
    Last edited by GrandViZ; June 18, 2007 at 07:34 AM.
    Creator of the Ultimate AI
    Co-Author of Broken Crescent

    Under the Patronage of Trajan

  4. #4
    DrBeast's Avatar Biarchus
    Join Date
    Nov 2006
    Location
    Somewhere Out In Space
    Posts
    684

    Default Re: Ultimate Battle AI 1.0

    Quote Originally Posted by GrandViZ View Post
    Ah, now I understand you. You mean the depth of a unit's formation.

    AFAIK in the formation.txt you can only differentiate between spear, heavy, light type infantry. Therefore spear / pike and shock / sword respectively (as long as they have the same unit count) would be equally deep in formation.

    I could make shock / sword 4 lines, and spear / pike 5 lines.

    EDIT: But actually this makes a lot of work, so I am not sure if I will do it at all.

    Just out of curiosity, why do you put pikemen in a 8 line deep formation?
    Sorry about the confusion...I'm still catching on on M2TW terminology
    No worries, if I know what to look for, I can tackle it myself. I like putting my files compare tool to good use!
    I use an 8-lines-deep formation to better withstand the devastating charge of horsemen. When the brunt of the charge is over, I disable guard mode and counter-attack. Seems to be working fine. Also, could be a left-over from Darth's formations I just stuck with, I don't remember if I changed the value or not. Too many EDUs, so many changes! Might play around with the depth a bit to find the optimal.

  5. #5
    Woad-Warrier's Avatar Vicarius
    Join Date
    Aug 2005
    Location
    England, UK.
    Posts
    2,693

    Default Re: Ultimate Battle AI 1.0

    Can this be used with Real Combat?

  6. #6
    GrandViZ's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Berlin, Germany
    Posts
    2,026

    Default Re: Ultimate Battle AI 1.0

    Quote Originally Posted by Woad-Warrier View Post
    Can this be used with Real Combat?
    Yes, definitely. If you have read the description, you would know that I recommend to use RC. I use a slightly modified RC EDU.txt in UAI as well, and keep it up-to-date with every new release.
    Creator of the Ultimate AI
    Co-Author of Broken Crescent

    Under the Patronage of Trajan

  7. #7

    Default Re: Ultimate Battle AI 1.0

    They combine very well.

  8. #8

    Default Re: Ultimate Battle AI 1.2 *UPDATE*

    Hi GrandViZ, I enjoyed your Battle AI a lot, thanks for the great mod!

    I try to play the Stainless Steel 6.4 now, but have some problems with BAI. Have you tried to integrate your BAI into SS 6.4?

  9. #9
    GrandViZ's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Berlin, Germany
    Posts
    2,026

    Default Re: Ultimate Battle AI 1.0

    This is more a matter of the formation file, where you set a min and max unit width in meter. The problem is not to change the thresholds, but the assignment of units to the deployment positions.

    E.g. if on a deployment position no pikemen are available then in certain cases a heavy infantry unit will be deployed instead. But both will use the same width setting. It would require to completely rewrite all formations, which I won't do.

    EDIT: But, I'll try to stick to Hvy Inf 4 lines and Spear Inf 5 lines in every new formation I make.
    Last edited by GrandViZ; June 18, 2007 at 08:00 AM.
    Creator of the Ultimate AI
    Co-Author of Broken Crescent

    Under the Patronage of Trajan

  10. #10
    DrBeast's Avatar Biarchus
    Join Date
    Nov 2006
    Location
    Somewhere Out In Space
    Posts
    684

    Default Re: Ultimate Battle AI 1.0

    Hm...so there is no way to have the units start out (during deployment phase) in the line depth denoted in the EDU? I remember that's what happened with Darth's formation file. Oh bugger, I'm still clueless...I'll stick to my tests and typo squashing!

  11. #11
    GrandViZ's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Berlin, Germany
    Posts
    2,026

    Default Re: Ultimate Battle AI 1.0

    Quote Originally Posted by DrBeast View Post
    Hm...so there is no way to have the units start out (during deployment phase) in the line depth denoted in the EDU? I remember that's what happened with Darth's formation file. Oh bugger, I'm still clueless...I'll stick to my tests and typo squashing!
    There is, but you have to specify a wider max width. I used 20 for infantry, regardless of their type. Using 30 might do it.

    EDIT: This is the easiest solution to your problem, I can think of. If it works, I'll apply it for the next version of course. Maybe my first evaluation was a little too fast. I thought the effort was bigger.
    Last edited by GrandViZ; June 18, 2007 at 11:08 AM.
    Creator of the Ultimate AI
    Co-Author of Broken Crescent

    Under the Patronage of Trajan

  12. #12
    DrBeast's Avatar Biarchus
    Join Date
    Nov 2006
    Location
    Somewhere Out In Space
    Posts
    684

    Default Re: Ultimate Battle AI 1.0

    No pain, no gain as they say. I'll make the changes to the file while I'm at work (if I have time) and test at home.

    ETA: Did some tests with pike unit formation depth. Turns out they're more effective when arrayed in a 4-line-deep formation than in an 8-line-deep. My concern was their spread-out front wouldn't withstand a charge, but it turns out they can take it...plus they're less prone to being hit on their exposed flanks, something that often happens when they're in an 8-line-deep formation.
    Last edited by DrBeast; June 19, 2007 at 03:49 AM.

  13. #13
    GrandViZ's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Berlin, Germany
    Posts
    2,026

    Default Re: Ultimate Battle AI 1.0

    I never liked the idea of 8 line deep pikemen!
    Creator of the Ultimate AI
    Co-Author of Broken Crescent

    Under the Patronage of Trajan

  14. #14
    DrBeast's Avatar Biarchus
    Join Date
    Nov 2006
    Location
    Somewhere Out In Space
    Posts
    684

    Default Re: Ultimate Battle AI 1.0

    Ok...just to be certain...I'm looking for max_unit_width, right?

  15. #15
    GrandViZ's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Berlin, Germany
    Posts
    2,026

    Default Re: Ultimate Battle AI 1.0

    Quote Originally Posted by DrBeast View Post
    Ok...just to be certain...I'm looking for max_unit_width, right?
    Yes, you are!
    Creator of the Ultimate AI
    Co-Author of Broken Crescent

    Under the Patronage of Trajan

  16. #16
    DrBeast's Avatar Biarchus
    Join Date
    Nov 2006
    Location
    Somewhere Out In Space
    Posts
    684

    Default Re: Ultimate Battle AI 1.0

    'k, cheers! I owe you a couple of beers too, if you ever come to Greece! No wait, what am I talking about? You live in Beer Country! I'll buy you some ouzo...or its turkish equivalent. Taste like the same vile stuff to me!

  17. #17
    GrandViZ's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Berlin, Germany
    Posts
    2,026

    Default Re: Ultimate Battle AI 1.0

    Quote Originally Posted by DrBeast View Post
    'k, cheers! I owe you a couple of beers too, if you ever come to Greece! No wait, what am I talking about? You live in Beer Country! I'll buy you some ouzo...or its turkish equivalent. Taste like the same vile stuff to me!
    To be honest, I have drank Ouzo, Raki, and all kinds of beer, but somehow I prefer wine! So, some greek wine will be fine!
    Last edited by GrandViZ; June 19, 2007 at 06:59 AM.
    Creator of the Ultimate AI
    Co-Author of Broken Crescent

    Under the Patronage of Trajan

  18. #18

    Default Re: Ultimate Battle AI 1.0

    More tests at the hungarian border.

    As the enemies army consists mostly of croat axemen and a unit of hungarian nobles i use my generalīs bodyguard to shoo them away from their infantry, so i can freely charge them with my imperial knights, after showering them with a few salvos from my peasant archers.

    Normally this worked quite well, as the generalīs bodyguard takes only few casaulties and might be able to corner the horse archers at the battlefields edge. (I know thatīs an exploit, but i wanted to try it with UBAI-1.0) But lo and behold, although i come into contact with them, instead of participating in the melee, as they usually did, as soon as you come into contact with two or three horse archers, they keep running(galloping).
    And, instead of being content with the regular *pling*plong* their arrows make when they bounce of the bodyguardīs armour, while they are chased over the whole battlefield they do their best to get back to their comrades, slip away from my general and even manage to kill a few imperial knights, who were just lining up for their charge with well aimed shots at their back. I was flabbergasted.

    I know you changed something with the skirmishing-behaviour, but did you also change the target priority of archers/horse acrhers? I did not witness horse archers doing their best to return to the rest of their army, where their arrows actually could have an impact so far.


    As a side note:
    The answer is simple. Retsina. Sapped white wine.
    Half of the first glass you drink will taste strange. But after the rest of the glass a special, slightly bitter taste takes residence in your throat. And you want more of it.

    I recommend the Retsina of the Nomoi Thesprotia or Ioannina. (Yes, there are actually vineyards, there are simply difficult to find.)

  19. #19
    GrandViZ's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Berlin, Germany
    Posts
    2,026

    Default

    Quote Originally Posted by DrBeast View Post
    Uh...are you SURE you prefer whine and not wine?
    Retsina...hmm...Georgiadi...hmm! Ok, enough, we all have work to do! As you were (and stop tempting me!)
    Did I say, that I'm tired?

    ETA: might as well attach the changed file for you to peruse.
    Thank you very much!

    Quote Originally Posted by Konstantin Alexander View Post
    I know you changed something with the skirmishing-behaviour, but did you also change the target priority of archers/horse acrhers? I did not witness horse archers doing their best to return to the rest of their army, where their arrows actually could have an impact so far.
    These are the two most important changes, that were made to missile units.

    - Increased the enemy-near tolerance, so they'll skirmish later than in vanilla.
    - Increased their enemy-buffer distance, so they'll try tp keep a greater distance (note this does not apply to missile units that are used like melee units by the AI).

    I recommend the Retsina of the Nomoi Thesprotia or Ioannina. (Yes, there are actually vineyards, there are simply difficult to find.)
    I'll keep my eyes open, the next time I go to the well sorted wine store near my place.
    Creator of the Ultimate AI
    Co-Author of Broken Crescent

    Under the Patronage of Trajan

  20. #20
    DrBeast's Avatar Biarchus
    Join Date
    Nov 2006
    Location
    Somewhere Out In Space
    Posts
    684

    Default Re: Ultimate Battle AI 1.0

    Quote Originally Posted by GrandViZ View Post
    To be honest, I have drank Ouzo, Raki, and all kinds of beer, but somehow I prefer whine! So, some greek whine will be fine!
    Uh...are you SURE you prefer whine and not wine?
    Retsina...hmm...Georgiadi...hmm! Ok, enough, we all have work to do! As you were (and stop tempting me!)

    Ehrm...back on track: I've changed the max_unit_width values for all the formations that contain spearmen, but I've left cavalry and missile- and skirmish-infantry-only as they were. Reports will be in tomorrow, hopefully.

    ETA: might as well attach the changed file for you to peruse.

Page 2 of 8 FirstFirst 12345678 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •