Closed Mikhalin closed 3 years ago
Please provide properly formatted code, branch name and version you tested it on.
Please provide properly formatted code, branch name and version you tested it on. alt:V Server and Client version: 2.1-dev7 (dev)
Edit the issue to match the template, otherwise it'll get closed
Edit the issue to match the template, otherwise it'll get closed
Is everything right now?
By "doesn't work", you mean that it has no effect on the vehicle handling? And did you test it thoroughly?
By "doesn't work", you mean that it has no effect on the vehicle handling? And did you test it thoroughly?
Yes. Very carefully.
And more: Another function getForHandlingName doesn't work with custom cars, even if I specify the handling Name from handling.meta
On standard car's everything is OK
@Mikhalin show me your vehicle resource with handling.meta in it
and the code with getForHandlingName
and the code with getForHandlingName
alt.log(alt.HandlingData.getForHandlingName(alt.hash('G63AMG6x6'))); https://imgur.com/a/PQ3wkIm
And link to download resource: https://dropmefiles.com/MF5K1
Did you try to set initialDriveForce to any high values to see if there is any change? What do you see when you print initialDriveForce's value before and after setting it? @Mikhalin
This value is applicable, but does not affect the car's handling. I tried multiple values. Similarly with drag Coef @martonp96
it seems that none of the setters that starts with initial work .
Things are working in latest dev, i tested them myself.
Things are working in latest dev, i tested them myself.
Could you drop me your code, unless I'm doing something wrong it still doesn't work for me. Tried currend dev and release
Will be tracked in #684
Client/server version
2.1-dev7 (dev)
Current behavior vehicle.handling.initialDriveForce - does not work
Expected behavior
vehicle.handling.initialDriveForce - apply to the vehicle
Steps to reproduce
Context (environment)
I'm just trying to apply handling to the created car via a request from the server to the client using gameEntityCreate
Possible solution
Without concept