mtasa-resources icon indicating copy to clipboard operation
mtasa-resources copied to clipboard

Parachute

Open NoType1 opened this issue 6 years ago • 13 comments

Which resource(s) have this problem? The parachute resource

Describe the bug Skydiving feels completely different in comparison to SA-MP or San Andreas

To Reproduce Jump off a high building in sa-mp or SA, try to skydive and turn around and move forward. Then do the same in MTA, and notice the difference.

Expected behavior Have the parachute behave the same way as in the other mentioned versions. (That also includes skydiving)

Version Multi Theft Auto v1.5.6-release-16588

Additional context If there is a solution to this, I would love to be redirected to it. It's pretty frustrating that it has to behave completely different in comparison to the regular San Andreas game.

NoType1 avatar Apr 18 '19 17:04 NoType1

Parachute and skydiving features in MTA are realized using a Lua script so it is practically impossible to mimic it in the exact same way, however it can be improved. It would be helpful if you could post a video highlighting the differences you have in mind.

Dezash avatar Apr 18 '19 18:04 Dezash

Will do! Thanks for your response, and I understand about the fact that you cant just replicate it.

NoType1 avatar Apr 18 '19 20:04 NoType1

I'm sorry that it took so long, I am currently going through some personal issues. here are the videos. expected behaviour (sa-mp): https://youtu.be/hasm5wNM9MI

wrong behaviour (mta): https://www.youtube.com/watch?v=Z7x0SoFPXkg&feature=youtu.be

as you can see, in mta its completely impossible to move forward, or to rotate fast as shown in the sa-mp video. It's very frustrating and its blocking me from creating maps in this category for sa-mp servers..

NoType1 avatar May 12 '19 16:05 NoType1

I'd argue it's not impossible to mimic, we have the logic from GTA available, we just need to implement it properly.

Woovie avatar May 12 '19 17:05 Woovie

I had to remove the expected behaviour video due to IP adresses from other players which were shown in the chat

NoType1 avatar May 31 '19 12:05 NoType1

Is there any luck with solving the issue? I'm sorry for double posting

NoType1 avatar Jun 28 '19 08:06 NoType1

It's in the backlog now, which means it's a task that needs to be worked on!

We'll accept pull requests that aim to provide a more SA-like parachuting experience.

qaisjp avatar Jun 28 '19 08:06 qaisjp

I'm sorry that it took so long, I am currently going through some personal issues. here are the videos. expected behaviour (sa-mp): https://youtu.be/hasm5wNM9MI

wrong behaviour (mta): https://www.youtube.com/watch?v=Z7x0SoFPXkg&feature=youtu.be

as you can see, in mta its completely impossible to move forward, or to rotate fast as shown in the sa-mp video. It's very frustrating and its blocking me from creating maps in this category for sa-mp servers..

The first video (expected behaviour video) is down. Could you reupload it?

PlatinMTA avatar Jul 19 '19 04:07 PlatinMTA

https://www.youtube.com/watch?v=VrSsXieoWPk

Here's a side-by-side comparison - you can see some slight differences

ricksterhd123 avatar Jan 23 '20 16:01 ricksterhd123

I'd argue it's not impossible to mimic, we have the logic from GTA available, we just need to implement it properly.

Are you talking about the full mission script for SA that I believe is somewhere out there on the internet? If so do you know where exactly the relevant code is? @Woovie

Dark-Dragon avatar Mar 27 '20 00:03 Dark-Dragon

R* coded parachute physics in SCM scripting. I enjoy reversing C++, but I can't stand SCM or CLEO. If anybody can rewrite the SCM to readable Lua or C++ even if it doesn't work, I'll implement it properly in C++.

You can also rewrite the code in Lua for moonloader, that would be much better. Just let me know if anyone's interested.

parachute SCM code for SA: https://pastebin.com/Cu5HHDuA

ghost avatar Mar 27 '20 09:03 ghost