Skip to content

Releases: Wibble199/FoundryVTT-Terrain-Height-Tools

Release v0.5.2

28 Feb 21:28
9b01638
Compare
Choose a tag to compare
  • Fix using Lancer-specific function for automated token elevation change feature. New code also works with more cases than the replaced function did, so THT should also work more reliably in these cases. Closes #19.

Release v0.5.1

22 Feb 19:59
20fe5e5
Compare
Choose a tag to compare
  • Fix error when using a non-zero visibility radius setting. Closes #18, thanks @Kuenaimaku
  • Fix terrain always being rendered behind tiles, even when the setting was set to render in front. Thanks Aqua Socks.

Release v0.5.0

22 Feb 16:05
5237ef8
Compare
Choose a tag to compare
  • Added support for Foundry V12.
  • Dropped support for Foundry V11.
  • Added ability to convert terrain shapes to scene regions.

Known Issues

In some hex configurations, THT can incorrectly report a tiny line of sight intersection between tokens when the equivalent V11 measurement wouldn't. I suspect this is related to rounding differences between V11's grid API and V12's. This only appears to happen with the token line of sight tool, not the manual line of sight ruler.

I am releasing 0.5.0 with this bug, because in most cases, I don't think this will affect your game. When inspecting the ruler visually it's quite hard to notice, and the user can just ignore it. It may however cause issues if you are using the API to programmatically test line of sight.

Example of the bug

Release v0.4.7

02 Feb 12:32
e371722
Compare
Choose a tag to compare

Minor update which adds some backwards-compatible changes to the API. This is mainly to support the Grid-Aware Auras v0.2.0 update.

It is recommended to now specify the "group" property when using the API to draw rulers and provide a unique group name based on your module or script, as this allows isolation between other modules/scripts or makes it easier to handle drawing multiple rulers concurrently.

Release v0.4.6

12 Dec 18:22
ecaf39f
Compare
Choose a tag to compare

Another important fix for a bug introduced with the last patch. Seems I can't stop breaking stuff at the moment 🙈

  • Fix error when trying to load scenes without any THT data.

Release v0.4.5

11 Dec 23:03
d8f7238
Compare
Choose a tag to compare
  • This is an important update that fixes THT clearing other flags (e.g. from other modules) from the scene. Big thanks to @mhildom for finding and investigating this problem. Closes #15.

Release v0.4.4

10 Dec 00:59
84dc0d7
Compare
Choose a tag to compare
  • Fix the top/middle/bottom buttons on the token line of sight tool not working.
  • Implement a new %t% placeholder for labels, which is the top of the shape (elevation + height). Resolves #14, thanks @Z3nner.
  • When the token elevation change feature is turned on, tokens will now have their initial elevation set when being dragged onto solid terrain within the scene.
  • Implement Lancer-specific logic for token heights, which should stop the token line of sight tool treating size 0.5 tokens as size 1s.

Release v0.4.3

04 Dec 18:16
26cd8db
Compare
Choose a tag to compare
  • Changed 'Label Format' and 'Label Format (Elevated)' fields to be text areas to allow multi-line labels.
  • Fix error that caused an error when trying to import terrain types from a JSON file which had non-null elevatedTextFormat values.
  • Fix 'None' fill type working identically to 'Solid' fill type.
  • Partial compatibility fix with ui-scaler module.
    • Fixes the errors when the mouse is moved (error was due to ui-scaler incorrectly wrapping a function).
    • Does not fix the weirdness with the terrain viewer being in the middle of screen.

Release v0.4.2

28 Nov 13:06
8f2ccef
Compare
Choose a tag to compare
  • Fixes an issue where having the visibility radius setting turned on while viewing a scene without any terrain shapes would cause a white circle to appear and follow the mouse.

Release v0.4.1

26 Nov 23:41
fdd384d
Compare
Choose a tag to compare
  • Quick change to remove the lower limit on the new texture scaling options. Will now allow negative scales to mirror an image.