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

Access despawn tools via toolbar #833

Open
originalfoo opened this issue Apr 11, 2020 · 3 comments
Open

Access despawn tools via toolbar #833

originalfoo opened this issue Apr 11, 2020 · 3 comments
Assignees
Labels
DESPAWN TOOLS Feature: Clear traffic, toggle despawn, vehicle/parked/cim despawns enhancement Improve existing feature Toolbar The main TMPE toolbar UI User interface updates Usability Make mod easier to use

Comments

@originalfoo
Copy link
Member

Currently there are a a bunch of despawn tools in the Maintenance tab in mod options, that are somewhat cumbersome to reach. Would be great if we could access them from the snazzy new toolbar UI (and remove them from the Maintenance tab)...

We could repurpose the Clear Traffic button:

image

When clicked, it could hide the normal tool buttons to the left and instead show a list of things to clear:

What do you want to remove?

  • Everything (would tick/untick all the boxes)
  • Parked vehicles
  • Cars and trucks
  • Cims and cyclists
  • Trains:
    (o) Intercity
    (o) Local
  • Ships
  • Aircraft
    ...etc...

At the same time, the two buttons in the grey panel would turn in to ✔️ (confirm) and ❌ (cancel) buttons. The ❌ would replace the despawn button so accidental double click would not despawn anything.

image

So user can now tick what they want to get rid of, and click ✔️ - boom!

Tagging #267 - despawn just trains.

Bonus feature:

  • Mass exodus of cims from despawned ground-based PT vehicles (similar to what happens when you Reset Stuck Cims and Vehicles maybe)? 🤣
@originalfoo originalfoo added enhancement Improve existing feature Usability Make mod easier to use UI User interface updates labels Apr 11, 2020
@kvakvs
Copy link
Collaborator

kvakvs commented Apr 11, 2020

Replacing controls is probably not the cleanest approach, but we might place a new panel above everything that will do what you want. Or a tiny popup like snapping (to road, to grid, to angle, all, none) things do.

@originalfoo
Copy link
Member Author

Could it be two panels - one for normal controls, one for the despawn controls, then just toggle visibility of both (only one visible at a time)?

@originalfoo originalfoo added Toolbar The main TMPE toolbar DESPAWN TOOLS Feature: Clear traffic, toggle despawn, vehicle/parked/cim despawns labels Apr 11, 2020
@originalfoo
Copy link
Member Author

Another way to do it would be to use icons - so, for example, we could have the vehicle restriction icons in there (but smaller, size of the toolbar buttons) allowing users to despawn the different road/rail vehicle types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DESPAWN TOOLS Feature: Clear traffic, toggle despawn, vehicle/parked/cim despawns enhancement Improve existing feature Toolbar The main TMPE toolbar UI User interface updates Usability Make mod easier to use
Projects
None yet
Development

No branches or pull requests

2 participants