Military Engineer Railroad Highlight
Military Engineer Railroad Highlight
Ever lost track of where your railroad network ends while managing a late-game empire? This lightweight UI mod ensures you never misplace a rail tile again.
Features
- Automatic Highlighting: Selecting any Military Engineer instantly highlights all visible railroad tiles on the map with a clean, semi-transparent white overlay.
- Live Updates: The highlight updates in real-time as you build new railroads, upgrade routes, or if tiles are pillaged/removed. No need to use the Map Search tool or cycle lenses manually.
- Smart Visibility: Only shows railroads in revealed territory, respecting the Fog of War.
- Clean UI: Automatically clears the highlight the moment you deselect the unit or click on empty space.
Compatibility
- Gathering Storm: Required (as railroads are a GS feature).
- UI Mods: Fully compatible with ‘More Lenses’, ‘CUI’, and other major UI overhauls.
- Multiplayer: Supports Multiplayer and Hotseat.
How it Works (Technical Details)
To ensure maximum compatibility and stability, this mod utilizes the Great People Lens Layer (Hex_Coloring_Great_People) to render the overlay.
Why this layer?
- No Conflicts: The game only uses this ‘bucket’ to draw tiles when a Great Person is active. Since you cannot select a Military Engineer and a Great Person simultaneously, the highlights will never overlap.
- Mod Stability: Major UI mods like ‘More Lenses’ often suppress the Religion or Appeal layers if the specific unit type isn’t selected. The Great People layer is more ‘stable’ for external scripts to borrow, ensuring the highlight doesn’t flicker or disappear unexpectedly.
- Aesthetics: It provides a crisp, translucent white highlight that makes railroads easy to spot against any terrain without being distracting.
Created by thefsm93
Open Source Code: https://github.com/Crash-GHaun/Civ6-Military-Engineer-Railroad-Highlight/tree/main
(Please comment if you find bugs as I made this quickly and have not done extensive testing)