.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Bronze - Save $7.00
Raging Tiger - Save $7.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > Campaigns, Scenarios & Maps
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old October 4th, 2016, 02:18 PM
RecruitMonty's Avatar

RecruitMonty RecruitMonty is offline
Captain
 
Join Date: Jul 2005
Location: Mainly Germany (München)
Posts: 808
Thanks: 166
Thanked 86 Times in 55 Posts
RecruitMonty is on a distinguished road
Default Preventing AI Suicide?

Dear All,

I am working on a scenario where it is fairly important that the AI remains entrenched even after some of the objectives have been overrun. It lasts 30 turns. It is a player 2 assaults player 1 scenario. The AI is in defence.

How can I prevent suicidal counter-attacks by the AI after the turn 20 mark?

Does it have something to do with "Reaction"?

Any help would be much appreciated.
__________________
"Wir Deutschen sollten die Wahrheit auch dann ertragen lernen, wenn sie für uns günstig ist."

Last edited by RecruitMonty; October 4th, 2016 at 07:40 PM..
Reply With Quote
  #2  
Old October 4th, 2016, 10:04 PM
Suhiir's Avatar

Suhiir Suhiir is offline
Major General
 
Join Date: Apr 2007
Location: Salt Lake City, UT
Posts: 2,071
Thanks: 175
Thanked 430 Times in 333 Posts
Suhiir is on a distinguished road
Default Re: Preventing AI Suicide?

Best way I've found to keep the AI units in place is to set their move speed to zero.
__________________
Suhiir - Wargame Junkie

People should not be afraid of their governments. Governments should be afraid of their people.

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." - Albert Einstein
Reply With Quote
The Following User Says Thank You to Suhiir For This Useful Post:
  #3  
Old October 4th, 2016, 10:34 PM
shahadi's Avatar

shahadi shahadi is offline
First Lieutenant
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 658
Thanks: 325
Thanked 172 Times in 134 Posts
shahadi is on a distinguished road
Potion Re: Preventing AI Suicide?

Quote:
Originally Posted by RecruitMonty View Post
Dear All,

I am working on a scenario where it is fairly important that the AI remains entrenched even after some of the objectives have been overrun. It lasts 30 turns. It is a player 2 assaults player 1 scenario. The AI is in defence.

How can I prevent suicidal counter-attacks by the AI after the turn 20 mark?

Does it have something to do with "Reaction"?

Any help would be much appreciated.
Exactly. You can set reaction to a turn to enable the AI to counter attack with specific formations. Until the turn is reached the formation will remain in place.

If you want a formation to attack say on turn 22, then set reaction to 22.

In addition, if you do not want certain formations to leave their fighting positions set reaction to 98.

Reaction by default is set to 99. At 99,the AI decides when and where to attack.

Wild Bill Wilder has a scenario, I believe it is titled: "Finding Way Home." It has various reaction values that maybe beneficial to check out his implementation.

=====
Reply With Quote
The Following 4 Users Say Thank You to shahadi For This Useful Post:
  #4  
Old October 5th, 2016, 08:22 AM
DRG's Avatar

DRG DRG is offline
National Security Advisor
 
Join Date: Mar 2005
Location: GWN
Posts: 8,597
Thanks: 1,253
Thanked 1,931 Times in 1,009 Posts
DRG is on a distinguished road
Default Re: Preventing AI Suicide?

from the game guide ( that thing people rarely read )

QUOTE

In scenarios, if the "reaction turn" is set to "turn 98" units will hold in place for the entire game and not counter attack to re-take V-Hexes. This includes both advance and assault and delay and defend scenarios"
Reply With Quote
The Following 6 Users Say Thank You to DRG For This Useful Post:
  #5  
Old October 9th, 2016, 02:55 PM

jp10 jp10 is offline
Corporal
 
Join Date: Jul 2016
Location: Nashville, TN, USA
Posts: 105
Thanks: 16
Thanked 41 Times in 31 Posts
jp10 is on a distinguished road
Default Re: Preventing AI Suicide?

