Skip to content

A module for FoundryVTT that lets you draw fog of war manually

License

Notifications You must be signed in to change notification settings

cas206/simplefog

 
 

Repository files navigation

Simplefog

A module for FoundryVTT that lets you draw fog of war manually.

Feature overview video

Feature Overview

Encounter Library did a review of Simplefog which explains how it works much better than I can, please check it out if you would like an idea how this module works.

Features

  • Simplefog implements a manual fog of war layer above the core vision layer
    • Enable and disable the simplefog layer at any time, per scene
    • This allows you to use both Simplefog AND the core vision for line of sight, or alternatively use only one or the other, on a scene by scene basis
  • Tokens can be automatically hidden and revealed when underneath Simplefog with a configurable opacity threshold
  • Implements a history system so you can easily undo your actions
  • Various drawing tools for drawing and erasing fog of war manually
    • Brush tool
      • Hotkeys for quickly changing brush size [ ]
    • Rectangle & Ellipse tool
      • Hold shift to force equal width & height while drawing
    • Polygon Shape tool
      • Click the orange handle to finish your drawing, or right click to cancel
    • Grid tool
      • Reveals any grid square you drag across, works for both Hex and Square grids

Tools Palette

Scene Configuration

Allows you to set various options which affect the entire layer for the current scene

  • Set the opacity of the entire fog layer for both players and GMs
  • Animate transitions in opacity, allowing for effects such as "Fade to Black"
  • Change tint of the fog for both player and GM, for example to indicate a green poison cloud
  • Apply a blur filter for soft edges to fog
  • Enable or disable the automatic vision feature
  • Save your settings as the new default when creating a scene

Scene Configuration Screenshot

Planned Future Features

  • More AutoVisibility options:
    • Reveal based on center of token
    • Reveal only if entire token visible
    • Reveal if any part of token is visible
  • Brush Smoothing / Interpolation
  • Image based fog import
  • Sepia / monochrome filters
  • Add indicator icon of player controlled icons hidden under fog
  • Currently incompatible with the module "GM Scene Background" when a GM layer is active

Bugs and Feature Requests

Please ping me on discord @vance#1935

About

A module for FoundryVTT that lets you draw fog of war manually

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.3%
  • HTML 7.0%
  • CSS 0.7%