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

PimpMyRide - High vehicle speed settings don't work #36

Open
GoogleCodeExporter opened this issue Mar 20, 2015 · 3 comments
Open

PimpMyRide - High vehicle speed settings don't work #36

GoogleCodeExporter opened this issue Mar 20, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Set a car with high speed (higher than 100) and acceleration and stuff in 
the script file
2. Run this code
    vehicle = Player:GetVehicle()
    vehicleParams = vehicle:GetVehicleParams()

    vehicleParams["engine"]["maxSpeed"] = 80

    vehicle:SetVehicleParams(vehicleParams)


What is the expected output?
The vehicle will now reach the speed you set in mph

What do you see instead?
The vehicle struggles to accelerate past 50mph
If the new speed is set to anything less than 50 it works fine.

What version of the product are you using? On what operating system?
r240 gmsv_pimpmyride_win32.dll
Windows Server 2012


Please provide any additional information below.

Original issue reported on code.google.com by TinySla...@gmail.com on 14 Feb 2013 at 9:33

@GoogleCodeExporter
Copy link
Author

I know its a bit late, but this is really annoying. Fix this please?

Original comment by siranderson66 on 9 Mar 2013 at 1:29

@GoogleCodeExporter
Copy link
Author

This is likely out of my control. If you want to see the vehicle controller 
behavior you'll have to open up vphysics.

Original comment by AzuiSl...@gmail.com on 9 Mar 2013 at 1:32

@GoogleCodeExporter
Copy link
Author

Also, the vehicle maxSpeed parameter outputs a stupid integer. I have to do 
this math.Round(newVehicle.VehicleParameters["engine"]["maxSpeed"] / 17.599) to 
get the correct max speed.

Original comment by siranderson66 on 10 Mar 2013 at 1:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant