.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
  #1  
Old January 28th, 2017, 07:35 PM
SaS TrooP's Avatar

SaS TrooP SaS TrooP is offline
Second Lieutenant
 
Join Date: Nov 2010
Location: Cracow, Poland
Posts: 415
Thanks: 24
Thanked 293 Times in 117 Posts
SaS TrooP is on a distinguished road
Default Gotta AI problem here and I could use some help

This is mainly directed to fellow scenario makers.

New scenario from WW3 series is pretty much done for a while now, including 200x160 brand new map based on some satellite work. Long story short: I put quite a work to it.

But it seems I f*cked up a little bit.

First time for a while I decided to make a scenario where AI attacks from top to bottom instead of left/right.

First of all, AI ends turn with all vehicles facing right what allows player to score a lot of side shots, making this battle more pathetic rather than hardcore fun what I intended.

And secondly, AI seems to be following VERY strange paths or just driving around without any actual control over their own actions.

Can anyone help me to fix it? I would have it released and proceed to the next one, but testing is stuck for like 2 weeks now.
Reply With Quote
  #2  
Old January 28th, 2017, 07:56 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: Gotta AI problem here and I could use some help

Don't think it will help but have you set the rally point to the top edge of the map for the AI side & the bottom for the player side.
__________________
John
Reply With Quote
  #3  
Old January 28th, 2017, 08:01 PM
Mobhack's Avatar

Mobhack Mobhack is offline
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: Gotta AI problem here and I could use some help

SP has a natural order - left hand side plays Right hand side

- Retreaters will eventually head for their map side,, where they can exit.

- Off map artillery arrives from the player's map side, never top or bottom
Reply With Quote
  #4  
Old January 28th, 2017, 08:05 PM
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: Gotta AI problem here and I could use some help

Try Johns suggestion and try using waypoints for the AI...Pyros wrote a "more detail than you thought possible" explanation of their use and limitations and it's in the Game Guild.

While I appreciate innovation and I wouldn't want to lose a prime map either.... North / South attacks are not highly recommended for all the reasons you have discovered. The game is designed to be played L-R and everything is geared towards that.

Not the answer you really wanted but......that's it
Reply With Quote
The Following User Says Thank You to DRG For This Useful Post:
  #5  
Old January 30th, 2017, 07:14 PM
SaS TrooP's Avatar

SaS TrooP SaS TrooP is offline
Second Lieutenant
 
Join Date: Nov 2010
Location: Cracow, Poland
Posts: 415
Thanks: 24
Thanked 293 Times in 117 Posts
SaS TrooP is on a distinguished road
Default Re: Gotta AI problem here and I could use some help

If I understand waypoints well, I should create waypoints every couple of hexes for AI to work correctly? Or is it enough to place couple of those, marking general direction?
I rarely use waypoints, particularly scenarios this size. I could use some help with it.

OR, but I guess that's pure fantasy, any chance I (or someone else) can "turn" the map?
Reply With Quote
  #6  
Old January 30th, 2017, 08:48 PM
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: Gotta AI problem here and I could use some help

The short answer is yes but you really need to read Pyros write up..load the guide and search for "waypoints". It is VERY detailed but it's broken down into

The basic (very simple) "three five" waypoint method,
The advanced "three five" waypoint method and
The "Pyros" detailed formula


There is a bit more to it than just clicking a waypoint then moving on to the next

... I've re-written it a bit
Quote:
on clear terrain assign waypoint marks using this pattern:

Every five hexes distance you should click three times the waypoint tool on the same hex
No, you cannot turn the map
Reply With Quote
  #7  
Old January 30th, 2017, 10:41 PM
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: Gotta AI problem here and I could use some help

I've done a lot of work with waypoints and can usually get formations to do what I want using Pyros methods, aside from the ongoing issues with vehicle vs infantry (or passengers) speeds. I usually use the editor to reduce vehicle speeds so the infantry can keep up. But this still doesn't solve the AI constantly unloading and reloading passengers issue.
__________________
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
  #8  
Old January 31st, 2017, 09:22 AM
shahadi's Avatar

shahadi shahadi is offline
Captain
 
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: 878
Thanks: 584
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Post Re: Gotta AI problem here and I could use some help

The waypoints and AI suggestions from previous posts are worth exploring. There are a number of scenarios, some by Camo Workshop that are North/South or top/bottom orientation.

Check out #32 Counterattack at Khafji 2/91.

You may want to check your battle type. Also, check your VF and make sure all of them are on the map.

So, my suggestion would be to go back over the fundamentals and review a number of scenarios with North/South orientation.

=====
Reply With Quote
  #9  
Old January 31st, 2017, 10:52 AM
Mobhack's Avatar

Mobhack Mobhack is offline
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: Gotta AI problem here and I could use some help

There may well be some Top/Bottom (North and "Top of Map" are not synonymous!) scenarios out there, nevertheless its not recommended practice.
Reply With Quote
  #10  
Old January 31st, 2017, 06:17 PM

Grant1pa Grant1pa is offline
Corporal
 
Join Date: Jun 2012
Location: Pennsylvania, USA
Posts: 111
Thanks: 135
Thanked 124 Times in 41 Posts
Grant1pa is on a distinguished road
Default Re: Gotta AI problem here and I could use some help

I'll add some comments here.

I've never designed a scenario for exclusively top/bottom movement. I've done a few with flanking attacks from the top/bottom, and in those, I've used waypoint movement with fairly reasonable results.

Now some explanation of that. I use waypoints for the attacking force (computer controlled) or meeting force (computer), but not for the human player. I generally use Pyros method of waypoints, 3/5, 5/3 or what ever it is (five hexes/ 3 waypoints at end). With the CD version of the game, I've not had a problem.

Now, I'll mix units with way points sometimes with units coming in later waves simply controlled by the remaining objective points. Seems to work with me and doesn't annoy me as much, simply because some of the objectives may already have been taken. For those coming in later turns, I position them with the object of moving left/right.

As others have said, waypoints won't help you with how either side retreats. I imagine rally points may address some of that, but I still think the program will default (not my area).

I don't recall having an orientation problem with using waypoints in flanking engagements. I'll have to go back and check that with some of the scenarios I used that in. I think the program may still orient the vehicle towards the next waypoint, but again, I'll let someone with more program knowledge answer that.

One recommendation I will make is to do your maps and save them in the map file as a base. When you do your scenario design, you can select the base map, and further define it as you want. I know what it is like to spend hours on a map, then go right into a scenario without saving it. You might be able to re-open the scenario, deselect your forces, and try over, but that S*$ks. Been there, done that.

This is one of the reasons I love the Venhola program. You can get the terrain you want, then rotate the map so that you do a left/right scenario, regardless of the true compass direction. I recommend that program highly.

Best to you in working this out.

Tom
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 10:37 AM.


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