Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some bike handling properties do not work (unlike in Singleplayer) #3265

Open
1 task done
Fernando-A-Rocha opened this issue Dec 8, 2023 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@Fernando-A-Rocha
Copy link
Contributor

Fernando-A-Rocha commented Dec 8, 2023

Describe the bug

The issue that I am reporting below was already mentioned in this 2016 forum thread: https://forum.multitheftauto.com/topic/83945-bike-handlings/
Credit to RicardoMDS for notifying this bug that hadn't been officially reported yet afaik.

The following handling properties can be set (setVehicleHandling returns true) on Bikes (e.g. Sanchez; Quadbike is not affected, only 2-wheel vehicles) but have no effect although they should (editing these properties in singleplayer for Bikes works):

  • engineInertia
  • suspensionUpperLimit
  • suspensionLowerLimit

^ These work totally fine on cars (tested).

See the code below on how to reproduce and observe the incorrect behavior.

Steps to reproduce

local veh = createVehicle(468, 0,0,5)--Sanchez
setVehicleHandling(veh, "engineInertia", 500)
-- expected effect: slower acceleration
-- actual effect: no change

In normal GTA:SA you can test changing such handling properties for a PCJ-600 (for example) and observe an effect.

  • Edit GTA:SA Installation Folder /data/handling.cfg
  • Find the line that starts with BIKE (for PCJ-600) and replace with:
  • BIKE 500.0 161.7 4.0 0.0 0.05 -0.09 103 1.6 0.9 0.48 5 190.0 50.0 5.0 R P 15.0 0.50 0 35.0 0.85 0.15 0.0 0.15 -0.16 0.5 0.0 0.0 0.15 10000 1002000 0 1 1 4
  • Check in-game that the bike's acceleration changed compared to default

Version

Multi Theft Auto v1.6-release-22322

Additional context

No response

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@Fernando-A-Rocha Fernando-A-Rocha added the bug Something isn't working label Dec 8, 2023
@Fernando-A-Rocha Fernando-A-Rocha changed the title Some bike handling properties have no effect, but in Singleplayer they work Some bike handling properties do not work (unlike in Singleplayer) Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant