The Witcher 3
0 of 0

File information

Last updated

Original upload

Created by

Zur13

Uploaded by

Zur13

Virus scan

Safe to use

Tags for this mod

About this mod

Adds several layouts for consumables slots (equipped Potions). Allows you to toggle consumables slots layouts (items equipped in consumables slots) using hotkey. Supported patch 1.30 and 1.31

Permissions and credits
Changelogs
Potions Please

Adds several layouts for consumables slots (equipped Potions). Allows you to toggle consumables slots layouts (items equipped in consumables slots) using a hotkey.

Updated to work with v1.30 and 1.31


1. Installation

Make a backup copy of your save game folder before using any mods!

Unpack archive to the <game_installation_dir>\mods folder (steam path example: D:\Steam\SteamApps\common\The Witcher 3\mods). If mods folder
doesn't exist, create it.

Check that you don't create second <modXXX> folder when unpacked the file, you should have this folder structure: <game_installation_dir>\mods\modPotionsPlease\content.

This mod needs 2 game configuration files to be modified to allow usage of mod hotkey. You have 3 options to do this (items 1.1, 1.2 or 1.3 in this document, use only one of them):



1.1. For this purpose you may want to use optional configuration files from Files section of this mod (they are absent in this mod archive).

Make a copy of your original files before replacing them with provided files.

The first file named input_qwerty.ini is located in <game_installation_dir>\bin\config\r4game\legacy\base\input_qwerty.ini

The second file named input.xml is located in <game_installation_dir>\bin\config\r4game\user_config_matrix\pc\input.xml

After replacing both files go to item "1.4 Setting the hotkey" to finish installation.



1.2. Or you may change the required files by yourself using notepad as described bellow:

Make a copy of your original files before making any changes.

  • The first file named input_qwerty.ini is located in <game_installation_dir>\bin\config\r4game\legacy\base\input_qwerty.ini
Spoiler:  
Show

