Menu

Home

Kristen Mork

Fog-Of-War

Welcome to the Fog-Of-War map viewing tool. I wrote this tool more than a decade ago, so the interface looks a bit ... dated.

Usage

java -jar MapViewer.jar [-m map-file] [-c cover-file] [-s save-file] [-e erase-radius] [-f fill-radius] [-x flag-radius]

Any parameters not passed at the command line will be prompted for during load (or exit for the save-file).

Definitions

  • map-file is the name of a jpg file that contains the map.
  • cover-file is the name of a jpg file (with the same dimensions as the map-file) that will serve as the "fog".
  • save-file is the name of the file that will be created when the program exits of the current display.
  • erase-radius is the radius of the circle (in pixels) that will be erased with a left-click.
  • fill-radius is the radius of the circle (in pixels) that will be restored with a right-click.
  • flag-radius is the radius of the circle (in pixels) of any flags set with ctrl- or shift-clicks.

Mouse Interactions

  • Left click to erase a portion of the fog.
  • Left click and drag to erase as you move the mouse.
  • Right click to restore a portion of the fog.
  • Right click and drag to restore as you move the mouse.
  • Ctrl-click to add a green flag (dot).
  • Shift-click to add a red flag (dot).
  • Ctrl-shift-click to remove a flag.

Tips

  • Use a previously saved session as the "fog" at the start of the next session. Anything revealed during that session will remain visible.
  • Use a player's map as the "fog" and erase that map to reveal locations on the DM map.
  • Flags are not saved from session to session.
  • Choose cancel when prompted to save the sesssion if you don't want to save the party's progress.

Project Members: