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

Plumb method for ejecting brass; add ejecting shotgun casings at correct time #995

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Thanson16
Copy link
Contributor

Break out ejecting brass into a dedicated method. Trigger this method after
every shot. Add in appropriate delay so that shotgun casings are ejected
during the pump action rather than when the shot is fired.

I was a little uncertain what to do around the ComputeAmbience and
SetSoundEnvironment stuff - if my EjectedBrass method needs those
parts, let me know.

Tested on Linux, both as a player and in spectator mode.

Closes #917 , related to #909

Break out ejecting brass into a dedicated method. Trigger this method after
every shot. Add in appropriate delay so that shotgun casings are ejected
during the pump action rather than when the shot is fired.
@yvt yvt self-requested a review February 4, 2022 03:33
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

Successfully merging this pull request may close these issues.

Add Shotgun Shell Ejections, Sounds, etc.
1 participant