[Script] WME-Locksmith
Greetings all!
I'd like to introduce everyone to a new script known as Locksmith! This script is a highlight and lock script based loosely off relock which some of you have used. Locksmith pulls it's per State locking standards from a spreadsheet which can be updated with changing community standards as needed, so the script will always be using the correct standards without needing to rewrite any of the code! It also accounts for polygon or city name based variations in the standard.
Locksmith will initially load with the current state (and will update the state when appropriate) and display the locking standards for that state, which can be overridden manually by changing the drop-downs if desired. The custom lock dropdown will only show values up to the editors rank, they will need to hit "reset" to get the higher standards back.
If multiple states are available then a popup will be displayed on screen which will prompt you to select the "Manual State Select" in the options menu and then select the correct State. This pop-up can be disabled in the options menu
The options menu provides several ways to customize how the script functions and what displays.
Currently the locking functions are only available to R3+ editors, R1/2 editors can still utilize the scripts highlighting and custom override functions, but the locking functions are disabled. Currently this is not configurable by country, but I may include that or remove this requirement all together if it is just causing issues.
This script is also built to allow localization, so if the script doesn't load in your WME set language please feel free to contact me and we can change that!
Also - if there is currently no standards for your country/state please contact me and I can get those in very quickly.
Greasyfork Link
I'd like to introduce everyone to a new script known as Locksmith! This script is a highlight and lock script based loosely off relock which some of you have used. Locksmith pulls it's per State locking standards from a spreadsheet which can be updated with changing community standards as needed, so the script will always be using the correct standards without needing to rewrite any of the code! It also accounts for polygon or city name based variations in the standard.
Locksmith will initially load with the current state (and will update the state when appropriate) and display the locking standards for that state, which can be overridden manually by changing the drop-downs if desired. The custom lock dropdown will only show values up to the editors rank, they will need to hit "reset" to get the higher standards back.
If multiple states are available then a popup will be displayed on screen which will prompt you to select the "Manual State Select" in the options menu and then select the correct State. This pop-up can be disabled in the options menu
- Reset will clear the UI, any highlights on the map, and return any custom lock overrides to the state standards.
- Scan will perform a on-time scan of the current map and, depending on the options set, update the UI and highlights appropriately.
- Lock All will simply lock any segments the editor is able to edit to the correct standard without setting highlights or updating the UI.
The options menu provides several ways to customize how the script functions and what displays.
- Active Scan is what it sounds like, as you pan around the map with this enabled the script will run and update the UI with the results as it goes
- Enable Highlights will result in the relevant segments on the map being highlighted with red for segments locked below standards and blue for those locked above standards
- Detect Segs Above my Rank will let the script update the UI and highlights to include segments which you either are unable to lock to the standard (think R4 SM with freeways) as well as segments locked above your rank
- Save Scan Settings will cause the following settings to persist between refreshes: Active Scan, Enable Highlights, Detect Segs Above my Rank, and Include Overlocked Segs. Locksmith is set up to use both local storage and if the editor desires, WazeWraps cross browser settings storage
- Manual State Select allows the state to be manually set and will not update while panning
- Disable States Popup will prevent the warning about multiple states being available while panning with active scan enabled
- Include Overlocked Segs allows segments locked over the standard to be highlighted and included in the UI results
Currently the locking functions are only available to R3+ editors, R1/2 editors can still utilize the scripts highlighting and custom override functions, but the locking functions are disabled. Currently this is not configurable by country, but I may include that or remove this requirement all together if it is just causing issues.
This script is also built to allow localization, so if the script doesn't load in your WME set language please feel free to contact me and we can change that!
Also - if there is currently no standards for your country/state please contact me and I can get those in very quickly.
Greasyfork Link
Re: [Script] WME-Locksmith