Some bike handling properties do not work (unlike in Singleplayer)
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
- [X] I have read and understood the Security Policy and this issue is not security related.
I think so, let me confirm
I think so, let me confirm
Ok. I accidentally deleted an old message thinking that you wouldn't reply and it didn't show up for me, sorry
when's this gonna be fixed? this's a big issue can't do more than speed and traction