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

Update volume in sound-group sog3 to sfx-volume #3574

Merged
merged 7 commits into from
Jul 8, 2024

Conversation

Zedb0T
Copy link
Contributor

@Zedb0T Zedb0T commented Jul 8, 2024

Adds a way to override certain sounds that don't respect the settings that they should...

8mb.video-8ue-Vmxcmr5f.mp4

Copy link
Member

@Hat-Kid Hat-Kid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of this hack, just change (sound-play "menu-close") in progress-pc.gc to (sound-play "menu-close" :vol (-> *setting-control* default sfx-volume)).

@Zedb0T
Copy link
Contributor Author

Zedb0T commented Jul 8, 2024

Instead of this hack, just change (sound-play "menu-close") in progress-pc.gc to (sound-play "menu-close" :vol (-> *setting-control* default sfx-volume)).

l😂

@Zedb0T Zedb0T changed the title Add a override for certain sounds in sound-play. Add a sfk-volume param to the menu-close call in progress-pc. Jul 8, 2024
@@ -2906,7 +2906,7 @@
;; override the enter handler for progress-going-out
(set! (-> progress-going-out enter)
(lambda :behavior progress ()
(sound-play "menu-close")
(sound-play "menu-close" :vol (-> *setting-control* default sfx-volume)) ;; og:preserve-this Make this sound respect sfx setting
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need a preserve-this comment because the pc files are not touched by the decompiler, but not a big deal if it stays.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can clean it up while I'm here but yeah, skip preserves in files that aren't generated by the decompiler makes sense whoops.

@Zedb0T Zedb0T changed the title Add a sfk-volume param to the menu-close call in progress-pc. Update volume in sound-group sog3 to sfx-volume Jul 8, 2024
@Hat-Kid Hat-Kid merged commit 291c89a into open-goal:master Jul 8, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants