Network detective (for debuggin mods)

If you liked this item, please rate it up on Steam Workshop page.

Author: kian.zarrin

Last revision: 2 Dec, 2022 at 00:25 UTC (2)

File size: 610.3 KB

On Steam Workshop

Description:

It shows information about placed network instances.

Objective:

help to develop/debug code.

Focus:

display important traffic-related information of networks.

NEW!:

– update/remove networks
– swap start/end nodes

Are you(modder) confused by the direction of the segments/lanes? do you find it confusing to deal with Invert flag, lane direction/finalDirection, left/right hand traffic, start/end node? This mod can help with that. I also created the concept of tail/head node (for a one-way road, cars go from tail to head) to make things simpler. feel free to pick up the code for GetHeadNode() and GetTailNode().

Instructions

– Control+D to activate (activation shortcut is configurable settings)
– Control+D or Right-click to deactivate
– Hover over segments to view info (hold control to view nodes).
– Click on networks to select them (Right-click to deselect).
– Hover over elements in the display panel to view quick information about them.
– Click elements in the display panel to select them and view in-depth information about them.
– To find a Network using its ID, click on the search icon in the top right corner of the panel.
– to update a network select update from drop-down menu and then click on any node/segment to update it. or you can update all segments from mod options (good to overcome load order issues)
– to switch start/end node select reverse from drop down menu and then click on any segment to reverse it.

Source:

https://github.com/kianzarrin/NetworkDetective

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.