The Witcher 3

File information

Last updated

Original upload

Created by

ozz61

Uploaded by

ozz61

Virus scan

Safe to use

Tags for this mod

About this mod

This Mod lowers the Gamepad controller vibration level when Quen sign expires.

Permissions and credits
Description

Update: mod compatible for game version 1.22 and 1.30 / 1.31

This Mod lowers the Gamepad controller vibration level when Quen sign expires.

In the original game when Quen sign expires the Gamepad controller vibrates Very Hard. I found this distracting and takes away the immersion of the game. I also feel this can confuse the player as the Very Hard vibration should be for major event and not a small event like the Quen shield expiring.

This Mod changes the vibration level to Very Light (can be changed to different levels - follow manual installtion instructions).


Compatibility
Modifies [content]\scripts\game\gameplay\items\spells\quenEntity.ws
If you have another mod that modifies the same file you can use script merger or manually make the change to the file yourself.
Check download description for compatible game version.

Installation
Download Mod file that is compatible with your game version. If you have a different game version then I recommend to follow the Manual Installation Process. This Mod comes with vibration level set to Very Light, if you want to change the vibration level you can edit the Mod file as per Step 6 in the Manual Installation Process.

Controller Vibration level can be set to:

Very Light
Light
Hard
Very Hard (game sets this level by default)
Turn off vibaration

Installation Steps:

1. Download the Mod file that matches your game version.
2. Extract the Mod into your Witcher 3 Mods folder (e.g. C:\GOG Games\The Witcher 3 Wild Hunt\Mods\). Create the Mods folder if it doesn't already exist.

Note: If you have a different game version not available in the Mod file download link then follow the Manual Installation Process instead.


Manual Installation Process

1. If you have a Mod that already edits quenEntity.ws file then Skip to step 6.

2. create a new directory in [The Witcher 3 Wild Hunt Game Installation]\Mods folder, create the Mods folder too if it doesn't already exit. In this example I will call the directory "modQuenStateExpiredVibrateController"

e.g. [The Witcher 3 Wild Hunt Game Installation]\Mods\modQuenStateExpiredVibrateController\

3. Inside the folder you just created (modQuenStateExpiredVibrateController) create the following folder structure:

content\scripts\game\gameplay\items\spells\

4. Copy the quenEntity.ws game file from your game installation directory:

[The Witcher 3 Wild Hunt Game Installation]\content\content0\scripts\game\gameplay\items\spells\quenEntity.ws

5. paste the copied game file into the new Mod direcotry:

[The Witcher 3 Wild Hunt Game Installation]\Mods\modQuenStateExpiredVibrateController\content\scripts\game\gameplay\items\spells\

6. Open the file in your Mod folder using text editor e.g. Notepad++

[The Witcher 3 Wild Hunt Game Installation]\Mods\modQuenStateExpiredVibrateController\content\scripts\game\gameplay\items\spells\quenEntity.ws

IMPORTANT: make sure you are editing the file in your Mods folder and NOT the original game file in your game directory.

7. Find the state function for Quen Expired as described below:


state Expired in W3QuenEntity
{
event OnEnterState( prevStateName : name )
{
parent.shieldHealth = 0;

if(parent.showForceFinishedFX)
parent.owner.GetActor().PlayEffect('quen_lasting_shield_hit');

parent.DestroyAfter( 1.f );

if(parent.owner.GetActor() == thePlayer)
theGame.VibrateControllerVeryHard();
}
}



To set a lower vibration level, replace the line:

theGame.VibrateControllerVeryHard();

with one of the following line:

theGame.VibrateControllerVeryLight();
theGame.VibrateControllerLight();
theGame.VibrateControllerHard();


IMPORTANT: only choose one of the lines above to set the relevant vibration level.

To disable the vibration, you will need to comment out the 2 lines by placing the //(forward slashes) infront of them like this:
//if(parent.owner.GetActor() == thePlayer)
//theGame.VibrateControllerVeryHard();


8. Finished

Recommended Mods

Display Quen Duration - This is a useful mod which displays the Quen duration in the HUD.