Jump to content
Sign in to follow this  
Trash Can Man

Paradropping Vehicles from Aircraft

Recommended Posts

Can someone out there please show/explain to me how to make vehicles parachute from planes? What I am looking to do is have an aircraft (C130) fly by and drop off a vehicle(s). I know how to drop units, but I have no idea as far as Vehicles. Since Vehicles can't steer a Parachute, I'm at a loss! If anyone can show how to do this I would appreciate greatly!

Share this post


Link to post
Share on other sites

Some of this are working on this problem now. I've got a script that does it, albeit it's not very pretty and doesn't work with all C-130 addons (specifically - not Hawk's for some reason).

Share this post


Link to post
Share on other sites

Try this,

1st You need to find out the vehicle name (Not the one in the mission editor but the one under vehicle class in the config file)

eg for my crate its

WW2EC_C47crate

This script is from my C47 I've edited it so it shouls work for you.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;

_ju52 = vehicle (_this select 0)

~1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;BOX1;;;;;;;;;;;;;;;;;;;;;;;;;;

#parachuteCargo

_ju52 sidechat "Prepare to Drop Supplies"

(group _ju52) setspeedmode "limited"

~3

_ju52 sideChat "Door Open."

~3

_ju52 sidechat "Supplies Dropped"

_c47BOX1 = "WW2EC_C47crate" createVehicle [getpos _ju52 select 0,getpos _ju52 select 1,getpos _ju52 select 2]; this is where it creates the object

_x = (GetPos _ju52) Select 0

_y = (GetPos _ju52) Select 1

_z = (GetPos _ju52) Select 2

_c47BOX1 SetPos [_x -1.9, _y-3, _z +1];this is where is positions the object accoring to the plane

_c47BOX1 setdir getdir _ju52

_c47BOX1 setvelocity (velocity _ju52)

~0.2

;below this creates the parachute - change it to east if is an axis plane dropping the vehicle

_chute = "ParachuteWest" createvehicle [getpos _c47BOX1 select 0,getpos _c47BOX1 select 1,getpos _c47BOX1 select 2]

_chute setpos [getpos _c47BOX1 select 0,getpos _c47BOX1 select 1,getpos _c47BOX1 select 2]

_n = 0

#flight;this keeps the object under the parachute until the chute is on the ground

_c47BOX1 setvelocity (velocity _chute)

_c47BOX1 setpos [getpos _chute select 0,getpos _chute select 1,getpos _chute select 2]

~0.05

_n = _n+1

? (alive _chute):goto "flight";

exit

Copy and paste this in to note pad and save it as drop.sqs

put drop.sqs in to your mission folder.

open up you mission in mission editor and name your plane c130

then create a trigger set it to a radio,

and in the init field,

type

[c130] exec "drop.sqs"

Unless you've got my c47 this wont work because it won't know what the hell WW2EC_C47crate is, so you'll need to swap that for something else

Good luck!

If you need this better explained i can type it out better but......... ghostface.gif

Share this post


Link to post
Share on other sites

I should try that, I've always wanted to sit down and make a decent mission with stuff like this in but ive never got round to it... sad_o.gif

Share this post


Link to post
Share on other sites

lol whoops, I've resized the images now...

Whoops again... crazy_o.gif

EDIT: I've resized the images so why is it still like that?! crazy_o.gifrock.gifsad_o.gif

Share this post


Link to post
Share on other sites
Guest

Wasn't it possible to drive a Jeep into a BAS Chinook. You could drop it while flying, that was cool. So, download BAS' Chinook.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×