Fixes:
- Fixed weapon compression ray origin point being at the end of a stock. It caused certain weapons (mostly pistols) not detecting obstructions if to close witch in return resulted in weapons going through walls, cover, door, etc. Now the origin point is calculated to always be at the center of the character.
Changes:
- Integrated Sentry SDK into project for easier error tracking. Now if there’s a code error I will get the error trace and will be able to fix bugs more quickly.
- Rebuilt weapon compression, offset and recoil system from the ground up for more easy access to said components of each arm. This makes akimbo and otherwise combined weapons possible.
- Disentangled muzzle heating system from weapon heating. Now weapon cooling is not depending on muzzle cooling speed.
- Heat now comes from the cartridge and not the weapon itself which allows different cartridges heating weapon and muzzle differently.
- Returned limb stun system. Projectiles have a separate damage parameter that can stun if enough of that damage was applied at the same limb group.
- Doubled every smart bullet velocity and turn speed.
Additions:
- Added various sound effects from ambient sounds to weapon collisions and impacts.
- Added horizontal movement speed and recoil for crosshair center point which depend on weapon stats and character state just like regular recoil and movement.
- Added weapon jamming. Depending on weapon base malfunction chance and current weapon heat a jam may occur. To clear the chamber press R. For now, this feature enabled only on M4 since every weapon requires unique animations.
- Added ability to change weapons magazine types. For now there’s only options for glock and M4.
