AI re: bonus movement in combat

PSP/DS/PC/MAC : WWII turn based grand strategy game

Moderators: firepowerjohan, rkr1958, Happycat, Slitherine Core

Post Reply
scarfacetarraff
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 314
Joined: Fri Apr 08, 2005 11:02 pm
Location: USA

AI re: bonus movement in combat

Post by scarfacetarraff »

I don't believe I've ever seen the AI take the bonus movement after destroying or repulsing one of my armies. Is this by design, and if so, why?
"Hasta la victoria siempre!"
Legion (Mac/iPad), Spartan (Mac), GoT (Mac), Legion Arena (Mac), CEaW (Mac/DS), CNaW (Mac), HGE: Rome (DS), Egypt: EaE (iPad), FoG (Mac), Battle Academy (Mac/iPad), Unity of Command (Mac), CTGW (iPad)
firepowerjohan
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1878
Joined: Mon May 22, 2006 7:58 pm
Contact:

Re: AI re: bonus movement in combat

Post by firepowerjohan »

triari wrote:I don't believe I've ever seen the AI take the bonus movement after destroying or repulsing one of my armies. Is this by design, and if so, why?
It does advance if it can conquer something, City, Capital, Mine, ...
Yes, it is a design decision. An advance could in fact block the other units spot for follow up and it can also put a unit on front sticking out and being easier to counter or surround.
Johan Persson - Firepower Entertainment
Lead Developer of CEAW, CNAW and World Empires Live (http://www.worldempireslive.com)
sagji
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 567
Joined: Sun Nov 06, 2005 12:13 pm
Location: Manchester, UK

Post by sagji »

There are cases it doesn't properly consider.

1) rivers - I have seen the Germans unable to cross the river into Russia by Odessa solely because they never advanced after combat.

2) Armoured / Mot units that end not adjacent to any enemy - these will have to pay Oil to move and again to attack.

3) Atacking without moving gets a bonus.

Never advancing is as bad as allways advancing.
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

I don't agree. It is better for the AI to not make a clever move than to make a stupid move.
sagji
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 567
Joined: Sun Nov 06, 2005 12:13 pm
Location: Manchester, UK

Post by sagji »

iainmcneil wrote:I don't agree. It is better for the AI to not make a clever move than to make a stupid move.
The problem is when not making the clever move IS the stupid move.

I have seen the Germans held up on a river line for MONTHS because they would NEVER advance into the hex(es) they were clearing of Russians.

Even a simple 50% chance of advancing across a river, -10% per step below 10, would be better.
scarfacetarraff
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 314
Joined: Fri Apr 08, 2005 11:02 pm
Location: USA

Post by scarfacetarraff »

sagji wrote: The problem is when not making the clever move IS the stupid move.

I have seen the Germans held up on a river line for MONTHS because they would NEVER advance into the hex(es) they were clearing of Russians.

Even a simple 50% chance of advancing across a river, -10% per step below 10, would be better.
I have to agree w/ sagji here. There are a few instances were the AI would have given me a real fight if it had taken the bonus movement. Such as when I was closing in on Moscow, I moved adjacent to Moscow. On the AI's turn, it destroyed my army by Moscow, but did not take the bonus movement to buffer the capital. Therefore, on my next turn, I was able to move into the hex and attack Moscow. Because of other forces I had in the area, I was able to prevent the destruction of this army.

A value could be added that considers rivers, capitals, and terrain where the AI would benefit from the movement.
"Hasta la victoria siempre!"
Legion (Mac/iPad), Spartan (Mac), GoT (Mac), Legion Arena (Mac), CEaW (Mac/DS), CNaW (Mac), HGE: Rome (DS), Egypt: EaE (iPad), FoG (Mac), Battle Academy (Mac/iPad), Unity of Command (Mac), CTGW (iPad)
vypuero
Sergeant Major - SdKfz 234/2 8Rad
Sergeant Major - SdKfz 234/2 8Rad
Posts: 628
Joined: Thu Nov 30, 2006 8:40 pm
Location: Philadelphia, PA - USA

Post by vypuero »

The other thing they don't even do is advance to free encircled units, which could be re-supplied if they took the combat advance. I think adding a "should I advance or not?" AI subroutine would be a valuable addition to the AI.
Redpossum
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1814
Joined: Thu Jun 23, 2005 12:09 am
Location: Buenos Aires, Argentina
Contact:

Post by Redpossum »

I'm with Iain here.

Just as the first rule of a healer is "First, do no harm."

So should the first rule of an AI be, "First, do nothing stupid." Errors of commission are always more egregious than errors of omission.

Programming an AI to consider all the factors that go into the "Do I advance or not?" decision is not an easy task. Can you honestly say you have never hesitated before making that decision yourself? I certainly stop and think about it quite often. It's a complex decision, guys, and there often is no "right" or "wrong" answer, just a choice of how to play it.

Often when I refrain from advancing, it's so that I can move another unit to that just-vacated hex in order to attack.

I'm not denying that it's possible for the AI to do better. I'm saying that our clamoring for an improved AI needs to be tempered with large measures of patience, and understanding of just how difficult a task this is.
Post Reply

Return to “MILITARY HISTORY™ Commander - Europe at War : General Discussion”