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

Animevents is unreliable... #821

Open
dusty22 opened this issue Mar 30, 2016 · 3 comments
Open

Animevents is unreliable... #821

dusty22 opened this issue Mar 30, 2016 · 3 comments

Comments

@dusty22
Copy link

dusty22 commented Mar 30, 2016

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.

@dusty22
Copy link
Author

dusty22 commented Jun 16, 2016

In MP I think it works correctly, so maybe we could port the code over.

@dusty22
Copy link
Author

dusty22 commented Aug 4, 2016

@Razish @mrwonko @xycaleth

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.

@dusty22
Copy link
Author

dusty22 commented Aug 9, 2016

Anybody there?

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

2 participants