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

Sometimes the reload animation does not play #992

Open
q52888940 opened this issue Aug 11, 2024 · 5 comments
Open

Sometimes the reload animation does not play #992

q52888940 opened this issue Aug 11, 2024 · 5 comments

Comments

@q52888940
Copy link

OMG, I always thought REGAMEDLL fixed it, I don't think we need to fix this with AMXX, maybe it's time to consider fixing it?
Sometimes reloading doesn't play the reloading action

@dystopm
Copy link
Contributor

dystopm commented Aug 11, 2024

On the one hand I understand what you are saying, but on the other hand you are not leaving any clues to be able to track the problem. It's kind of mandatory to give context IMO.

Versions of everything, any 3rd party plugin that may interfer, etc etc

@q52888940
Copy link
Author

On the one hand I understand what you are saying, but on the other hand you are not leaving any clues to be able to track the problem. It's kind of mandatory to give context IMO.

Versions of everything, any 3rd party plugin that may interfer, etc etc

This plugin fixes it, I have no way to track down the cause of the problem, but this problem has been in this game for a long time, from the initial version to now, and it has not been fixed, sorry for my poor English, but I believe you can understand what I mean, in some cases the action sequence is not played when reloading weapons

@q52888940
Copy link
Author

reload_animation_fix.txt

@dystopm
Copy link
Contributor

dystopm commented Aug 11, 2024

I'll be glad to hear more opinions because I've never experienced (without ping issues) that reload animation is not playing. I mostly work with weapons when related to modding, so I might say I've got experience with it.

By looking at the code:

  • I don't know why m_fInSpecialReload is not getting reset on weapon changing, I'll fix that
  • Deagle is getting a fix on Fix Deagle Anim #985
  • I need to go deep this issue, because what plugin does is only reset weaponanim value to weapon's respective idle animation "after" reload, which is something that mod does normally. DefaultReload assigns a timer to m_flTimeWeaponIdle which later ensures weapon get idle animation - but this can not always work, because player can spam +attack leading to the weaponanim entvar to not get reset to 0 because of firing, and I'm not getting why that provokes (guessing by your thoughts) that reload animation is not playing correctly, which IS in fact. I need an opinion from client-side @s1lentq

@Vaqtincha
Copy link
Contributor

This bug has existed for a long time. If you shoot continuously (up to 0), the reloading animation sometimes does not play) And I think this is a client bug (since with cl_lw 0 this bug is not observed)

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

3 participants