-
Notifications
You must be signed in to change notification settings - Fork 612
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
Animevents is unreliable... #821
Comments
In MP I think it works correctly, so maybe we could port the code over. |
I never did really look into this. I did a preliminary investigation and what seemed to be happening was that the loop (I think it was in the cgame or bg) that combs through the animevents file looking for entries was running but failing to find the animevent entry at all, at least for the punch animations in the case where the sounds weren't playing. I didn't look into the cause though. Perhaps someone else could take it up? I've been doing a lot of coding on my fork lately and have been pretty tied up with that. |
Anybody there? |
I noticed entries in animevents.cfg tend to be unreliable sometimes in Single Player. For example, BOTH_MELEE2 never plays any sound despite having an entry in the file as:
BOTH_MELEE2 AEV_SOUNDCHAN 2 CHAN_AUTO sound/weapons/melee/swing%d.wav 1 4 0
I can confirm from my own testing that the issue seems to be in the function CG_PlayerAnimEvents. Will do some more testing later.
The text was updated successfully, but these errors were encountered: