Set Music Volume

msmalik681

OpenBOR Developer
Staff member
Just in case this is not obvious to change the music volume on a frame per frame basis.

example:
Code:
frame	data/chars/0_billy/rise01.png
#half the music volume
@cmd setmusicvolume 50 50
frame	data/chars/0_billy/rise01.png
#back to full volume
@cmd setmusicvolume 100 100
frame	data/chars/0_billy/rise01.png

The number are the left and right speakers and they work on a percentage ratio.  No animation script needed as this is a built in function.
 
msmalik681 said:
Just in case this is not obvious to change the music volume on a frame per frame basis.

example:
Code:
frame	data/chars/0_billy/rise01.png
@cmd setmusicvolume 50 50 #half the music volume
frame	data/chars/0_billy/rise01.png
@cmd setmusicvolume 100 100 #back to full volume
frame	data/chars/0_billy/rise01.png

The number are the left and right speakers and they work on a percentage ratio.  No animation script needed as this is a built in function.

Thanks for share my friend!
Good Info.  :D
 
Back
Top Bottom