-
Notifications
You must be signed in to change notification settings - Fork 12
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
Grenade throw source position closer to center of screen #550
base: master
Are you sure you want to change the base?
Grenade throw source position closer to center of screen #550
Conversation
https://github.com/user-attachments/assets/49315514-5ac1-4658-9cde-994ef9221bb6 |
I can remove the -fixes #466 if there are other problems that we want to fix with the grenades. For example throwing from the same position at the same angle I notice some variation in how far the grenade flies, with there being almost no variation in the original |
Idk why you're making it hard on yourself. The NT grenade code is right here https://github.com/NeotokyoRebuild/neo/blob/master/mp/src/game/shared/sdk/weapon_basesdkgrenade.cpp |
Far as I can tell thats the weapon_basesdkgrenade code, and using the values defined there results in different behaviour to the original |
Which is what OGNT inherits from. Maybe grey tweaked some values, but behavior wise it'll give you parity. edit: Sorry, I realized I probably should've put this in #466 instead of this PR. |
The grenade's velocity indeed seems to correlate to the angle at which it was thrown , but I don't have the know how to measure the grenades thrown angle compared to the eyes angle or the velocity of the grenade in the original. I'll remove the fixes 466 and leave this pr as is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Toolchain
Linked Issues