The Witcher 3
0 of 0

File information

Last updated

Original upload

Created by

erxv

Uploaded by

erxv

Virus scan

Safe to use

Tags for this mod

About this mod

Makes the camera angle while aiming the crossbow more like Sword of Destiny trailer

Permissions and credits
Donations
Makes the camera angle while aiming the crossbow more like Sword of Destiny trailer

v1.2
 - Removed lock on while aiming (not for tapfire) so that the camera movement is smoother

v1.1
 - Geralt no longer slide/rotates while aiming


Installation:
Put the modCrossbowCameraChange into your Mods folder

Uninstall:
Take it out of there....

Recommended to use with my other mod Sword of Destiny Igni Camera  :) (self promoting, wohoo!)

Conflicts:
This mod modifies the aimThrow.ws so use Scriptmerger if there are any conflicts


Customizing:

navigate yourself to:  TheWitcher3WildHunt\content\content0\scripts\game\player\states\aimThrow.ws

line 191

if ( rawToCamHeadingDiff > -45 && rawToCamHeadingDiff < 45 )
        {
            camOffsetVec.X = 0.69f;
            camOffsetVec.Y = -0.9f;
            camOffsetVec.Z = -0.1f; 
        }
        else if ( rawToCamHeadingDiff >= 45 && rawToCamHeadingDiff < 135 )
        {
            camOffsetVec.X = 0.69f;
            camOffsetVec.Y = -0.9f;
            camOffsetVec.Z = -0.1f; 
        }
        else if ( rawToCamHeadingDiff <= -45 && rawToCamHeadingDiff > -135 )
        {
            camOffsetVec.X = 0.69f;
            camOffsetVec.Y = -0.9f;
            camOffsetVec.Z = -0.1f; 
        }
        else
        {
            camOffsetVec.X = 0.69f;
            camOffsetVec.Y = -0.9f;
            camOffsetVec.Z = -0.1f;
        }
    }
    else
    {
        camOffsetVec.X = 0.69f;
        camOffsetVec.Y = -0.9f;
        camOffsetVec.Z = -0.1f;   
    }
    
    
if ( parent.rangedWeapon && parent.rangedWeapon.GetCurrentStateName() == 'State_WeaponReload' )
    {
        camOffsetVec.X = 0.69f;
        camOffsetVec.Y = -0.9f;
        camOffsetVec.Z = -0.1f;   
    }

change the values as you want!

so, the last set of:
    camOffsetVec.X = 0.69f;
    camOffsetVec.Y = -0.9f;
    camOffsetVec.Z = -0.1f;   

is while reloading, and the second to last is while standing still, others are for moving in a certain direction. best to test is with the standing still one.

z is height, y is distance, and x is horizontal (-left +right)