[Script]WME PH Utils

In certain areas, a high density of permanent hazards—especially after traffic lights feature was released—can cause WME to lag or run slowly on some computers.

To improve performance, this script automatically toggles the permanent hazard layer visibility based on a user-defined zoom level threshold.

How to use:

  1. Click on the Scripts tab in the sidebar.

  2. Open WME PH Utils.

  3. Select the zoom level at which you want the permanent hazard layer to become visible.

Download: https://greasyfork.org/pt-BR/scripts/566674-wme-ph-utils

14 Likes

The script enables the Hazards layer even when I start WME with it previously disabled. It sounds like that is the design.

I thought that it would just hide the PHs.

Thanks.

4 Likes

You’re right, and I was aware of that.

The problem is that I haven’t been able to find a way to check if the PH layer was previously enabled or not using the SDK.

I’m looking for a solution and will update the script as soon as I find one.

Thanks for your comment!

5 Likes