Jump to content
aurora1-4

Parachute not slowing paradrop cargo down...

Recommended Posts

Hello there,

 

I have created a scenario where an empty boat is dropped out of the back of a stationary C130. The boat falls and the parachute opens. However, it does not slow the boat down.

 

Currently in a trigger:

In condition:

(getPosATL vehicle boat) select 2 < 750

In activation:

("I_Parachute_02_F" createVehicle [0,0,0]) attachTo [boat, [0, 0, 0]];

in deactivation:

if (isTouchingGround boat) then {detach "I_Parachute_02_F";};

I created a seperate radio command as a test of deployment from a higher altitude. It deployed the chute but it did not slow the boat down.

Current state - 

 

 

Any help would be very much appreciated. 🙂

Share this post


Link to post
Share on other sites
14 hours ago, aurora1-4 said:

("I_Parachute_02_F" createVehicle [0,0,0]) attachTo [boat, [0, 0, 0]];

you need to attach the boat to the parachute, not the parachute to the boat.

Share this post


Link to post
Share on other sites
7 hours ago, Dedmen said:

you need to attach the boat to the parachute, not the parachute to the boat.

 

Hi Dedmen,

 

Thanks for the reply.

I must admit, I am pretty terrible (and very new) at scripting... 😄

How would I need to order it then? I guess, i'd need to create the parachute seperately, but have it be created on the falling boat. Then attach the boat to it?

Would something like this work?

"I_Parachute_02_F" createVehicle [0,0,0]; boat attachTo ["I_Parachute_02_F",[0,0,0]];

Thanks.

 

Edit:

I got a little further, but still not completely there... The boat falls, the trigger is activated with altitude, the boat stops then starts reaccelerating downwards. No parachute spawned.

Heres what I have currently:

boat attachTo ["I_Parachute_02_F" createVehicle [0,0,0]];

Edit:

Same thing happens, but I can see the parachute spawn directly underneath the boat.

boat attachTo ["I_Parachute_02_F" createVehicle getpos 

boat attachTo ["I_Parachute_02_F" createVehicle getpos boat];

 

 

Share this post


Link to post
Share on other sites
20 hours ago, aurora1-4 said:

How would I need to order it then?

well you are currently attaching parachute to boat, so literally just swap it around.

 

20 hours ago, aurora1-4 said:

I guess, i'd need to create the parachute seperately

You are already doing that.

 

20 hours ago, aurora1-4 said:

Would something like this work?

No, attachTo requires a object, you just give it a classname

 

20 hours ago, aurora1-4 said:

Same thing happens, but I can see the parachute spawn directly underneath the boat. 

you probably want to spawn it a bit higher.

 

boat attachTo ["I_Parachute_02_F" createVehicle (getpos boat vectorAdd [0,0,2]), [0,0,0]];

Also need to set the attachTo offset correctly such that the boat is at the bottom of the parachute and not in the middle, but I guess this should work?

 

 

Share this post


Link to post
Share on other sites
1 hour ago, Dedmen said:

 


boat attachTo ["I_Parachute_02_F" createVehicle (getpos boat vectorAdd [0,0,2]), [0,0,0]];

Also need to set the attachTo offset correctly such that the boat is at the bottom of the parachute and not in the middle, but I guess this should work?

 

 

Just tried this, it attaches to the boat correctly. However, it jumps the boat from mid-free fall to underground with the parachute above ground.

Share this post


Link to post
Share on other sites
48 minutes ago, aurora1-4 said:

However, it jumps the boat from mid-free fall to underground with the parachute above ground. 

I thought I said that, but apparently I just thought of saying it. Yes. The boat has no collision and just obeys whatever the parachute says. And the parachute says "I am now laying on the ground" when the boat is already under it.

Don't know what the proper way to fix that is. Maaaybe, you can load the boat into parachutes cargo

https://community.bistudio.com/wiki/setVehicleCargo

Don't know, someone else who actually knows this stuff has to jump in.

 

Quick google found other forum threads of people trying to do the same, they just wait till the vehicle is below 1m height, and just delete the chute.

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

×