lane connector should hide tracks that are not connected
See original GitHub issueDepends on #782
Setting max turn angle is one way of disconnecting sharp tracks. But it limited to disconnecting by angles. More customizable way of doing this is using lane connector.
To do this we need to patch NetNode.RenderNode() NetNode.PupulateGroupData() and NetNode.CalculateGroupData() . specially around the check flags code.
Use the same version of Harmony as Hide TMPE crosswalks and NS2 to be compatible with those mods. (boformer told me NS2 is buggy and different versions of NS2 don’t work with each other 😦 )
EDIT:
Tasks:
- Create a small test mod for fast testing.
- Write code to check if two tracks should draw connect texture/mesh
ShouldDrawConnectTexture()
. - import TranspilerUtil code from RM Crosswalks Mod
- Insert
ShouldDrawConnectTexture()
in every place where there is a check for direct connect insideNetNode.RenderNode()
to support close camera. - Test/Debug
- Optimise: create array/cache to store whether tracks are connected so that it does not have to recalculate every frame.
- harmony: Fix harmony compatibility with NS2. (I think its NS2 that needs to change it harmony)
PLAN: see https://github.com/CitiesSkylinesMods/TMPE/issues/734#issuecomment-590807175
This task needs to be divided into several steps:
- exclude unconnected direct train connections one a per segment basis
- exclude unconnected direct train connections one a per direction basis
- support lod (die hards can use ULOD mod can be used until this is supported). PS: lane connector should post UpdateNode()
- exclude unconnected direct train connections on a per lane basis for custom assets that have more than one pair of tracks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:37 (13 by maintainers)
Top Results From Across the Web
Hide TM:PE Unconnected Tracks - Workshop
2- use TMPE lane connector to connect tracks. 3- unconnected tracks will disappear (see limitations). for better support of station tracks: open track-famlilies ......
Read more >Hide TM:PE Unconnected Tracks :: Comments
I could see a lane connector line, but no nodes were showing which made it very difficult to connect tram tracks that are...
Read more >Hide tracks in Logic Pro for Mac
Hide tracks in Logic Pro for Mac. When Enable Complete Features is selected in Logic Pro > Settings > Advanced, you can hide...
Read more >Hide TM:PE Unconnected Tracks
Hides tracks that are unconnected by TMPE lane connector tool. Instructions: 1- subscribe to and enable this mod and TMPE.
Read more >Hide automation lanes? [solved]
Hold Alt > track options (to the left of track names in the edit window) > uncheck Show automation lanes. This will collapse...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Progress!