Volume Control

Volume Control
by Zero_G

Introduction

I found no volume control script for VX (turns out there are others) so I wanted to port Ru/むっくRu (Rutan) one, but gave up mid way and made a simple one that uses game variables.

With this script you can define a master volume for BGM, BGS, SE and ME by editing constants in the script, or control the volumes via game variables (you will need to initialize those variables on a new game if you don't want 0 volume, main many screen will not be affected)


Features
  • Set Volume of BGM, BGS, SE and ME

Terms of Use
  • Free for use in non-commercial projects.
  • Free for use in commercial projects.
  • Please provide credits to Zero_G and むっくRu (Rutan).

Credits
  • むっくRu (Rutan) for volume change methods

Changelog
  • v1.1 - Fixed a crash when restarting (thank you kyonides)
  • v1.0 - Initial Release.

Download

Source
It is terrible, the script shouldn't crash. The only reason why it happens gotta be that you didn't place some

unless $@

as a statement modifier at the end of the aliases.

Besides, it can get a tad bothersome to adjust the volume every time you start a new game. That's why scripters normally look for a way to do it globally.

Spoiler
Well, your initial statement is wrong. There are volume control scripts for VX like mine, KShlenam VX. Anyway, it's not bad to offer multiple options here.
Yeahhhh congrats on putting out a script and all but a volume control script shouldn't crash the game when you restart it, that seems like something's been miscoded somewhere.
It is terrible, the script shouldn't crash. The only reason why it happens gotta be that you didn't place some

unless $@

as a statement modifier at the end of the aliases.

Yeahhhh congrats on putting out a script and all but a volume control script shouldn't crash the game when you restart it, that seems like something's been miscoded somewhere.
I'm getting a stack too deep error on the audio method alias, first time that happened to me, kyonides, if you can explain that unless $@ a bit more I would be thankful.

Yeah originally this script was only for me, that's because is so much low effort, and I didn't have the time to invest in it. It would have been really helpful if I found a script for it before, but searching on this forum and google gave nothing, even now searching for "KShlenam VX" gives nothing, can you give a link to it?

Original thread: https://forums.rpgmakerweb.com/threads/volume-control.151879/