The Witcher 3

File information

Last updated

Original upload

Created by

mavirick

Uploaded by

Mavirick

Virus scan

Safe to use

About this mod

Adds an assignable action for toggling enabled HUD elements.

Permissions and credits
NOTE:
skacikpl has informed me that his original HUD toggle mod has been reworked and is more efficient than this one. I will not be continuing support for this mod so long as the original provides the same capability:  http://www.nexusmods.com/witcher3/mods/333/?



Description:
This mod adds an assignable action that toggles the visibility of all enabled HUD elements. It is based off of skacikpl's HUD key toggles, but uses only one key and supports the toggling of specific HUD elements--namely, what the player has turned on in his Options>Video>HUD Configuration.

Installation:
  • Install using the Nexus Mod Manager OR unpack into your ...\The Witcher 3 Wild Hunt\Mods folder.
  • Open your ...\Documents\The Witcher 3\input.settings file using any text editor and add a line binding the HUDToggle action to your desired key under every relevant context tag*.

    For example, if you want to bind the HUDToggle to F3, you would add:
    IK_F3=(Action=HUDToggle)
    under each of these tags.

*I did 
[Boat], [BoatPassenger], [Combat], [Combat_Replacer_Ciri], [Diving], [Exploration], [Exploration_Replacer_Ciri], [Horse], [Horse_Replacer_Ciri], [JumpClimb], [Swimming], and [ThrowHold]

Note: HUD Configuration is initialized after every load, so if you enabled/disable certain elements they will not toggle properly until you reload a savegame

Customization:
To prevent certain HUD elements from being toggled off, modify their default value in Initialize() to 0 instead of -1.

So, for example, if I wanted to keep the minimap on and toggle everything else, I would modify line 102 of modHUDToggle\content\scripts\game\player\playerInput.ws to Minimap2Default = 0 instead of -1. So long as the minimap is enabled in your HUD Configuration, it will not be touched by the toggle function.

You could even modify this to switch between two custom HUD Configurations:

For HUD 1, you would want to turn each element on in HUD Configuration and leave their default as is (or set it to 1).
For HUD 2, you would want to turn each element off in HUD Configuration and set their default to 1.
For always-hidden elements, turn each element off in HUD Configuration and leave their default as is (or set it to 0).