mod.io · Mod 6493274
Train Path Visualizer
Bitte ModManager zuerst starten. Dadurch wird der Installations-Link unter Windows registriert.
Beschreibung
Show the currently reserved path of trains.
Features
Marked [S] for selected train(s) only.
- Normal path in blue.
- Orange when stopping to wait for clear path ahead.
- A bar across the track where the current reservation ends.
- White: Path ahead is clear.
- Red: Path ahead is occupied.
- Gray: End of leg.
- Toggle overlay with mod button in the top left.
- Right-click the button for settings:
- [S] Braking distance
- [S] Manual stop distance (3x braking)
- [S] Wider path visual with two extra white lines
- [S] Thin, red line on path ahead that is not clear (after currently reserved segment)
Limitations
- Currently draws the path for all trains in the save. This could get expensive on larger saves.
Mod compatibility
The overlay is drawn through the game's tool overlay (builtin.ActionDescriptor). Each overlay can only hold one set of lines (builtin.EdgeRenderable), so mods that draw their own lines have to share it.
- Compatible: Mods that draw overlay lines the normal way, through builtin.EdgeRenderable. Their lines and the paths are drawn together.
- Compatible: Mods that wrap builtin.ActionDescriptor by chaining to whatever replacement is already there. This is the compatibility friendly way.
- Conflict: Mods that wrap builtin.ActionDescriptor by calling the game's original directly (_react.originalRecipeFn or react.CallOriginalRecipe). That knocks out every other mod wrapping it. The paths stop showing or updating. No crash.
- Possible crash: Mods that add lines to the overlay without going through builtin.EdgeRenderable. Two sets of lines in one overlay crashes the game. None known.
Removing the mod
Safe to add and remove at any time. Nothing is stored in your save.
Changelog
Contact
- GitHub: https://github.com/Imsvale/path-visualizer/
- Reddit: u/Imsvale
- Discord: imsvale
AI Disclaimer
This mod was made with the help of Anthropic's Claude. It's been tested and verified by myself. There may still be flaws.
Bilder
Mod melden
Die Meldung gilt ausschließlich für Version 1.0. Bitte nur melden, wenn du diese Version selbst getestet hast.
Melde dich an, um eine Meldung abzugeben. Pro Konto, Mod-Version und Kategorie zählt eine Meldung.
Kommentare
Auf mod.io öffnen ↗