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

Limit vehicle speed module #605

Open
Saarine-E opened this issue Jun 27, 2021 · 0 comments · May be fixed by #699
Open

Limit vehicle speed module #605

Saarine-E opened this issue Jun 27, 2021 · 0 comments · May be fixed by #699
Assignees
Labels
feature Adds a new feature

Comments

@Saarine-E
Copy link

Theres one very useful command for handling AI vehicles (especially civilian or patrolling vics), and that's limitSpeed. Makes it a lot less likely for AI to ram into players and other silly stuff, and makes them drive more immersively in urban areas.

However if you want to use it on the fly through Zeus you need to type the line into each vehicles init field manually. Having this automated with a module (preferrably one that remembers the previously set limit) would make it easier to handle spawning multiple vehicles or adjusting speeds on the fly, as well as make the command more widespread among zeuses.

All the module would need to do is send this limitSpeed XX; into the vehicles init, replacing the X's with the set speed, and remember the previous setting. Could have a slider between 5 and 200 km/h (the high end is more for helicopters).

PS: The command does work with air and sea vehicles as well, so there's no need to limit which vehicle types it can be applied to.

@Saarine-E Saarine-E added the feature Adds a new feature label Jun 27, 2021
@ampersand38 ampersand38 self-assigned this Oct 22, 2021
@ampersand38 ampersand38 linked a pull request Jan 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adds a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants