OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: NightJay0044 on 25 Nov 2010, 17:09:26

Title: Convoy Formation Help
Post by: NightJay0044 on 25 Nov 2010, 17:09:26
Hi everyone, I'm creating an apache mission. Their objective is to destroy a large enemy convoy, about 10 vehicles.

What I want to happen is these vehicles to stay on the road in a line formation, a certain distance apart and not spread all over the place like they usually do. Then when the convoy is activated they move to their location in line formation, one behind the other.

I always try this, but they always start deviating from the convoy all the time when I create them, how do I make them stay still and in formation?

Thanks..
Title: Re: Convoy Formation Help
Post by: Wolfrug on 25 Nov 2010, 17:22:33
Convoys are hell. This is a simple fact. :( So don't expect perfect results, or even somewhat-okay results. You'll be disappointed.

However, what I usually do to make it work as smoothly as possible is to make sure the truck drivers are all placed in order of rank. So the one leading the convoy might be a Colonel, the one following a Major etc. all the way down to private. That way, they all follow one another logically.

Also, I'm sure you meant COLUMN formation, not LINE formation - column is when they're all one after the other (in a column), line is when they're all next to each other (in a line). :) Safe Mode is also best, that way they'll stick to the road. I must say though, that hoping to get 10 vehicles to move down a road in a nice tidy convoy is pretty much doomed to failure unless you get phenomenally lucky. Maybe making them into two groups or something might make it easier?

Good luck, anyway!

Wolfrug out.
Title: Re: Convoy Formation Help
Post by: NightJay0044 on 25 Nov 2010, 17:41:52
******UPDATED*********
SCRIPT FOUND: Armaholic
***********************
Convoy Manager
Link/Source: http://www.armaholic.com/page.php?id=8389&highlight=CONVOY+SCRIPT (http://www.armaholic.com/page.php?id=8389&highlight=CONVOY+SCRIPT)
Makes all convoy vehicles be together


Yeah that could work, I could have groups of 4 vehicles and then 2 or something. Then I was thinking what if we use the dofollow command and the distance command to get the vehicles to do that?...

Yes convoys are a pain to deal with. And I will probably only get okay results, 4 are easy to handle more then that is difficult.
Title: Re: Convoy Formation Help
Post by: Mamba6 on 13 Dec 2010, 05:09:09
FYI...

That's actually an addon. After parusing the readme, you can probably extract the FSM from the addon, and utilize just the FSM in your mission if you have already preplaced the convoy and waypoints...