How to have practically no weapon sway or recoil in an Arma 3 mission.

The weapon sway in Arma 3 is out of control right now. With the 1.54 Nexus update, the weapon sway is like a drunken Irishman. But you can remove this.

player setCustomAimCoef 0.1;
player addMPEventhandler ["MPRespawn", {player setCustomAimCoef 0.1}];
 
player setUnitRecoilCoefficient 0.1;
player addEventHandler ["Respawn", {player setUnitRecoilCoefficient 0.1}];
 
player enablestamina false
player addEventHandler ["Respawn", {player enablestamina false}];

The above code added to the initPlayerLocal.sqf in your mission folder will remove all weapon sway from the game. There is still a tiny movement, but this compensates for the ridiculous fatigue effects after running a short distance.

This version will allow some weapon sway and recoil, this will still allow you to aim properly.

player setCustomAimCoef 0.4;
player addMPEventhandler ["MPRespawn", {player setCustomAimCoef 0.4}];
 
player setUnitRecoilCoefficient 0.6;
player addEventHandler ["Respawn", {player setUnitRecoilCoefficient 0.6}];
 
player enablestamina false
player addEventHandler ["Respawn", {player enablestamina false}];

Here is yet another way. Put this code into the initPlayerLocal.sqf. This example will enable stamina, but will reduce it considerably.

player setCustomAimCoef 0.34;
player setUnitRecoilCoefficient 0.50;
player enablestamina true;
player setUnitTrait ["camouflageCoef",0.8];
player setUnitTrait ['loadCoef',0.1];

And this into the onPlayerRespawn.sqf file.

player setCustomAimCoef 0.34;
player setUnitRecoilCoefficient 0.50;
player enablestamina true;
player setUnitTrait ["camouflageCoef",0.8];
player setUnitTrait ['loadCoef',0.1];
Linux laptop in Arma 3.
Linux laptop in Arma 3.

No comments have been made. Use this form to start the conversation :)

Leave a Reply