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

[CS1.6] Bullet vector calculation is wrong (REG) #83

Closed
MPNumB opened this issue Feb 15, 2013 · 10 comments
Closed

[CS1.6] Bullet vector calculation is wrong (REG) #83

MPNumB opened this issue Feb 15, 2013 · 10 comments

Comments

@MPNumB
Copy link

MPNumB commented Feb 15, 2013

Not many know, but bullet vectors are calculated kind of wrong.

What is happening is, that m_flAccuracy variable is updated after the shot is fired. Not before, what is the reason for the glitch.

This effects the gameplay quite much. You can attempt to see it yourself by typing cl_lw 0 (so it will show actual bullet location decals), buy ak47, fire about 20 shots non-stop, wait for recoil to cool down (make sure you don't reload or switch weapons), duck, don't move, make sure you are on ground, and fire one single bullet. Now you will see that this bullet is highly off target.


While on this subject, I also must say that scout is quite inaccurate on long range if ducked. It would be really appreciated if standing accuracy would be changed from 0.007 to at least 0.003.


Plus sg550 has really bad math (the worse the spread should be, the better it gets). I'd recommend to check code of this amxmodx plugin what fixes this accuracy based issues: http://forums.alliedmods.net/showthread.php?p=1549133
with testing I found that best fix for this weapon is:
{
m_flAccuracy = ( 0.65 + ( gpGlobals->time - m_flLastFire ) ) * 0.725;
if( m_flAccuracy > 0.98 )
m_flAccuracy = 0.98;
}


And I don't want to report too much, but g3sg1 has no active accuracy calculation at all. I mean the m_flAccuracy variable does get updated, but it's never used. I also would recommend to check/test the code/math of it, cause it seems to be have the same glitch as sg550 (the more spread you should get, the more accurate it becomes).

@DeNeDe
Copy link

DeNeDe commented Feb 19, 2013

hope this will be fixed in the next update

@alfred-valve
Copy link
Contributor

So I had a long look at this and played with some of the numbers. The change to the game feel is pretty large. While it is certainly an unexpected feature, it has been in the game so long now that it is a core mechanic and a part of the game feel, changing it now is not appropriate.

@f4k3
Copy link

f4k3 commented Aug 16, 2013

"While it is certainly an unexpected feature"
So it is a bug.
Add a cvar to control it and let community decide.
Please reopen.

@drag1c
Copy link

drag1c commented May 31, 2016

So basically you dont want to update this because it is old bug and it's GAME now?
But just update that first bullet after rifle shot.

@i486
Copy link

i486 commented Sep 19, 2016

Please fix it and add cvar

@sergiopoverony
Copy link

LOL

@wopox1337
Copy link

@mikela-valve it's will it be fixed?

@SamVanheer
Copy link

Alfred already explained why this won't be fixed.

@i486
Copy link

i486 commented Jul 4, 2019

"Use accuracy from last bullet fired earlier" glitch.

This one will be very welcome "change to the game feel" update if it gets fixed. I'd appreciate if @mikela-valve takes his own look at this.

@BUXPb
Copy link

BUXPb commented Jul 12, 2019

This is not a bug, this is a feature. This should not be fixed in the 1.6 version never. Do not turn this unique and unique game into a dull likeness of CSGO

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

No branches or pull requests

10 participants