Gun Recoil 1.5b

Featured .Net Gameplay Player Weapons


Description


1.5b Hotfix - Fixes GunRecoil.ini, the script was picking up decimals as normal numbers. 1.0 meant 10. Not anymore.

Inspired by Cass' request.

Update 1.5
- Reworked the tilted recoil
- Removed the effect in vehicles
- Removed the effect in any throwable weapon, only guns should trigger it now
- Added all the relevant multipliers into GunRecoi.ini so you guys can finetune it yourselves
- Added Silencer multiplier

2.0 Would feature something related to NPCs. Them ragdolling when firing RPGs and not crouching (high center of mass), maybe.

Features

  • Recoil system for all guns
  • Supports DLC and Modded/Add-On guns
  • Recoil is dynamically adjusted to account for multiple variables
  • Tilted recoil (sideways)
  • The Railgun now ragdolls you
  • Configurable via settings file and internal cheats


Each bullet type has its own recoil value. After that:
Recoil Increases when the gun...
- is held with one hand
- is very short (SNS Pistol, for example)
Recoil decreases when the gun...
- is long-barreled
- is held with both hands
- is held on the shoulder, or you're aiming down its sights
- has a Grip attachment

Cheats (º or ´ key)
recoil toggle - toggles the functionality. Great to compare before/after behavior.
recoil debug - enables Debug information.
recoil reload - reloads the values from GunRecoil.ini.

Installation
All files go into (GTA V Folder)/Scripts/.
If you don't have it, congratulations, this is your first script.
Create the scripts folder and put them there.

REQUIREMENTS
.NET Framework 4.5.2
Visual C++ 2015
ScriptHookV Latest
ScriptHookVDotNet Latest

If you're not convinced with my implementation, check out these Alternatives i found while looking for duplicates. If you think it can be fixed though, do leave feedback!

First Upload: November 12, 2024 Last Updated: November 12, 2024


0 Comments