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

Button to despawn just trains #270

Closed
originalfoo opened this issue Apr 5, 2019 · 5 comments · Fixed by #1341
Closed

Button to despawn just trains #270

originalfoo opened this issue Apr 5, 2019 · 5 comments · Fixed by #1341
Labels
DESPAWN TOOLS Feature: Clear traffic, toggle despawn, vehicle/parked/cim despawns discussion Contains debate on certain topics feature A new distinct feature Settings Road config, mod options, config xml

Comments

@originalfoo
Copy link
Member

Steam user CanePlayz:

For me, a feature to only delete trains and not the whole traffic is absolutely necessary, because if I have problems with my trains, there is always an unbelievable backup of trains that cant get out of my city and I can`t delete them all because that would take so much time. But of course a great mod. Keep on working!

I've also experienced this pain; not wanting to despawn all vehicles, I ended up manually despawning about 50 trains which was a PITA.

Hopefully it will be relatively easy to implement, as it's subset of existing 'despawn all' feature. A button in mod options (maintenance tab) would be suitable.

@originalfoo originalfoo added the feature A new distinct feature label Apr 5, 2019
@originalfoo
Copy link
Member Author

I guess this could be extended to "Just boats", "Just whatever" at some point (eg. if we implement #51 the despawn stuff could get its own tab with icons for various despawns)

@originalfoo originalfoo added the discussion Contains debate on certain topics label Apr 6, 2019
@originalfoo originalfoo added DESPAWN TOOLS Feature: Clear traffic, toggle despawn, vehicle/parked/cim despawns Settings Road config, mod options, config xml labels Aug 12, 2019
@pallamf
Copy link

pallamf commented Feb 8, 2020

Funny, I'm looking for this, too and came across this post. I separated my train lines, etc. All the routes are clogged, and when a train leaves a cargo hub, new trains are spawned, instead of letting in other trains. What a mess. There are about 100+ trains on my map, so I would love to clear them all and let the engine regenerate what it thinks it needs.

@originalfoo
Copy link
Member Author

We could make it so the Clear Traffic button opens a list of checkboxes of what should be cleared.

The checkbox selections could be saved to global config perhaps? Would be useful for dev too if we're regularly clearing certain type of traffic during testing something.

@kvakvs
Copy link
Collaborator

kvakvs commented Feb 10, 2020

This is two parts job

  1. Create that panel mentioned above
  2. Refactor despawning call into an intent with bit options per traffic type.

@originalfoo
Copy link
Member Author

PR #1341

image

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 discussion Contains debate on certain topics feature A new distinct feature Settings Road config, mod options, config xml
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants