Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Vehicle column won't follow the road  (Read 332 times)

0 Members and 1 Guest are viewing this topic.

jijrod

  • member
  • Offline Offline
  • Posts: 39
Vehicle column won't follow the road
« on: August 06, 2018, 07:36:50 AM »

I have successfully made a column consisting of (6) trucks. The move along o.k. but follow the target vector instead of following the road like they do in 1946. I have employed a command formation with the vehicle/column option to no avail. What am I missing?

Thx
Hank
Logged

SAS~Bombsaway

  • Choose your battles wisely.
  • SAS Team
  • member
  • Offline Offline
  • Posts: 8804
  • A day without laughter is a day wasted
Re: Vehicle column won't follow the road
« Reply #1 on: August 06, 2018, 07:52:55 AM »

Seems we are working on the same thing. I have set waypoints, timers , commands and linked all together but only the lead tank moves.
I get it to follow the road by setting waypoints not too far from each other along the road.
Logged
Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.

jijrod

  • member
  • Offline Offline
  • Posts: 39
Re: Vehicle column won't follow the road
« Reply #2 on: August 06, 2018, 08:04:37 AM »

Oyitch! I was afraid of that....a lot of waypoints....thank you very much sir.

Thx
Hank
Logged

SAS~Bombsaway

  • Choose your battles wisely.
  • SAS Team
  • member
  • Offline Offline
  • Posts: 8804
  • A day without laughter is a day wasted
Re: Vehicle column won't follow the road
« Reply #3 on: August 06, 2018, 08:18:19 AM »

You're welcome. :)
Logged
Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 17334
  • Ask me if I care.
    • Friendly Fire isn't.
Re: Vehicle column won't follow the road
« Reply #4 on: August 06, 2018, 09:45:10 AM »

Can't confirm.
Tank/truck/car columns use the quickest way to destination.
If that's a road, they choose it, even if the target vector is 30° off the current road direction and even if the target is 30km away or so.
However, if there's something interrupting the road connection (destroyed bridge, missing road segment, whatever...), then AI can't find that "road" route anymore and will go directly to the target.
Therefore, make sure there's an uninterrupted road from your current vehicle location to the destination waypoint.

Furthermore, read, repeat, read, repeat:
You cannot spawn formations. Repeat: You cannot spawn formations.
Got it?
Listen and repeat:
An object must be moving before you can trigger a formation command. Repeat: An object must be moving before you can trigger a formation command.

Last but not least, make sure the formation order of all your trucks is correct.
Each truck has an index in the formation. The 1st must be index 0, followed by index 1 and so on.
If the trucks are lined up 0-2-1-3-4-5-6-7-8 they won't move. Period.

This is how you do it:
Put a first waypoint in the direction of the road, some 100 meters in front of your trucks.
Put an object link from that waypoint to all your trucks.
Trigger the waypoint from an MCU (e.g. a timer), and put another target link from the same MCU to another timer set to trigger after 1sec.
From that 2nd timer, target link to a Formation Command.
That Formation command is object linked to the Formation Leader - and only to that. Not to the other trucks.
Finally, from the 1st Waypoint place a target link to the next waypoint and so on.

That's it.
If it doesn't work for you, please upload your mission so we can have a look at it and send a fixed version back to you for comparison.

]cheers[
Mike
Logged
Learn. Challenge. Improve. In loving memory of the times when I cared...

jijrod

  • member
  • Offline Offline
  • Posts: 39
Re: Vehicle column won't follow the road
« Reply #5 on: August 06, 2018, 10:20:56 AM »

Thanks for the info.. much appreciated.

Thx
Hank
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 25 queries.