Home   Help Search Login Register  

Author Topic: Convoys  (Read 790 times)

0 Members and 2 Guests are viewing this topic.

Buckner

  • Guest
Convoys
« on: 17 Nov 2002, 20:36:19 »
Hello,
     I was wondering if someone could tell me where to
find the script for creating convoys.  I would like to put
together a convoy of urals, t-72's, etc... I remember
seeing script programs regarding this in this website, but
I am unable to locate them.  I apologize in advance if
my search has not been diligent enough, but I have the
same problem when looking for something at home which
usually ends up in a silly question directed towards my
wife :).  Thanks in advance for your help.  Buck! ???

Captain Winters

  • Guest
Re:Convoys
« Reply #1 on: 17 Nov 2002, 21:13:19 »
Here ya go Matie (just watched spong bob square pants!  ;) sweet show!)
_______________________________
_______________________________
Capn' Winters Out!

Buckner

  • Guest
Re:Convoys
« Reply #2 on: 18 Nov 2002, 02:41:34 »
Sorry Captain Winters,
     I appreciated your response the question regarding
convoys.  Unfortunately I am limited in my knowledge
of how to make what you posted work  :P.  Any help
you could provide would sure be appreciated.  BTW,
Spongebob is an awesome cartoon!

crow

  • Guest
Re:Convoys
« Reply #3 on: 18 Nov 2002, 04:10:11 »
I will try and explain how to call the script that Captain Winters posted.
; Script Call:
;
; 1: [15, 25, 2, _car1, _car2 ] exec "convoy.sqs"
; 2: [15, 25, N, _car1, ......, _carN ] exec "convoy.sqs"
Above is two examples on how to call the script.  In both of them the first two numbers mean this; the first number is the minumum distance between units in the convoy,  the second number is maximum distance between units.  The next number is the number of units in the convoy.
; _stdis    = minimum distance between cars--Minimum distance
; _limdis   = maximum distance between cars--Max distance
; _nrCars   = Number Of Cars in the convoy --Number of units

To call the script create a trigger.  First name a unit, for the example I will use aP for the player and H for the vehicle I want aP to ride in.  Now in the condition feild put aP in H -- what this does is check to see if aP is in vehicle H.  Now in the onactivation feild you call the convoy script.  [15, 25, 3, _car1, _car2, _car3 ] exec "convoy.sqs" -- In this example the script is for only three vehicles "_car1,_car2 and _car3".  Do not forget to place a copy of the script in the mission folder.  Try this out.  The _car1 does not have to be _car1 it can be any name of the vehicle you want. :)

Buckner

  • Guest
Re:Convoys
« Reply #4 on: 19 Nov 2002, 04:10:02 »
Thanks Crow!
     I was able to follow what you said.  As I get closer
to figuring out exactly how to do this, my question lies
in how do I create a .sqs file?  I am able to copy and
paste the script to notepad, but how do I make it an
.sqs file?  I have looked at the options in notepad in
word 2000 for saving files, but did not see anything
there.  Thanks in advance for the help.  Buck

Buckner

  • Guest
Re:Convoys
« Reply #5 on: 19 Nov 2002, 04:37:02 »
Many apologies for asking a question that was answered
in the scripting forum on this site.  It has everything you
need to answer questions on how to create different kinds
of files.  Thanks for the help everyone!   ;D

Specnaz

  • Guest
Re:Convoys
« Reply #6 on: 21 Nov 2002, 21:17:51 »
 ??? Notepad or any other program, go: File-Save As..-in the filename write: nameofthescript.sqs and downer field must be all files. that should do the trick