Description
Is your feature request related to a problem? Please describe.
The original PR that fixed the vehicle physics #2784 was reverted in #2787 due to warranted backlash. Recently PR #4243 was introduced making these changes optional. Some of the racing community members were asking for these changes to also be introduced so they can play their DM maps at a framerate that isn't just 51fps.
So the idea here would be to have a way to customize the simulation to run at "any" framerate you want. In reality if I understand correctly this would be tricky (the values don't translate accordingly, I am no expert on hooking nor assembly so I am just making an educated guess) but we could at least have two settings, one which should be the default one at the original intended 25fps and a second one that should simulate 51fps. We should also have an option to disable these fixes entirely if we so choose to, but this was already addressed in #4243
Please don't argue about if the changes in #4243 should be enabled or disabled by default, keep that convo there, let's not waste more time and just let the MTA Staff decide (we already discussed our POVs)
Describe the solution you'd like
engineSetVehicleSimulationFrameRate(int fps)
fps: 25 to 100 or whichever range seems logical
or
engineSetVehicleSimulationType(string type)
type:
"default" -> set on mtaserver.conf?
"intended" -> 25fps simulation (rockstar intended way)
"rapid_stop" -> 51fps simulation (dm friendly way)
This should have a clientsided part, so big servers that rely on different dimensions for different gamemodes can take full advantage of these systems.
Describe alternatives you've considered
It can also be a special property, or a cheat, or it could be the default behavior if the intended is disabled, removing the previous behavior completely from MTA.
Additional context
Read #4243
Security Policy
- I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.