Make station radio sound global #233

Merged
LilithArson merged 5 commits from global-radio-20260519 into master 2026-05-19 19:31:36 +00:00
Owner

PR Changes

The audio that the station radio plays is now global (like event music) - no more jittery audio when you use the volume slider!
Fixes #177, fixes #196

Reasons Behind Changes

Complaints of Radio volume being too loud to some users.

Code & Technical details

The previous volume system was a buggy mess, and the radio system even moreso.

Images; Sprites; Media

none

Checklist

Breaking changes

Ingame Changelog

🆑

  • tweak: Station radio rig now plays sound globally on the station instead of being linked to the radio entities
  • fix: Station radio volume slider now functions as it should
## PR Changes The audio that the station radio plays is now global (like event music) - no more jittery audio when you use the volume slider! Fixes #177, fixes #196 ## Reasons Behind Changes Complaints of Radio volume being too loud to some users. ## Code & Technical details The previous volume system was a buggy mess, and the radio system even moreso. ## Images; Sprites; Media none ## Checklist <!--Understand that not following all Contributor rule standards may get your PR closed at a maintainer’s discretion. Failure to follow the Contributor's ruleset may lead to your removal as a contributor.--> <!-- Confirm by placing an X in the brackets [X]: --> - [x] I read the [Pull Request and Changelog Guidelines](https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html) and [Byrd Station's Contributor Ruleset](https://docs.google.com/document/d/1oxCSRBc_2IlrcykljB5SPt783uJX7rMHTT7cImxlKFM/edit?tab=t.0#heading=h.vigrxrnffwji) am following them. - [x] I have added media to this PR, or it does not require an ingame showcase. ## Breaking changes <!-- List any breaking changes, including namespaces, public class/method/field changes, prototype renames; and provide instructions for fixing them. This will be posted in #codebase-changes. --> **Ingame Changelog** <!-- Add a Changelog entry to make players ingame aware of new changes that could affect gameplay.--> :cl: - tweak: Station radio rig now plays sound globally on the station instead of being linked to the radio entities - fix: Station radio volume slider now functions as it should
Radio sound is now global, no more fucky audio when you use the volume slider :)
Some checks failed
RSI Validator / Validate RSIs (pull_request) Waiting to run
Map file schema validator / YAML map schema validator (pull_request) Waiting to run
YAML Linter / YAML Linter (pull_request) Waiting to run
Close PRs on master / run (pull_request_target) Has been skipped
Labels: Size / size-label (pull_request_target) Successful in 4s
Labels: PR / labeler (pull_request_target) Successful in 4s
Labels: Untriaged / add_label (pull_request_target) Failing after 3s
soft-repoban check / check-author (pull_request) Successful in 3s
Check Merge Conflicts / label (pull_request_target) Successful in 16s
CRLF Check / CRLF Check (pull_request) Successful in 17s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Has been cancelled
Test Packaging / Test Packaging (pull_request) Has been cancelled
RGA schema validator / YAML RGA schema validator (pull_request) Has been cancelled
Update REUSE Headers / update_headers (pull_request_target) Has been cancelled
Build & Test Map Renderer / Build & Test Debug (pull_request) Has been cancelled
a756cfbc36
chore: Automatically update REUSE headers
Some checks are pending
Check Merge Conflicts / label (pull_request_target) Waiting to run
Labels: PR / labeler (pull_request_target) Waiting to run
Labels: Size / size-label (pull_request_target) Waiting to run
Update REUSE Headers / update_headers (pull_request_target) Waiting to run
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Waiting to run
Build & Test Map Renderer / Build & Test Debug (pull_request) Blocked by required conditions
CRLF Check / CRLF Check (pull_request) Waiting to run
Test Packaging / Test Packaging (pull_request) Waiting to run
RGA schema validator / YAML RGA schema validator (pull_request) Waiting to run
RSI Validator / Validate RSIs (pull_request) Waiting to run
Map file schema validator / YAML map schema validator (pull_request) Waiting to run
YAML Linter / YAML Linter (pull_request) Waiting to run
7dc3c7dd20
Remove debug logging calls
All checks were successful
Labels: PR / labeler (pull_request_target) Successful in 2s
Labels: Size / size-label (pull_request_target) Successful in 2s
Check Merge Conflicts / label (pull_request_target) Successful in 17s
CRLF Check / CRLF Check (pull_request) Successful in 17s
Update REUSE Headers / update_headers (pull_request_target) Successful in 56s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 51s
RSI Validator / Validate RSIs (pull_request) Successful in 44s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 3m28s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 3s
YAML Linter / YAML Linter (pull_request) Successful in 3m54s
Map file schema validator / YAML map schema validator (pull_request) Successful in 5m41s
Test Packaging / Test Packaging (pull_request) Successful in 9m16s
b54410630c
Namespacing + don't filter events
All checks were successful
Labels: Size / size-label (pull_request_target) Successful in 4s
Labels: PR / labeler (pull_request_target) Successful in 4s
Check Merge Conflicts / label (pull_request_target) Successful in 17s
CRLF Check / CRLF Check (pull_request) Successful in 17s
Update REUSE Headers / update_headers (pull_request_target) Successful in 49s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 40s
RSI Validator / Validate RSIs (pull_request) Successful in 38s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 3m38s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 4s
YAML Linter / YAML Linter (pull_request) Successful in 3m34s
Map file schema validator / YAML map schema validator (pull_request) Successful in 5m21s
Test Packaging / Test Packaging (pull_request) Successful in 8m1s
dac3db4091
Let lavaland players hear the radio, why not
Also, otherwise it won't stop the audio for players outside the station or start for players who just entered it
LukeZurg22 changed title from Make station radio sound global to WIP: Make station radio sound global 2026-05-19 10:18:22 +00:00
Contributor

Don't merge this yet. I would rather go through the codebase and attempt an implementation that doesn't feel as rushed and low quality as this one.

Don't merge this yet. I would rather go through the codebase and attempt an implementation that doesn't feel as rushed and low quality as this one.
Remove dead code, only start playing for players on station.
All checks were successful
Check Merge Conflicts / label (pull_request_target) Has been skipped
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Has been skipped
Labels: Size / size-label (pull_request_target) Successful in 3s
Labels: PR / labeler (pull_request_target) Successful in 3s
Build & Test Map Renderer / Build & Test Debug (pull_request) Has been skipped
CRLF Check / CRLF Check (pull_request) Has been skipped
Test Packaging / Test Packaging (pull_request) Has been skipped
RGA schema validator / YAML RGA schema validator (pull_request) Has been skipped
YAML Linter / YAML Linter (pull_request) Has been skipped
Map file schema validator / YAML map schema validator (pull_request) Has been skipped
RSI Validator / Validate RSIs (pull_request) Successful in 24s
Update REUSE Headers / update_headers (pull_request_target) Successful in 43s
PR Changelogs / changelog (pull_request_target) Successful in 21s
1169ad4971
LilithArson changed title from WIP: Make station radio sound global to Make station radio sound global 2026-05-19 19:30:54 +00:00
Author
Owner

Merging this for now pending further rework, this system is still infinitely better than what's currently available.

Merging this for now pending further rework, this system is still infinitely better than what's currently available.
LilithArson deleted branch global-radio-20260519 2026-05-19 19:31:37 +00:00
byrdbot referenced this pull request from a commit 2026-05-19 19:31:56 +00:00
LilithArson referenced this pull request from a commit 2026-05-22 20:47:31 +00:00
Sign in to join this conversation.
No description provided.