"...not counter attack to re-take V-Hexes."

But will they still not move and react to opposing units coming close? I thought they would become locally mobile due to being attacked, they just will not target V-hexes.
Reply With Quote
  #6  
Old October 9th, 2016, 03:05 PM
shahadi's Avatar

shahadi shahadi is offline
First Lieutenant
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 658
Thanks: 325
Thanked 172 Times in 134 Posts
shahadi is on a distinguished road
Potion Re: Preventing AI Suicide?

Quote:
Originally Posted by jp10 View Post
"...not counter attack to re-take V-Hexes."

But will they still not move and react to opposing units coming close? I thought they would become locally mobile due to being attacked, they just will not target V-hexes.
Reaction turn 98 means they will not move. They may fire on units, but they will "hold ground and fight in place."


=====
Reply With Quote
  #7  
Old November 15th, 2016, 07:24 AM

kingbowl kingbowl is offline
Private
 
Join Date: Aug 2014
Posts: 16
Thanks: 16
Thanked 3 Times in 3 Posts
kingbowl is on a distinguished road
Default Re: Preventing AI Suicide?

i am playing a random campaign is it possible in a campaign to it is a problem with defence missions
Reply With Quote
  #8  
Old November 15th, 2016, 08:43 AM
DRG's Avatar

DRG DRG is offline
National Security Advisor
 
Join Date: Mar 2005
Location: GWN
Posts: 8,597
Thanks: 1,253
Thanked 1,931 Times in 1,009 Posts
DRG is on a distinguished road
Default Re: Preventing AI Suicide?

No. That's a feature used to tweak the AI's response in a scenario. You can't do that in a generated campaign but it could be done in a scripted campaign
Reply With Quote
  #9  
Old November 16th, 2016, 01:07 AM

IronDuke99 IronDuke99 is offline
Second Lieutenant
 
Join Date: Jan 2015
Posts: 428
Thanks: 704
Thanked 98 Times in 78 Posts
IronDuke99 is on a distinguished road
Default Re: Preventing AI Suicide?

I have always found the AI is not too bad in dug in defence (other than random initial positioning that tends to be more or less pretty awful).

The AI is less good at delay scenarios and bloody awful at advances and attacks where it always does a Banzai charge and generally attacks with any armour long before any leg infantry can catch up.

I mostly do WWII British and Commonwealth v Germany, Japan and Italy or, occasionally, Germany v USSR in pretty big Brigade sized actions.

While in MBT I tend to mainly do Company - Battalion sized stuff.

Don't know if it just my wishful thinking but WWII German forces do seem a bit more likely to counter attack from defence (accurate enough).

I also find the AI is okay in, in defence, in MBT when the enemy is assorted terrorist-gurilla forces, less so if it is a well organised and properly trained force.

If I could change two things in this game it would be to improve random AI troop positioning in defence and stop attacking AI armour bombing along at max speed all or most of the time (in fact I actually think it would probably be better if all AI vehilcles were restricted to half speed or less).
Reply With Quote
  #10  
Old November 16th, 2016, 03:08 AM
scorpio_rocks's Avatar

scorpio_rocks scorpio_rocks is offline
First Lieutenant
 
Join Date: Aug 2013
Location: Yorkshire, UK
Posts: 703
Thanks: 137
Thanked 225 Times in 181 Posts
scorpio_rocks is on a distinguished road
Default Re: Preventing AI Suicide?

Quote:
Originally Posted by IronDuke99 View Post
(in fact I actually think it would probably be better if all AI vehilcles were restricted to half speed or less).
That may be the brilliantly simple way of preventing the AI from separating infantry and vehicles! It may also not be too impossible to code?
__________________

"Gentlemen, when the enemy is committed to a mistake - we must not interrupt him too soon."
Horatio Nelson.
Updated 2017 SPMBT Roundel Objectives Mod
Updated SPMBT Small ID Flags Mod
Reply With Quote
The Following User Says Thank You to scorpio_rocks For This Useful Post:
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:43 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2017, Shrapnel Games, Inc. - All Rights Reserved.