-
Notifications
You must be signed in to change notification settings - Fork 36
Adding Audio
Alchyr edited this page Jul 22, 2025
·
4 revisions
This page is specifically for sound effects. Adding music is significantly more complicated due to requiring interaction with the game's existing music system to change what songs are played.
Custom sound effects can be added using BaseMod's AddAudioSubscriber. BasicMod's main mod file already uses and has some additional code to make it a bit easier to use.
WIP
Brief explanation of normal registration process.
Explanation of how util/Sounds.java is loaded.
Explanation of playing audio using the variables defined in Sounds.java similarly to any audio key in SoundMaster.