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

Unbunching using IPT2 #1

Closed
helloiamson opened this issue Nov 3, 2020 · 5 comments
Closed

Unbunching using IPT2 #1

helloiamson opened this issue Nov 3, 2020 · 5 comments

Comments

@helloiamson
Copy link

Hi,

Thank you very much for the mod and it certainly unlocks the potential of buses in the C:S.

I personally prefer IPT2 over TLM because it allow me to configure where unbunching should occur, most usually at terminus. Unless a route is looped, I would allow unbunching to occur at the two ends of the route, like in real life.

Therefore, I wonder if you can please add a feature to only allow "stop-on-demand" at stops where "vehicle unbunching" is FALSE as defined using IPT2, and to disallow "stop-on-demand" at stops where "vehicle unbunching" is TRUE. In this case, unbunching do not necessarily need to occur at the first stop.

I look forward to seeing this feature in the upcoming update.

Thanks,
Herman

@Vectorial1024
Copy link
Owner

Hi there!

Thanks for your support to this mod!

Indeed, the current way of making new routes in vanilla game makes it look like all routes are looping routes. Currently, I made it so that the first stop is the terminus stop. But, me using TLM, I eventually began to feel that moving the terminus and just re-configuring the route sequence is getting tedious as the route grows. (Unfortunately TLM does not have the option to selectively unbunch at stops...)

I understand that IPT2 also has the option to configure unbunching, and afaik, it is set to be "unbunch here" for all stops, and there is no way to change this.

From a convenience standpoint/personal imagination, it would be best if e.g. I make a new route, disable unbunching at the one/two terminus points through IPT2, invert them all on this side internally when reading the settings, and unbunch accordingly. This involves the least amount of clicks, but will probably work against users like you who have already configured unbunching properly as specified by the IPT2 UI to only unbunch at select stops.

Seeing that I will eventually need to make a separate compatibility mod for actually reading IPT2 unbunching config (this is from technical limitations), I guess I could leave this for that eventual mod.

But still, while we are here, I have some rough ideas on what options to offer to IPT2 users regarding unbunching:

  • "First Principles": Unbunch at the first and only the first stop of route as seen from the game data
  • "Respect IPT2 Unbunching": does what it says, unbunch only when IPT2 says to unbunch (will not unbunch in case IPT2 did not specify)
  • "Invert IPT2 Unbunching": unbunch when IPT2 says NOT to unbunch, and do nothing when IPT2 says to DO unbunching (still will not unbunch in case IPT2 did not specify)

This option will probably be save-based, and there will also be a global setting to fall back to when the city does not have any info on that option.

And, this will require me to lean the techs of mod options page and data storage (which I haven't learned how to do yet) and so no matter how you look at it, it won't be available very soon. There will be time to think about and go over the details.

@helloiamson
Copy link
Author

Definitely looking forward to it. : )

@Vectorial1024
Copy link
Owner

I'm gonna redirect this to the sister repo later: https://github.com/Vectorial1024/ExpressBusServices_IPT2

I decided to stick with a global config because that is way easier than per-city configs, but otherwise the main idea is there.

Later when I have the time to deal with the Workshop upload process then it will be available. Time to do other things...

@Vectorial1024 Vectorial1024 transferred this issue from Vectorial1024/ExpressBusServices Nov 23, 2020
@Vectorial1024
Copy link
Owner

OK, it is done! https://steamcommunity.com/sharedfiles/filedetails/?id=2296003260

For correctness you may want to begin the transition by picking "Respect IPT2 unbunching", but for convenience and to have less mouse clicks in general later on, you could eventually transition to "Invert IPT2 unbunching" where you only need to disable the toggle at the termini stops and watch this mod unbunch buses right at those termini and not at intermediate stops.

@helloiamson
Copy link
Author

Thank you very much for the brilliant work. Works like a charm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants