*** UPDATE TO V. 10 - 01/23/2014 ***
I made this MOD and released on Steam Workshop.
There asked to place it also here and so I did...
(I'm a bit lazy to post some screens right now, maybe in the future - You can see something here)
COMPATIBLE WITH ANY GAME VERSION (Vanilla, G&K, BNW)
This MOD will let you see the path chosen by units when moved through right click or using the ''Move to'' order on the map.
This MOD also tries to avoid the psychic behaviour that units have when on their last plot, too far to be seen, is present another unit that blocks their movement, forcing players to manually choose a new destination. The workaround I've adopted is to check backwards all stored plots to find the first available and automatically redirect the unit there, if possible.
Selecting an automated worker an arrow will be spawned pointing to its destination tile.
Instead for workers to which has been given a ''Route to'' mission, there are two kind of ''Path Highlighting'', read instructions below for more information.
Last but not least, pressing an hotkey will show all destinations of military units at once!
Unit Movement Path
Move your unit as usual, when you'll select it again you'll see its route to destination.
If they haven't reached their destination an arrow will be shown, last plot will be highlighted in red.
''Route to'' Workers
FIRST METHOD ** RECOMMENDED **
Give to a worker the ''Route to'' mission, then, when selected, an arrow will be spawned like for automated workers, but last plot will be highlighted in green.
SECOND METHOD (Must be done in two turns)
- First Turn: give the ''Route to'' order and then select again your worker. Now right click or give the ''Move to'' order on the green highlighted hex.
- Second Turn: select your worker, the ''Movement Path'' will be shown. Now give for one last time the ''Route to'' order targeting the red plot.
If everything has been done correctly, when the worker is selected, the whole ''Movement Path'' will be highlighted in green. This method is more or less only an eye candy, since movement follows different rules respect route building. For instance if you are going to build a coastal road, your unit could embark to reach its destination, but the building process will follow land plots. At any rate I like to use this method for inland routes.
Estimated Turn of Arrival (E.T.A.)
Clicking on the flag of a moving unit will make appear a pop up telling you in how many turns will reach its destination.
CTRL + SHIFT --- Will highlight in orange all plots where moved military units stand (if their plot isn't already a destination for another), in red all plots which are the destination of a single unit, in fuchsia all plots that are the destination of two or more units and from every destination highlighted tile will appear a pop up telling you the unit name and its E.T.A.
Also moving the cursor over a red or orange highlighted tile, while having CTRL + SHIFT still pressed, the path of that unit will be shown and all other previously colored hexes will be highlighted in white. I'll let to you discover what happens when going over a fuchsia plot.
Issues and bugs:
Please report any bug you can find.
Units recalculate their path on the fly, based on revealed terrain or other units in range, so could happen that they aren't on the highlighted path at the end of the turn. This happens frequently when travelling through FoW, but difference is usually of one hex and seldom two.
Issues with other MODS:
At the moment none that I'm aware of...
Special thanks and disclaimer:
You can use and manipulate the code of my MOD freely, only put me aware of it or give me credit.
Thanks to anyone who will use my MOD and will provide useful suggestions.
Special thanks to Pazyryk for his great work on ''Table Saver Loader Script''.
Special thanks to Jaii der Herr for updating the MOD and making it fully compatible with ''Brave New World'' expansion.
Thanks to Kikevs for suggesting to implement path highlighting for worker's command ''Route to''.
Thanks to Reign for suggesting to implement E.T.A. and something to show all unit destinations at once.
Thanks to Dennis[DK] that brought to my attention the possibility to add in-game instructions.
Small update after a long time.
Added an option file, located under "(YOUR DOCUMENTS FOLDER)\My Games\Sid Meier's Civilization 5\MODS\Unit Path Viewer (v 10)", in which you can change the colors of highlighted hexes. The file is named "UnitPath_Options.lua" and you can open it with any text editor, I suggest you use Notepad++.
Instructions are inside the file.
Added support for Multiplayer and Hot Seat. *** NOT TESTED ***
Jaii der Herr: changed how End Turn blocking types are handled making the MOD compatible with any game version (Vanilla, G&K, BNW, future...)
Unit Path Viewer v. 10 2016-10-05
Unit Path Viewer v. 10