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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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


Reply
 
Thread Tools Display Modes
  #41  
Old April 18th, 2009, 12:40 PM
Imp's Avatar

Imp Imp is offline
General
 
Join Date: Jul 2008
Location: Uk
Posts: 3,308
Thanks: 98
Thanked 602 Times in 476 Posts
Imp is on a distinguished road
Default Re: Help on controlling the AI please

Don
I am guessing the problems I am having coming to grips with waypoints pale into insignifigance with some things you run into in the code
Reply With Quote
  #42  
Old April 19th, 2009, 11:29 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,493
Thanks: 3,965
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Help on controlling the AI please

The adage that no plan survives contact with the enemy can apply to waypoints as well. Once the troops under waypoint control have to react to the enemy there's a very good chance you'll loose whatever you've set up for them and they will revert to normal AI control. It really depends on what and how they have to react to whatever the enemy throws at them

Don
Reply With Quote
  #43  
Old April 19th, 2009, 11:58 AM
Imp's Avatar

Imp Imp is offline
General
 
Join Date: Jul 2008
Location: Uk
Posts: 3,308
Thanks: 98
Thanked 602 Times in 476 Posts
Imp is on a distinguished road
Default Re: Help on controlling the AI please

Yes I am coming to the conclusion the best way to handle it is fiddle with reaction times & do some by waypoints but if set up correctly normal control should work fine.
Waypoints are better used for those units you do not want to go left right or head off down that road.
A bit of thought on map design as in placement of roads & flags can achieve some pretty good results. Place waypoints for the units you want to act contrary to normal behaviour.
Actualy watching the AI at work I have to say sometimes it does a surprisingly good job. Tank platoon & 2 mech platoons moving to flag group with a possibility of fire from round the corner of a hill. It deployed 1 platoon in sensible positions to procede on foot
the other headed for the trees by the hill if it had got tanks right pretty much whay I would have done & the tanks were not that far off
Reply With Quote
  #44  
Old April 20th, 2009, 03:37 PM
Double_Deuce's Avatar

Double_Deuce Double_Deuce is offline
Major
 
Join Date: Jun 2005
Location: Crossville, TN
Posts: 1,189
Thanks: 21
Thanked 39 Times in 25 Posts
Double_Deuce is on a distinguished road
Default Re: Help on controlling the AI please

The AI actually does pretty good job so what I normally do is try to use waypoints to get the units headed for the positions I want them in when they start to make contact with the enemy. Then once the contact is made the AI takes over. It says design time and I try to remind myself, "no plan survives contact with the enemy".
__________________
Wargaming Blog: Combat Campaigns
Reply With Quote
  #45  
Old April 20th, 2009, 04:08 PM
Imp's Avatar

Imp Imp is offline
General
 
Join Date: Jul 2008
Location: Uk
Posts: 3,308
Thanks: 98
Thanked 602 Times in 476 Posts
Imp is on a distinguished road
Default Re: Help on controlling the AI please

Quote:
Originally Posted by Double_Deuce View Post
The AI actually does pretty good job so what I normally do is try to use waypoints to get the units headed for the positions I want them in when they start to make contact with the enemy. Then once the contact is made the AI takes over. It says design time and I try to remind myself, "no plan survives contact with the enemy".
Agree its the conclusion I have sort of come to & if for some reason once contact is made they dont revert to normal AI control become Lemmings following each other.
Reply With Quote
  #46  
Old April 20th, 2009, 06:39 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
Mobhack is on a distinguished road
Default Re: Help on controlling the AI please

Quote:
Originally Posted by Imp View Post
Quote:
Originally Posted by Double_Deuce View Post
The AI actually does pretty good job so what I normally do is try to use waypoints to get the units headed for the positions I want them in when they start to make contact with the enemy. Then once the contact is made the AI takes over. It says design time and I try to remind myself, "no plan survives contact with the enemy".
Agree its the conclusion I have sort of come to & if for some reason once contact is made they dont revert to normal AI control become Lemmings following each other.
If any of the units in the formation are close enough to a trigger point (A close by enemy or a V-hex not in your control) then if it decides to act on it, the entire waypoint list is dumped as no longer required.

The waypoint list is also dumped as no longer required on turn 50 (IIRC) or some fraction of the total game turns.

If an element of the platoon is near enough to a waypoint then it gets deleted. Usually, the command element follows the path most conscientiously but it is the AI!.

The waypoint counts for the entire platoon. The platoon will head for it in typical AI crazy lemming fashion (any of you who routinely use the "All Formation" key to move troops a fair distance will know all about what happens then ). Each element of the platoon will decide its own way to the point. There is no concept of formation!.

Basically - the waypoint mechanism is used by the AI's own plotting internally. Someone at SSI exposed it to the end user on a "for what its worth" basis, most likely. It is useful for moving a blob of troops on a general heading is about all. It needs lots and lots of experience and trial and error to get it right.

Cheers
Andy
Reply With Quote
  #47  
Old April 22nd, 2009, 11:34 AM
Suhiir's Avatar

Suhiir Suhiir is offline
Lieutenant General
 
Join Date: Apr 2007
Location: Salt Lake City, UT
Posts: 2,829
Thanks: 542
Thanked 797 Times in 602 Posts
Suhiir is on a distinguished road
Default Re: Help on controlling the AI please

I find them most useful for getting the AI to take a "non-least terrain point cost" approach early in a scenario.
You can "force" the AI to make something resempleing a flanking movement and such.

Another use I've found for them is forcing the AI to make a more coordinated attack.
Many times AFV's and APC's/IFV's have different speeds, with a bit of testing and tweaking you can get a mixed combat group to attack in a FAR more coordinated manner then the AI normally would. This isn't a real issue on smaller maps of course, but I tend to prefer larger ones where you have some room to maneuver.
__________________
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
Reply

Bookmarks


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 06:01 AM.


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