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 |

Description
Toolchain
Linked Issues