.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   WinSPMBT (http://forum.shrapnelgames.com/forumdisplay.php?f=78)
-   -   Question: Directing enemy units in solo games (http://forum.shrapnelgames.com/showthread.php?t=51771)

SteveJ November 26th, 2017 09:19 AM

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)?

DRG November 26th, 2017 09:47 AM

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

Mobhack November 26th, 2017 11:14 AM

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.

Imp November 27th, 2017 04:11 PM

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.

DRG November 27th, 2017 04:48 PM

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...


All times are GMT -4. The time now is 07:07 PM.

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