You should find in this file such lines (ignore the "QUOTE" word, it is not part of files it's site engine):
[BASE_PanelsShortcuts]
IK_K=(Action=PanelChar)
IK_I=(Action=PanelInv)
IK_M=(Action=PanelMapPC)
and add this line

IK_T=(Action=TogglePotionSlots)

after

[BASE_PanelsShortcuts]

so you will have (ignore the "QUOTE" word, it is not part of files it's site engine):
[BASE_PanelsShortcuts]
IK_T=(Action=TogglePotionSlots)
IK_K=(Action=PanelChar)
IK_I=(Action=PanelInv)
IK_M=(Action=PanelMapPC)

Save this file changes and go to the second file:

  • The second file named input.xml is located in <game_installation_dir>\bin\config\r4game\user_config_matrix\pc\input.xml
Spoiler:  
Show

You should find in this file such lines (ignore the "QUOTE" word, it is not part of files it's site engine):
<?xml version="1.0" encoding="UTF-16"?>
<UserConfig>
    <Group builder="Input" id="PCInput" displayName="controls_pc" tags="keybinds">
        <VisibleVars>
            <!-- builder must be input; id and displayName are custom names (whatever you want), displayType must be INPUTPC -->
and add this line

<Var builder="Input" id="TogglePotionSlots" displayName="MOD Toggle Potion Slots" displayType="INPUTPC" actions="TogglePotionSlots"/>
 

after

<VisibleVars>

so you will have (ignore the "QUOTE" word, it is not part of files it's site engine):
<?xml version="1.0" encoding="UTF-16"?>
<UserConfig>
    <Group builder="Input" id="PCInput" displayName="controls_pc" tags="keybinds">
        <VisibleVars>
            <Var builder="Input" id="TogglePotionSlots" displayName="MOD Toggle Potion Slots"  displayType="INPUTPC" actions="TogglePotionSlots"/>
            <!-- builder must be input; id and displayName are custom names (whatever you want), displayType must be INPUTPC -->

Save this file changes too and finish the installation with "1.4 Setting the hotley".




1.3 Manually set the key binding for mod (Failsafe way)


This way doesn't add the new keybinding options in the menu but the hotkey will work in game. So you don't need to do "1.4 Setting the hotley". It's recommended to use this way if you have troubles using this mod with other mods for example FriendlyHUD mod.


To manually set keybinding for this mod you should modify file:

C:\Users\<YourUserName>\Documents\The Witcher 3\input.settings

Spoiler:  
Show

You should find several sections (section is lines in file after [section_name] line) and add new keybinding to the sections listed bellow:
[BASE_PanelsShortcuts]
IK_T=(Action=TogglePotionSlots)

[Boat]
IK_T=(Action=TogglePotionSlots)

[BoatPassenger]
IK_T=(Action=TogglePotionSlots)

[Combat]
IK_T=(Action=TogglePotionSlots)

[Diving]
IK_T=(Action=TogglePotionSlots)

[Exploration]
IK_T=(Action=TogglePotionSlots)

[Horse]
IK_T=(Action=TogglePotionSlots)

[ScriptedAction]
IK_T=(Action=TogglePotionSlots)

[Swimming]
IK_T=(Action=TogglePotionSlots)
You may need to set file read-only after that.




1.4 Setting the hotkey

After you have modified versions of both configuration files you may start the game now you will have additional item in Options->Key Bindings menu called "##MOD Toggle Potions Slots" with no key bound.

To force the game to save this new Key Binding for the first time you should reset it to default (move mouse over the new key bind line and press R key, the key bounded in this line should change to T).

Then you may set it to whatever you want.



2. Usage

As mod description said after installing this mod you will have a hotkey to swap equipped potions layouts. You may use hotkey in battle or on Items menu screen. Don't forget to place potions on the second layout on items screen before going to battle :)



3. Manual configuration (Optional)

You may change the amount of equipped potion layouts from 2 to whatever you want.

The manual configuration made using file PPUserConfig.ws. It is located inside modPotionsPlease folder (<game_installation_dir>\mods\modPotionsPlease\content\scripts\local\PP\PPUserConfig.ws).

You may edit it using windows notepad (other text editors may corrupt the file and you may have compilation errors). Inside you will find some small amount of code with detailed instructions on where and what values you may change.

Note: the hotkey configuration described in this file doesn't work!



4. Tech information

This mod contains modified versions of

scripts\game\gui\menus\commonMenu.ws
scripts\game\player\playerWitcher.ws

from game version v.1.08 it may be incompatible with other versions of the game.

Also it will be incompatible with other mods that modify any of this files.



5. Troubleshooting

  • Q. I've installed the mod but I don't see any new Keybinding Options in the menu Options->Key Bindings
  • A. Something wrong with input.xml file check items 1.1 or 1.2 in this document.

  • Q. I've installed the mod set the hotkey but it doesn't work
  • A. It may be 3 reasons for this:
  • Something wrong with input_qwerty.ini file check items 1.1 or 1.2 in this document (in this case the hotkey binding made through the options menu doesn't save between game relaunches).
  • You have mod conflict: some other mod has modified versions of files used by this mod. To find the mod which conflicts with this mod see Tech information section in this document to find the list of files used by this mod, now you can check which mods from your mod folder has one of this files (mods with the same files are causing the conflict). In this case you may delete conflicting mod or try to use mod merger tool something like this one.
  • You have misplaced the mod folder and game didn't find the mod (in this case you did not see the RED splash screen doing some compilation work on first game launch after mod installation). Check the section "1. Installation" on correct mod installation paths information.
  • Q. I can't get Keybinding Options to work.
  • A. If for some reason you can't set new Keybinding Options to work you may set keybinding manually see "1.3 Manually set the key binding for mod (Failsafe way)"


Enjoy! Remember to endorse if it works for you!