-
Notifications
You must be signed in to change notification settings - Fork 85
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
record vehicle restrictions #966
Conversation
…ng vehicle restriction data.
Is the unreleased version available somewhere? (or link to tagged commit so we can build from source)
How does that test whether the vehicle restrictions were recorded? |
https://github.com/Quboid/CS-MoveIt/files/4805542/MoveIt.zip
If you press clear, it removes exisiting Vehicle restrictions. if you press it again, it undo's them. they can only be undone if they were recorded. |
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.
Looks good, also works in game. 👍
I didn't noticed any weird entries/errors in the log also.
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.
Works flawless for me. Code looks okay too.
Added record for vehicle restriction.
I added 2 methods to the vehicle restriction manager to be able to clear vehicle restrictions for a lane and to be able to understand if vehicle restriction data is empty in which case I don't store anything.
Test:
use one of the following methods:
A) You can also test this by using the clear/undo button from the road selection panel:
B) put vehicle restrictions in the asset interchange editor and place them in-game
C) use move it mod to copy vehicle restriction. this intermediate version of moveIt is suitable for this review: