Date: 2014-06-16 11:14
Weapon recoil camera shake modby
I never liked the guns in Arma because they just didn't feel powerful when you fired them. There was recoil, but only the gun moved and it felt like you were a statue with a bobbing gun attached to it. I used some code in the ammo class to give each weapon some camera shake when fired. The effect helps create the sense of distortion you get when firing large or high rate of fire weapons. The effect doesn't affect the actual aiming, recoil or dispersion of the weapon, it is just a visual effect. The effect is also based on your stance, so standing, crouching and going prone have dramatic effects on the amount of camera shake.
My other gripe against the Arma guns is that they all felt like the same gun. Each type of gun has a different effect based on the type of bullet and weapon.
This just uses config changes, so no scripting is involved. Only covers guns, i never changed the launchers or grenade launchers yet.
Extract into the ArmA 3 Directory, by default this is located in:
32-Bit - C:\Program Files\Steam/Steamapps\Common\ArmA 3\
64-Bit - C:\Program Files (x86)\Steam/Steamapps\Common\ArmA 3\
After extraction it should look like this:
You can also use the "Arma 3 Alpha" folder in your "My Documents" folder. Your folder setup could than look like for example this:
When present place the "userconfig" folder into your game install folder, usually:
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3".
You may already have "userconfig" folder from other addons and/or mods in which case it is safe to merge the contents from this archive.
You'll also need to add a Launch Parameter to Steam, in order to do so right-click on ArmA 3 Alpha and click Properties and then Set Launch Options. In the window that opens enter in -mod=@your_mod_folder_name
For using multiple mods you would then do so like this:
You can also use -nosplash to get rid of the splash art and intro videos.
And of course you can also enable and disable community made addons and mods through the in-game Options Expansions menu if you do not want to mess with startup parameters!
When the above information still does not provide you with enough to learn how to install custom addons and mods you can always ask in our Guide On Installing Mods.
There are three options for controlling the camera shake, and you can adjust them by executing these code lines in-game and then restarting A3.
How much the shake effect moves the screen:
profilenamespace setvariable ['SAKU_SHAKE_POWER', 1];
How long the camera shake lasts:
profilenamespace setvariable ['SAKU_SHAKE_DURATION', 1];
How often the camera shakes:
profilenamespace setvariable ['SAKU_SHAKE_FREQUENCY', 1];
Replace the #1 with any number, '1' is like 100% so '0.5' would be 50%
Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel
- Increased pistol shake
- Reduced sway in launcher aiming
- Reduced launcher to rifle switching time, they seemed slow compared to everything else.
- first release
- BI forums
Tags: No tags