-
Notifications
You must be signed in to change notification settings - Fork 220
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
gunplay should match voxlap now #766
Conversation
recoil, spread, and damage values are identical recoil algorithm should match as well notably, the shotgun is SIGNIFICANTLY weaker after this commit
I added the |
Seems to match up with what I and mat's client have, except the spread looks about twice as large as it should be. But maybe that's just my misunderstanding of how OS calculates spread |
from memory, last time we concluded that OS calculates spread and knockback differently |
I also think it's worth deliberately not nerfing the shotgun, because the voxlap shotgun is just too useless. |
The reason I didn't send this earlier was that I couldn't decide what to do with the shotgun. Some people have complained that OS makes shotguns too strong in arena - not sure how much I believe it. I think OpenSpades and ace/classic raw spread values should be off by 2x - OS does "0.5x if scoped" and the others do "2x if unscoped": The classic horizontal wave is kind of dumb for non-SMG recoil. The period is 1.024s and the rifle shoots twice in 1s, meaning if you're shooting as fast as possible, every other shot will have almost the same recoil (and the others will be almost the same but mirrored). The shotgun shoots once per 1s, so it's even more of a problem. This pullreq should perfectly match classic, but we should think about if they should just be normal RNG. (this maybe should be a separate issue) The horizontal wave period change also changed the multiplier for horizontal recoil values by 255.5x. The new 0.75 values, after scaling to match the old ones: Notably, the existing 0.76 values match the classic client exactly - I assume greaser looked at it when adding 0.76 compatibility. Unfortunately, he didn't look at how the calculations worked, so they ended up with 255.5x less horizontal recoil and 2x less spread than they should have had. This pullreq is a big nerf to 0.76 OS. |
can this be merged now after re-buffing the shotgun? |
@yvt take a look at this? |
I don't think shotgun needs a buff, at least in voxlap if you master it, it could go pretty decent, but now it takes zero skill |
As the original author of the PR which added 0.76 support in the first place, I can confirm that the current OpenSpades X recoil values for 0.76 are completely wrong when fed through the current OpenSpades recoil logic, but are completely right when fed through the vanilla client's logic. This was made apparent when we attempted to test 0.76 support in piqueserver and people noticed a complete lack of X recoil on the SMG. I am not in a particularly good position to prove that the implementation is perfect, but it's definitely a huge improvement over what we've got right now so that's a 👍 from me. The only concern I have with this patch is that, while the SMG is using the correct delay value as per the vanilla client, I'm not sure if the rest of the engine is set up to emulate the slightly wonky timing in that department... assuming the timing is still wonky in 0.75. Still, this is a huge improvement in the 0.76 department, and without this PR, we can't really run 0.76 servers without banning OpenSpades clients from them, and that would suck because OpenSpades is quite possibly the most popular client and also a key part in actually getting this game thriving again. TL;DR please merge this and start preparing for a 0.1.4 or 0.2 release. And as for that comment about not nerfing the shotgun, I do admit I've been enjoying what the shotgun's at right now and I would be in favour of having that as a base for cleaning up the weapon balance via a protocol extension and then eventually a new protocol version once people are happy with the results. But for now, I'm going to have to enjoy the pain of the 0.75 shotgun being even more of a 0.75ly meme. |
Sorry for the delay. I'll merge it soon! |
recoil, spread, and damage values are identical
recoil algorithm should match as well
notably, the shotgun is SIGNIFICANTLY weaker after this commit - on average it will do half as much damage as before
This is correct to the best of my knowledge, but it would be nice if people could doublecheck. I've been playing on it for a while and it feels right.
I haven't played 0.76 very much, I don't know how it should feel, but I'm pretty sure this will match it as well.