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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old November 26th, 2017, 09:19 AM

SteveJ SteveJ is offline
Private
 
Join Date: Mar 2017
Posts: 1
Thanks: 2
Thanked 0 Times in 0 Posts
SteveJ is on a distinguished road
Default Directing enemy units in solo games

When setting up a game v the computer, how can i direct enemy units to move in a certain direction...i.e as part of the game plan i want their tanks to attack a certain position (as may have happened in an historical scenario)?
Reply With Quote
  #2  
Old November 26th, 2017, 09:47 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,504
Thanks: 3,972
Thanked 5,709 Times in 2,820 Posts
DRG will become famous soon enough
Exclamation Re: Directing enemy units in solo games

If you are referring to a generated game you can not..... if you are referring to a scenario you can use waypoints. There is an overview on their use in the GG and a detailed analysis on three increasingly complex ways to handle them at the end of the GG write up.....for most people the first way described is all they need but if math formulas aren't something that makes your head explode there are VERY detailed ways of controlling how the AI moves in a scenario.

In the game guide on the left side 1/3 of the way down in the link to the waypoints section. Start small first

Don
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
The Following User Says Thank You to DRG For This Useful Post:
  #3  
Old November 26th, 2017, 11:14 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,958
Thanks: 466
Thanked 1,900 Times in 1,238 Posts
Mobhack is on a distinguished road
Default Re: Directing enemy units in solo games

If setting up a one-off battle generator game - set the button for the enemy side to "Human" for deployment, and then set out the AI's troops as desired, including any waypoints desired.

The technique cannot of course be used in a campaign, other than a user campaign (where the AI force is a preset scenario for each battle in the campaign). Again, waypoints would be what is required here.
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post:
  #4  
Old November 27th, 2017, 04:11 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: Directing enemy units in solo games

To a leser degree put victory hexes where you want the AI to go, they do go for them but sometimes in an intresting fashion.
May head straight for but can also decide to get clever and circle round to side or even bypass & swing in from rear.
V hex placement helps a lot but no substitute for waypoints.
__________________
John
Reply With Quote
  #5  
Old November 27th, 2017, 04:48 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,504
Thanks: 3,972
Thanked 5,709 Times in 2,820 Posts
DRG will become famous soon enough
Default Re: Directing enemy units in solo games

You can "Help" direct the AI by giving it easier terrain to cross as well when you build the map for the scenario...
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
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 04:34 AM.


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