Overview
This module displays the ruler when dragging tokens, does pathfinding for the ruler, tracks movement speed and movement history in combat, and can display elevation changes.
Elevation
Elevation can be changed while using the ruler (default: '[' to increment and ']' to decrement). The distance calculation updates based on the distance measured, assuming a straight line in three dimensions between origin and destination, taking into account elevation change. If you add a waypoint, elevation will be tracked at each waypoint. If you choose to move the origin token (by hitting spacebar) after measuring, the token elevation will be updated along each waypoint.
Token Ruler
When dragging a token, the ruler will automatically appear if you have enabled "Token Ruler" in the module settings. To set waypoints when dragging a token, hit the specified hotkey (default '=' to add and '-' to remove). To adjust the colors that appear for designated speeds see [Setting speed colors](## Setting speed colors). If you would like specific system support, please feel free to submit a git issue.
Token Speed Highlighting
As of version 0.7.4, an option in settings highlights the ruler (or Token Ruler, when enabled) in different colors based on token speed (walk/dash/maximum).
As of version 0.8.3, Elevation Ruler adds a toggle to the Token HUD to allow you to switch from automatic estimation of whether the token is walking, flying, or burrowing to manual. Token speed will be based on the respective movement choice.
Pathfinding
As of version 0.8.0, a button in the Token controls enables pathfinding for the ruler (or Token Ruler, when enabled). Pathfinding works on gridded (both hex and square) and gridless maps. If using the ruler, start a measurement at a token in order to start pathfinding.
Settings allow you to designate all tokens or hostile tokens as spaces to be avoided.
To enable/disable pathfinding, toggle the pathfinding icon in the token controls (upper left controls in Foundry). You can also hold the specified hotkey (default 'P').
Dependencies
- [libWrapper](https://github.com/ruipin/fvtt-lib-wrapper)
(Elevation Ruler 0.4+ requires Foundry v9 because it replaces the DF Hotkeys dependency with the Foundry keybindings introduced in v9. )
(Elevation Ruler 0.5+ requires Foundry v10 due to improvements in the Foundry Ruler API.)
(Elevation Ruler 0.7+ requires Foundry v11.)
(Elevation Ruler 0.9+ requires Foundry v12.)
Modules that add functionality
- [Elevated Vision](https://github.com/caewok/fvtt-elevated-vision)
- [Terrain Mapper](https://github.com/caewok/fvtt-terrain-mapper)
- [Wall Height](https://github.com/erithtotl/FVTT-Wall-Height)
Support
Consider buying me a beer if you like my work. https://ko-fi.com/caewok