Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recoil is incorrect [IV of Spades] #2

Open
iamgreaser opened this issue Mar 16, 2024 · 0 comments
Open

Recoil is incorrect [IV of Spades] #2

iamgreaser opened this issue Mar 16, 2024 · 0 comments

Comments

@iamgreaser
Copy link

iamgreaser commented Mar 16, 2024

Branch: 4 - IV of Spades

These cases modify the base recoil values:

  • If the player is airborne, crouching is ignored in terms of recoil calculation (so no halving of the base value) and instead the recoil is doubled from the base value.
  • If the player is pressing any of the 4 horizontal movement keys, and fires an unscoped shot, the recoil is doubled on top of that.

Furthermore, the base recoil values being used are guessed ones, rather than correct ones.

See commit 43b759f on master.

The recoil model itself is also incorrect (it rotates the camera, rather than moves the forward axis then normalises). I've filed this as yvt#1097 so you'll want to follow that. However, it's not as drastic as, well, having 1/8 of the recoil in certain situations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant