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

This Month's Specials

Bronze- Save $8.00
War Plan Pacific- Save $7.00

   







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


Reply
 
Thread Tools Display Modes
  #1  
Old February 26th, 2012, 11:34 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: 580
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Question How to design unit dismount in AI

How may I instruct the AI to dismount or mount a unit from a vehicle? Let's say, we have a scout team riding in a vehicle, at a waypoint, I want the scouts to dismount, or have the team mount up?
Reply With Quote
  #2  
Old February 26th, 2012, 11:37 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,818
Thanks: 236
Thanked 1,738 Times in 1,146 Posts
Mobhack is on a distinguished road
Default Re: How to design unit dismount in AI

The AI decides when it mounts and dismounts, not you. Waypoints do not have orders.

Andy
Reply With Quote
  #3  
Old February 27th, 2012, 05:19 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: How to design unit dismount in AI

Apart from the AI dismounting under fire it does seem to dismount once it starts to get in small arms fire range of victory hexes. Sometimes quite sensibly such as if its path takes it to a row of woods hexes 8 or so hexes distant from the victory hex it could well unload behind them before moving through the tree line.
However setting this up is as much luck as anything & you cant quarantee it as there is I think a degree of randomness to the AI so it will not always do the same thing.
__________________
John
Reply With Quote
The Following User Says Thank You to Imp For This Useful Post:
  #4  
Old February 29th, 2012, 04:03 PM
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: 580
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Default Re: How to design unit dismount in AI

Quote:
Originally Posted by Imp View Post
Apart from the AI dismounting under fire it does seem to dismount once it starts to get in small arms fire range of victory hexes. Sometimes quite sensibly such as if its path takes it to a row of woods hexes 8 or so hexes distant from the victory hex it could well unload behind them before moving through the tree line.
However setting this up is as much luck as anything & you cant quarantee it as there is I think a degree of randomness to the AI so it will not always do the same thing.
I'll play around with a few test scenarios. First off, I think I'll play with waypoints for a mounted vehicle, then try to waypoint the unit riding. Got me to thinking, thanks!
Reply With Quote
  #5  
Old February 29th, 2012, 10:16 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: How to design unit dismount in AI

It can be worth spliting the passengers from the vehicles, i.e. buy a Mech Company & delete the infantry, then buy the infantry as a seperate company. That way you can give the infantry if dismounted seperate waypoints to the vehicles.
This way you can send the infantry out on foot & control the vehicles seperatly though do note its very hard to get vehicles to follow infantry on foot if they get close enough they do tend to pick up passengers.
If you dont want this the simpliest work around is to adjust the carry capacity or load cost so it cant pick them up.
__________________
John
Reply With Quote
  #6  
Old March 1st, 2012, 01:44 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: 580
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Default Re: How to design unit dismount in AI

Quote:
Originally Posted by Imp View Post
It can be worth spliting the passengers from the vehicles, i.e. buy a Mech Company & delete the infantry, then buy the infantry as a seperate company. That way you can give the infantry if dismounted seperate waypoints to the vehicles.
This way you can send the infantry out on foot & control the vehicles seperatly though do note its very hard to get vehicles to follow infantry on foot if they get close enough they do tend to pick up passengers.
If you dont want this the simpliest work around is to adjust the carry capacity or load cost so it cant pick them up.
Yes, I was thinking of a similar scenario. Thanks again for the tips as you can't find these in a book.
Reply With Quote
Reply

Bookmarks

Tags
dismount, waypoints

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 03:53 AM.


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