[RMVX ACE] JUMP SOUND EFFECT
Posts
Pages:
1
Hiya!
I wanted to add in the base scripts that whenever the jump command is triggered via move route, the jump sound is played. While I could go into hundreds of events and edit them, I think it'd be simpler and more efficient to instead make it like this.
So far I've gone to line 149 in Game_Character and put this line on the end:
But that just errors.
So is there any way to do this?
I wanted to add in the base scripts that whenever the jump command is triggered via move route, the jump sound is played. While I could go into hundreds of events and edit them, I think it'd be simpler and more efficient to instead make it like this.
So far I've gone to line 149 in Game_Character and put this line on the end:
("Jump1", 70, 110).playBut that just errors.
So is there any way to do this?
author=Hexatona
you probably have to get the sound effects class in there?
I thought that might be the case, do you or anyone else know how to do that?
And thankies Hexxy!
Oh. Well, I think it could be...
...that?
*Edit: So, I think it would ultimately look like...
...this, but let's do a few tests!
*Edit2: The hack solution I came up with:
Audio.se_play("Jump1", 70, 100)
...that?
*Edit: So, I think it would ultimately look like...
when ROUTE_JUMP; jump(params[0], params[1]); Audio.se_play("Jump1", 70, 100)
...this, but let's do a few tests!
*Edit2: The hack solution I came up with:
when ROUTE_JUMP; jump(params[0], params[1]); temp = RPG::SE.new("Jump1", 70, 110); temp.play
Yay! Specifing that it's an OGG works,
is the working code!
Yay!
when ROUTE_JUMP; jump(params[0], params[1]); temp = RPG::SE.new("Jump1.ogg", 70, 110); temp.playYay!
Pages:
1
















