Integration of Vanilla and TMPE priority roads
See original GitHub issueCurrently when using the priority signs tool, holding shift highlights the road (or at least it should). if you Shift+click then it turns the whole highlighted road to priority road by requiring the connected roads to yield. It distinguishes between priority road and connected road by angle. This is done using SegmentTraverser
class.
The vanilla game also has a feature to create priority road. but its done slightly differently. It allows you to click on a road and choose a road segment. then puts stop signs on connecting roads.
As you can see in the pictures bellow there is a disconnect between Vanila and TMPE priority roads:
Each approach has advantages and disadvantages:
- Vanila: slower but more flexible in terms of selecting what constitutes a priority road (lets call it vanilla road selector). It also cannot add yield signs.
- TMPE: Its faster to use but less flexible. many people will resort to deleting part of their road in order to limit the length of the priority road. also in complex situation its hard to select what is the priority road. Its also inconsistent with Vanilla.
I suggest to integrate the TMPE and vanilla approaches. We can discuss what the final solution would look like. possible solutions are:
- Best of both worlds: when you shift-click with TMPE priority sign tool, it modifies the path selected by the vanilla road selector.
- Get rid of the TMPE shift modifier key and instead change the Vanilla UI so that you can choose what to do with the priority road ( eg: yield, stop, etc), .
- Don’t touch the game UI. instead modify the TMPE settings in terms of what a priority road should do( eg: yield, stop, etc). in approach 2 or 3 we can also add functionality for these closely related issues: closely related issues : #541 #539 .
Issue Analytics
- State:
- Created 4 years ago
- Comments:39 (9 by maintainers)
Top GitHub Comments
I don’t even play this game, nor use any mods, but just some feedback. Those icons DO NOT match at all. If I used this mod, I would unsubscribe to this if those icons were posted.
screenshots show how buttons appear. \
Mass edit overlay is enable while road selection panel is active.
this work is complete. I will polish the code and put it for review.