Home   Help Search Login Register  

Author Topic: How to build a descent convoy??  (Read 1873 times)

0 Members and 1 Guest are viewing this topic.

Offline Captain Crunch

  • Members
  • *
How to build a descent convoy??
« on: 23 Apr 2003, 17:35:25 »
Good day everyone!

   I'm just searching through the script snippets for an idea of how to make a convoy.

Explaination: I need five vehicles (of the same side) to follow a road in their respective order I gave them.

I tried with synchronized waypoints, ofcourse giving them the same speed, their path is also on an official street of Malsen Island, but they just drive around passing each other like this was a sunday cruise!!!

I need them to keep a fairly equal distance between each other, keep their assigned possitions and wait for each other if one feels like stoping to pick up daisies and what not!!! :P

And btw, forgive my poor knowledge of the language but, what does "respawn" means?

       many thanx

Back to the forest!

dertn

  • Guest
Re:How to build a descent convoy??
« Reply #1 on: 23 Apr 2003, 17:49:07 »
I'm not so sure on the convoy part ...

But anyways, respawn means  to wake to life again. Often used in multiplayer missions. When you die you'll respawn after a given period of time and at a specific spot...

Hope I'm not wrong though  ::)

Britboy

  • Guest
Re:How to build a descent convoy??
« Reply #2 on: 23 Apr 2003, 17:51:47 »
Group all your vehicles, with the first one given the highest rank and last one lowest.

In the init field 'this setformation column"

done and dusted.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to build a descent convoy??
« Reply #3 on: 23 Apr 2003, 17:59:18 »
lol ah yes, the old convoy question.   It's not easy.

If its five vehicles then the first question is, are they all wheeled or all tracked?   If its a mixed group your're in trouble.  

Assuming they are all wheeled, make them in the same group.   Give them as few waypoints as possible.    Make sure they are in formation "column" and behaviour "safe" usually helps.  The vehicles will go in group order, No1 first, 2 second and so on.    This is usually, though not always, the same as rank order.

If you need them to be in different groups before or after the convoy stage, or if they are carrying cargo, that's all fine - we can sort it out.   (The command join comes in very handy.)  But for the convoy phase, all in the same group is best.     Give it a try, and if it doesn' work, come back and ask.   You only need a script if you really really can't get them in the same group, or if you really really have to mix wheels and tracks.

Respawn is a multiplayer word.   In MP games, when you die you are usually brought back to life again.    Sometimes in the same place a few seconds later, sometimes in a different place, sometimes as a different member of the same group, sometimes as a seagull .... there are lots of ways.     The whole dying and being brought back to life thing is called respawning.

Q.    What happens in such and such a MP game when you die?
A.     You respawn as a seagull

Q.    In so and so game, do you respawn in the same place as you died?
A.    No, you respawn in your own base - East in Morton, West in Montignac.
Plenty of reviewed ArmA missions for you to play

Offline Captain Crunch

  • Members
  • *
Re:How to build a descent convoy??
« Reply #4 on: 23 Apr 2003, 18:53:58 »
Thanx for the help guys!

   For the convoy, it would be nice to make it work without a script but if needed, it's no problem. I only started scripting (easy scripting that is) about two weeks ago and I'm getting a bit more confortable with it as I am with my toaster. I almost make it every time not burning the bread!  8)

  Yes I was planing to use wheeled and tracked vehicles for the convoy and the idea to group them all wouldn't work due to the amount of units in the convoy but, sometimes the best things are simply made so let me see...  I'll change my plans and if the mission is still descent then, simple it is!

Let me check and come back with more questions!!  ;)

Back to the forest!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to build a descent convoy??
« Reply #5 on: 23 Apr 2003, 19:32:34 »
Check the Ed Depot, there may be a convoy script.

If not, commands that might come in useful are

doMove
Move
doFollow/doStop
distance
Plenty of reviewed ArmA missions for you to play

Offline Captain Crunch

  • Members
  • *
Re:How to build a descent convoy??
« Reply #6 on: 23 Apr 2003, 21:23:27 »
I decided to altere my plans.

   I have now four BRDMs and the displacement should now be right. I just gotta do one thing I can't quiet firgure out how to do:

I want to add units into the BRDMs but not all in the same one.

The first BRDM, leading the way, is a "colonel", the second BRDM is a major and so on for the two others. Only the first BRDM has the "move" waypoint.

What I wanna do is add only one unit in the first BRDM, three units in the second BRDM and one extra unit for the two last BRDM.

I should call a script I guess, then if yes, how exactly can this be done??


One extra question, if I'm not already asking too much ::) ; I will try not to sell a part of my mission here so I'll be sorta brief! :) The main player will be from the resistance side and the enemy will be the east side. I want the BRDMs to follow their path without stoping at all costs.  ...Well unless they have been destroyed ofcourse! (For You smart asses out there! ;D )

I will be attacking them from a chopper and they should be attacking me with a M2 that I will install on the BRDMs. But since they are originally switched on "Safe" mode to ensure that they follow the road properly, if they are attacked, the "Safe" mode will be changed.

But You guys get where I'm getting at!!  Please help me!! :'(
Back to the forest!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to build a descent convoy??
« Reply #7 on: 23 Apr 2003, 21:26:54 »
In the relevant init fields:

this moveInCargo BRDM_1
this moveInCargo BRDM_2

etc


Try putting the drivers on Careless and the gunner on Aware.
Plenty of reviewed ArmA missions for you to play

Offline Captain Crunch

  • Members
  • *
Re:How to build a descent convoy??
« Reply #8 on: 23 Apr 2003, 23:43:00 »
OK!

   It's getting complicated. :(

But I never learned to give up. Well at least not so easily! 8)

Everything is fine if I set the five BDRM on "Careless" mode (every single one individually from the "Init" field or in the waypoint).

But if I attach (from the help of a script) a MG on each of the BRDM, not forgeting the fact that the MGs have to be on the "Combat" mode, the BRDM will automatiquely switch to "Combat" mode. >:(

I tried several ways like:

-Regrouping the MGs together and giving them a synchronized "Move" waypoint at the same location as the BRDMs's "Move" waypoint but without success.

I had the idea to put some extra codes in the script I'm using to board the MGs in the BRDMs to order the BRDMs to switch and reswitch to "Careless" mode with the help of a loop. Now this sounds like a good idea until the comes the fact that I have no idea how to do a "check" on the behaviour of the BRDMs.

I thought maybe:

#Check

? (_Carrier "Combat" or "Safe" or "Stealth" or "Aware") : GoTo "Loop"

#Loop

_Carrier SetBehaviour "Careless"

Goto "Check"


But it doesn't work either ???

Any good idea?

Back to the forest!