Sid Meier's Civilization V

Sid Meier's Civilization V

484 ratings
Unit Path Viewer
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
19.873 KB
1 Apr, 2013 @ 3:34pm
22 Jan, 2014 @ 4:39pm
11 Change Notes ( view )

Subscribe to download
Unit Path Viewer

Description
*** Please note ***
If you like my work, you are encouraged to rate it THUMBS UP! So will be easier for others to find it.
If you don't like my work, you are encouraged to rate it down, but at least leave a comment explaining what you dislike so I could find a way to make this better!

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!

Instructions:
Unit Movement Path
Move your unit as usual, when you'll select it again you'll see its route to destination.

Automated Workers
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.

Hotkeys
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''[forums.civfanatics.com].
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.

Version history:
v. 10
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++[notepad-plus-plus.org].
Instructions are inside the file.

v. 9
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...)

Older versions
Consult the change notes section.

My other works:
Movement and Ranged Area
Popular Discussions View All (2)
3
10 Mar, 2019 @ 5:26pm
Does this still work?
Personal Finest Shawn
3
7 Jun, 2013 @ 3:45am
"Added an hotkey to show all units' destinations at once."
Dennis[DK]
86 Comments
UEAdmiral 7 Aug, 2023 @ 8:28pm 
Just want to confirm that this mod does still work as of this post.

At first I thought it was broken because the highlights were not displaying; however, I read elsewhere that for mods to work you need to actually start your game from the mods menu. When I started a game from the mods menu, this mod's highlights showed up just fine.

As an additional aside, I'm not seeing any problem with the ETA function. Maybe slightly unintuitive with how it counts turns--insofar as it indicates 2 turns when unit will arrive next turn, and 1 turn when it will arrive in the present turn--but definitely working.
Human Crouton 13 Dec, 2021 @ 1:06pm 
Did a fresh install of CIV 5. I forgot to activate this mod when I did, and I immediately noticed my mistake. This mod is practically necessary for me to enjoy the game.
Black.Cobra  [author] 22 Sep, 2021 @ 9:25am 
@rfeldster
I fresh installed Civ to test your problem, but for me ETA isn't multiplied by ten.
Probably there's a conflict with some other mod. Try a new game with just my mod.
Otherwise into that file you should modify line 167 and 275 adding at the end /10 like

local VupUnitMoveTurnsLeft = (TupMainUnitPath.vETA - VupCurrentTurn) /10

It's a bit rough and I don't know how could be treated then double numbers...
rfeldster 17 Sep, 2021 @ 1:37pm 
This is a great mod overall, but the ETA function isn’t working properly for me. It starts off showing a number of turns that is 10 times the actual amount, then reduces that by 1 each turn. For example, a “move to” action that will take 7 turns is listed as having an ETA of 70. At the end of the following turn, it will have an ETA of 69, then 68, etc. I’ve tried playing around with the UnitPath_Support file, but I haven’t had any luck. Any idea how to fix this?
WolfCrossing 27 Feb, 2021 @ 7:47pm 
This is an extremely necessary mod for the game. It is seriously priceless the amount of time and frustration this mod saves in all stages of the game. Especially if you are using the diplomatic units mod and archaeologists in general in any game. I seriously applaud the amount of work and detail in how this mod works. It's nothing short of fantastic.
xxx78 2 Mar, 2020 @ 2:02am 
Nice mod, anything like this for civ 6?
jbarry39 20 Oct, 2019 @ 8:56am 
Followed Install precisely...does NOT work in game (has been verified that it is activated)...What Gives??
Personal Finest Shawn 26 Feb, 2019 @ 11:32pm 
First mod I've installed, seemed exactly what I needed. I have all official DLC. Started NEW game. It doesn't seem to do anything. Before starting game I double checked to make sure the mod was selected in game. Does this still work?
tstormwind 30 Aug, 2018 @ 3:14pm 
I've been playing Civ V for years without Mods and this time around I decided I really wanted to find something to help me manage my units. This is EXACTLY what I needed! Now I can tell, with a click, where I've ordered a unitl to go. Thank you!!
BrJason 5 Jul, 2018 @ 12:32pm 
This has been extraordinarily helpful - especially in my game which tends to be very large and in which I micromanage every unit.