Jump to content
Sign in to follow this  
Normal Norm

Changing Recoil

Recommended Posts

Is there a way of reducing the weapon sway?  Man i only have to jog for 5 secs and my scope is up and down like a banjo.  Ive tried adding player setUnitRecoilCoefficient 1 or various attempts to players innit line but alas it doesnt work

Share this post


Link to post
Share on other sites

There's these commands that changes sway:

 

this setCustomAimCoef *number*

 

this enableAimPrecision *true/false*

Share this post


Link to post
Share on other sites

Awesome ill try this.  Would I stick this in the innit.sqf folder in order for it to work?  Or the players innit line?

Share this post


Link to post
Share on other sites

Awesome ill try this.  Would I stick this in the innit.sqf folder in order for it to work?  Or the players innit line?

 

Players init line should suffice.

Share this post


Link to post
Share on other sites

I cant seem to get this to work as i would like. If i stick those commands in the players innit line then I can reduce the sway as to how I would like, but if the player has to respawn then it goes back to having massive sway.  Ive tried creating a onPlayerRespawn.sqf and adding the same commands but I still get sway upon respawn :(

Share this post


Link to post
Share on other sites

I sorted it by adding

 

if (local player) then { 

player setCustomAimCoef 0.2; 
player addMPEventhandler ["MPRespawn", {player setCustomAimCoef 0.2;}]; 
 
to the init.sqf

Share this post


Link to post
Share on other sites

i think that this should work:

this enableStamina false;

because the stamina handling is causing the sway.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×