- Mar 13, 2012
- Reaction score
- First Language
- Primarily Uses
Maliki's Master Volume
Features: This Plugin allows devs to utilize a single slider for all 4 sound profiles.
This Master volume could either be set along with the music and sound sliders, or
as a stand-alone setting that will control all sounds simultaneously.
Howto: This plugin is generally plug-and-play and currently only has one parameter.
You can change this param to dictate whether the other music/sound percentage sliders are visible to the player.
UPDATED: Now devs can change the volume with a script call.
Use AudioManager.setMasterVolume(value); to set.
(Must be a number between 0 and 100.)
Also added a toggle mute script call.
Use AudioManager.toggleMute(); to mute all sounds immediately.
The volume value will be saved and restored upon making the call again.
(It will mute again if the player changes the sound value before the second call is made.)
Note that the plugin's file name must not be changed.
Plugin Conflicts: There shouldn't be any conflicts with this plugin, however let me know if any are found and I'll try to correct them.
Permissions: This plugin can be used in any project, commercial or otherwise, as long as credit is given.