Home   Help Search Login Register  

Author Topic: Paratroop Question  (Read 1852 times)

0 Members and 1 Guest are viewing this topic.

zenman1

  • Guest
Paratroop Question
« on: 09 Jul 2005, 18:51:57 »
I want to give a squad parachutes at the begining of a mission.
automatically deployed. So 12 men are falling with their chutes
as soon as the mission starts. How to do that?


Bluelikeu

  • Guest
Re:Paratroop Question
« Reply #1 on: 09 Jul 2005, 19:06:46 »
Hey,

You can use this script I made.

Edit: When you said that you want them automatically deployed, do you mean that they are already open? If so, I think that that is impossible.


The example mission is included.
To activate the script

put this in one of the members of the group:
[units group this, 200] exec "intopara.sqs"

200 stands for the height at which the parachutes will start at. You can change this to any height that you like.

Thanks,
Bluelikeu
« Last Edit: 09 Jul 2005, 19:10:21 by Bluelikeu »

Bluelikeu

  • Guest
Re:Paratroop Question
« Reply #2 on: 09 Jul 2005, 19:13:39 »
Also, If you want, I can make the units randomly scattered each time the mission starts up, just so you're not in the same place every time you begin.
I can also make them scattered in such a way that they are at least a cetain distance from eachother.

Thanks,
Bluelikeu

zenman1

  • Guest
Re:Paratroop Question
« Reply #3 on: 09 Jul 2005, 19:17:33 »
Yes that works good!, However it shows some of the code at
the top like an error code but it still works. Im using 1.46
if that makes a diff. and Yes I would like them to be random
if you can show me that.

Thank you
Zenman1

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Paratroop Question
« Reply #4 on: 09 Jul 2005, 19:17:36 »
actually you can have people already parachuting (opened chutes)

under empty you will find parachute (vehicles i think)

place the parachute and then place whoever you want in the parachute, then either:
a) group them together and have the units "special" as incargo, or
b) name the chute and put:
         this moveincargo parachute_name
    in the guys init

and he will be floating down at the start of the mission

Bluelikeu

  • Guest
Re:Paratroop Question
« Reply #5 on: 09 Jul 2005, 19:23:50 »
@zenman1

Can you read to me the error. If its not compatible with 1.46, then i'll try and fix it.

zenman1

  • Guest
Re:Paratroop Question
« Reply #6 on: 09 Jul 2005, 19:38:42 »
I got what i needed, Thanks for all your help Awesome!

cya

Franksie86

  • Guest
Re:Paratroop Question
« Reply #7 on: 09 Jul 2005, 22:30:56 »
isnt it

this moveinDRIVER parachutename

Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Re:Paratroop Question
« Reply #8 on: 09 Jul 2005, 23:03:39 »
Well here is what I have done in the past not fancy but gets job done.

Go to Air select Parachute - Flying - name: p1

Go to Men select Officer(or whatever you need)- Formation- name: s1

Now in the officers Initialization: s1 moveindriver p1

I would use the same number for man to parachute; s2 moveindriver p2
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Paratroop Question
« Reply #9 on: 10 Jul 2005, 03:17:27 »
isnt it

this moveinDRIVER parachutename

nope, you can't drive a parachute (at least not the default BIS ones)

Bluelikeu

  • Guest
Re:Paratroop Question
« Reply #10 on: 10 Jul 2005, 11:59:15 »
The command is moveindriver, moveincargo does not seem to work at all.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Paratroop Question
« Reply #11 on: 10 Jul 2005, 18:19:00 »
hmm.. cause before the grouping them and having incargo worked....
i thought...

I've been gone too long lol :-\ :-[

Offline 22jacket

  • Members
  • *
  • I'm a llama!
Re:Paratroop Question
« Reply #12 on: 10 Jul 2005, 21:34:46 »
ok try
CLASS air UNIT parachute SPECIAL in formation
NAME PARA1

in the init field type
this setpos [(getpos this select 0),( getpos this select 1), 140]
140 is height you start at ...u can change the height to siut..

name your unit u want attached   say red1
in init field type
this moveindriver PARA1

then change to PARA2 for next player etc
also change unit name ie red 2 etc
hope this helps..

Offline 22jacket

  • Members
  • *
  • I'm a llama!
Re:Paratroop Question
« Reply #13 on: 11 Jul 2005, 09:10:09 »
ooppss parachute must be empty..

Offline 456820

  • Contributing Member
  • **
Re:Paratroop Question
« Reply #14 on: 11 Jul 2005, 09:14:30 »
Quote
CLASS air UNIT parachute SPECIAL in formation

nope thats wrong the parachutes special must be 'Flying'
unless you make it start at a certain height but the chute wont be open it will deploy  as you fall but the special as special will make it open as soon as you start