Page MenuHomeFeedback Tracker

Issues with parachute folding and unfolding [VIDEOS]
Assigned, NormalPublic

Description

There are several issues here, but all related to folding/unfolding parachute mechanics.

First of all look at the unfolding of the cargo parachutes in the following video:

http://www.youtube.com/watch?v=ojICWnKmzuo

All parachutes in the video are created with "FLY" attribute (code: http://killzonekid.com/arma-scripting-tutorials-epic-armour-drop/) which means they should be already open when created, and this is how it is indeed if you try it in the editor, but on dedicated server, where this video is shot, they go through full cycle of animation.

Another problem is with folding of the parachute. The folding animation starts when isTouchingGround returns true, i.e parachute is on the ground. However if parachute bounces for any reason or lands on a slope where it slides and appears above the ground again, it unfolds again and this could be going on for a long time. I have constructed a script that would simulate this and here is the result:

http://www.youtube.com/watch?v=MLq8sFaLiuM

What is also interesting, after the parachute is nudged up once by the test script, it gets also nudged up twice by an unknown force.

Solution? Make folding of the parachute terminal, i.e. when the folding is started, that's it, it cannot be cancelled. At the moment for some reason the status of the parachute above the ground is checked constantly. It would also be more optimal to stop these checks once the parachute has touched the ground once and folding started.

Details

Legacy ID
1708262822
Severity
Tweak
Resolution
Open
Reproducibility
Always
Category
Config
Steps To Reproduce

The script to make parachute bounce endlessly:

  • spawn {

para = createVehicle ["b_parachute_02_f", position player, [], 0, "FLY"];
while {true} do {

		waitUntil {istouchingground para};
		sleep 1;
		para setPos (para modeltoworld [0, 0, 10])

}
}

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Config.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to Tweak.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 1708262822.May 7 2016, 5:52 PM
Bohemia added a subscriber: AD2001.Feb 2 2014, 5:27 PM

Just to add. After testing a bit more the unfolding with "FLY" attribute only happens if parachute is local to the server. If it is local to the client, it spawns already open. Use the script in repro and run it on the server and on the client to compare.

Thanks a lot for the intel, I'll try to talk with responsible persons to ensure some improvement and fixing, but no promises yet.

The repro script still produces bouncing parachute.