Toggle Fog Of War

If you liked this item, please rate it up on Steam Workshop page.

Author: ∞COCO∞

Last revision: 13 Jun at 20:58 UTC

File size: 712.84 KB

On Steam Workshop

Description:

This mod adds a new button to the upper-left corner of the campaign map, allowing you to toggle the fog of war display at any time.

It does not permanently modify visibility through DB tables. Instead, it controls the campaign map fog of war through scripting.

Features
  • Adds a dedicated button to the upper-left corner of the campaign map for toggling fog of war.
  • Only affects the player’s own campaign map view. AI factions will not gain your vision.
  • Does not permanently affect end-turn performance like traditional “full map vision” DB edits, because the game restores the normal fog state during the turn flow.
  • Compatible with existing saves. You can use it in an ongoing campaign.
  • Supports all three vanilla campaigns: Sengoku Jidai, Rise of the Samurai, and Fall of the Samurai.

Compatibility

Shogun 2 uses an older script-loading system. Unlike later Total War games, it does not provide a clean dedicated loading path for player-made script mods. As a result, multiple mods that modify or depend on the same game script files may conflict depending on load order.

This mod has been designed to avoid directly replacing the main campaign scripts as much as possible, but it may still fail in the following cases:

  • Another mod overrides the same script entry file.
  • Another mod contains Lua syntax errors, preventing the game’s script chain from starting correctly.
  • A large overhaul mod makes extensive changes to campaign scripts or the UI structure.

Vanilla campaigns have been tested. Compatibility with large overhaul mods should be tested on your own setup.

If the Mod Does Not Work
  • Disable other mods and test with only this mod enabled.
  • If the button appears when this mod is enabled by itself, the issue is usually caused by a script conflict or a broken script in another mod.
  • If it does not work with a large overhaul mod, try adjusting the load order or check whether that overhaul modifies the related/same-name campaign scripts.