-
Notifications
You must be signed in to change notification settings - Fork 81
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
Sounds: Added multiple UI sounds #1460
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Histalek
requested changes
Mar 7, 2024
all things should be done @Histalek |
Histalek
approved these changes
Mar 7, 2024
saibotk
requested changes
Mar 7, 2024
saibotk
approved these changes
Mar 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After testing #1437 I notices that it feels really weird to not have any kind of feedback when interacting with entities. When picking up entities, there already is a sound, but not when opening UIs. Therefore I added
sound.ConditionalPlay
that plays a sound if the sound type is enabled in the settings.I also extended this to body search and UI buttons.
See this demo video: https://www.youtube.com/watch?v=c6ixkuFSYfw
Note: I also pulled in the changes from #1351 and added them to the same system. They are disabled by default.
Menu to disable sounds by type:
![image](https://private-user-images.githubusercontent.com/13639408/310837099-fe57417b-f55f-42cd-952d-c632b4aaab1e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NzQyNDQsIm5iZiI6MTczOTU3Mzk0NCwicGF0aCI6Ii8xMzYzOTQwOC8zMTA4MzcwOTktZmU1NzQxN2ItZjU1Zi00MmNkLTk1MmQtYzYzMmI0YWFhYjFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIyNTkwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA4YmYwODYwMGJiNTBlYmJmZjEzMWJjMDhiNmYxNjZkZDczMzM4OGQzNGZhYTAyZDViMDVjMWZiM2MzNGZiNGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.XyLUPRCEV9UiqmnbL8GefoirFDrj1OWOHaPpxFD72g8)