Bring the joy of other fps games with decent controller support to payday 2!
So anyway i've been working on this project and decided to share with you all
So here are the Features i created:
Enables Aim Down Sights Snap to enemy and persistent aim assist when your aim is close to center radius of the enemy
The Strength of the snap to enemy has several factors:
1 - Distance:
Depending on how far the enemy is, the range of the radius to snap to enemy is smaller and the strength of the aim assist is weaker.
If the Enemy is too close the radius and strength will be max
2- Weapon Accuracy:
Your weapon's accuracy/spread will be factor on how much the strength of the aim assist will be
Fixed some zero-recoil bug that seems to come out NewRaycastWeaponBase:recoil_multiplier() function when playing on controller and on top of it applied some 25% recoil penalty to mimic the recoil from other fps games
i edit as well the damage of armor shots at heavy unit enemies with armour that always received 0 damage to body shots, now receive 75% penalty from weapon damage (can be removed by deleting the copdamage.lua file from the mod)
im looking for feedback and ideas to add to this mod
known issues
1 - the aim assist only aim at the center of the enemy, couldn't add or edit more aim targets like the head.
2 - the aim assist will throw rarely some weird bugs where it tries to target push your aim against enemies behind walls. But for some reason it wont target enemies behind a window... great
1.1 update:
replaced the recoil effect on controller to instead of just disabling aim assist while shooting to actual listen to the fpcameraplayerbase recoil_kick values, meaning that recoil and aim assist will play out more smooth now, sorry.
Also added auto updating
TODO list:
add dynamic snapping distance based on fov zoom for sights