-
Notifications
You must be signed in to change notification settings - Fork 737
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
Lower minimum speed limiter speed to 5 km/h #5065
Conversation
Minimum speed limit of 10 km/h was needed in the past due to engine limitations. Multiple user tests have shown that the minimum speed is not needed anymore. The new minimum of 0 km/h allows for example setting walking speed for vehicles (<10 km/h).
|
Please see also discussion on armaworld forum https://armaworld.de/index.php?thread/2892-tempomat-f%C3%BCr-schrittgeschwindigkeit/&pageNo=1. |
What happens when you drive backwards and use the limiter after this PR? |
Maybe change the minimum speed limit from 10 km/h to 5 km/h or 3 km/h to avoid any problems with driving backwards. |
Don't speak German, so that forum is useless to me (and apparently everyone speaks badly enough for Google Translate to not make any sense of it). 😆 |
sorry jonpas, let me give you a brief result of the forum post. |
Ah, nice! Thank you. |
If you feel more comfortable with min speed of 3 km/h you can of course change from 10 to 3. This also solves the problem I want to avoid with the pull request. With minimum 3 km/h it is easily possible to limit to walking speed (~6 km/h). Do you want me to generate a new pull request with minimum speed 3? |
3 sounds good, you can just commit to the same branch, it will show on PR automatically. |
To avoid problems with negative speeds (driving backwards) and zero speed, the current change switches from 10 km/h minimum speed to 3 km/h minimum speed. This seems to be the optimal solution to allow all relevant speeds including walking speed.
Done. So what are the next steps? Who needs to approve this change? |
One of the maintainers of this component and the author of the original function, who incidentally assigned this pull request to himself - me. |
This pull request breaks the speed limiter for cars. |
Who ever wants to set 3 km/h speed limit for a quadbike?! Nobody in history has ever tried and nobody will ever try. Much more important is to support those players who want to synchronize tank and soldier speed when approaching cities. And if someone really tries to set it for quad bikes, he will notice that 3 km/h does not work really fine and this guy will raise his speed. |
Disagreed. The feature has to work in any circumstance. And as for tanks, the vanilla ones might not use brake sounds, but I know of certain ones that do. |
so what about a new keyboard combination like SHIFT+DEL for limiting to any speed limit. this new keyboard combination will be hidden in the code and not being officially supported? |
Sounds like something you should put in your mission or community addon packet and not in ACE. |
I agree with @commy2. |
Ok. But could you at least transform the current value 10 to a global variable, so that others have the chance to influence the script from outside? Hard coded numbers in a script are not the nicest way of coding so that you could solve two issues at the same time: 1) High quality code 2) Chance for others to influence minimum required speed in their environment |
Could be a solution.
Though, generally speaking this might be true, but in this case it's utterly wrong. The reason why 10 has been chosen is explained above. |
As I said. Fine for me when 10 needs to be the official ACE value. But there should be some way to configure this minimum speed value. |
What about something like this?
Would let people change it via mission or a little addon. |
In that case I'd just make it a setting to be honest. |
If we make it a setting, then people can set it to values that could break things. |
By the way: I asked again what is the absolute minimum speed needed for tank/soldier groups. Minimum of 5 km/h would still be fine. So if the car issue that came up with 3 km/h is no problem with 5 km/h, we can easily solve the current issue by setting 5 km/h. Otherwise a semi-hidden mission var could do the job like @PabstMirror depicted. |
Officially the minimum required speed is 10 km/h in the master. Lower minimum needed to set car speed to walking speed of accompanying soldiers. Problems have been reported with 3 kmh/ using cars like ATVs. Thus the new commit is set to 5 km/h minimum speed. Not tested with ATVs yet.
Is there no minimum speed value that can be read from the vehicle's config? |
No, but I guess it's hard coded for the different simulation types. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Limiting to 5kph, tanks sound rough (like they're stuck in first gear at high rpm)
But didn't seem to be any more likely to flip 😄
Hopefully this doesn't cause any issues and people can still always use 10kph if there is.
Minimum speed limit of 10 km/h was needed in the past due to engine limitations. Multiple user tests have shown that the minimum speed is not needed anymore. The new minimum of 0 km/h allows for example setting walking speed for vehicles (<10 km/h).