wzackw

Veteran
Veteran
Joined
Nov 24, 2015
Messages
38
Reaction score
14
First Language
English
So, I'm wondering if it is possible to do a few things with sound effects:

1) Could I play a long (multi-second) sound effect for footsteps, but cut it off when the player stops walking? (Instead of repeating one short sound each time the player takes a step.)

2) If I were to repeat one short "footstep sound" over and over each time the player takes a step, could I randomly alter its pitch each time it plays? (I have never found a way to handle any type of randomness in RPG Maker MV, or to alter pitch outside the system sound settings, so I assume this is a no-go.)

3) Speaking of randomness, I'd also like to play one of five random noises at irregular random intervals (atmospheric background noises). One of the noises every 30-90 seconds, for example. Is this possible?

Thanks! I really appreciate any help, and sorry for so many questions in one post!

For reference, this is my game:
wzackw.itch.io/monster-garden
 
Last edited:

megumi014

Veteran
Veteran
Joined
Mar 8, 2017
Messages
130
Reaction score
213
First Language
Spanish
Primarily Uses
RMMV
Hi! I haven't looked much into it, so I don't know if it will be perfect, but for the first problem you have I tried this and seems to work:

Make a parallel event, create a conditional branch and on the script command write:

$gamePlayer.isMoving();

and play the SE you want. Check the "else" branch and in there use the Stop SE command. It should stop playing when the player stops walking even if the SE is long.

For the random noises I guess another parallel event would work (I don't know if you can combine them to not have so many parallel running and creating lag): control a variable and set it to random x - x (the numbers you want). Then make one conditional branch for every result and play a different SE and the waiting time you desire after them (or the waiting time before the control variable, so you don't have to repeat it in every conditional branch, but it wouldn't be so random).

I actually tried to combine this random method with the first one, to try to modify the pitch of the steps (another variable = random numbers) but the result is too random if the SE is short (it kinda works though, maybe if you play around with it you find a better solution with longer SE).

I hope it helped :) If you need screenshots of the events let me know.
 

wzackw

Veteran
Veteran
Joined
Nov 24, 2015
Messages
38
Reaction score
14
First Language
English
Thank you! I think that actually all makes sense to me! I've come a long way with RPG Maker XD

I didn't know about the random variables within a range, but that sounds perfect. :D

Thanks!
 

Latest Threads

Latest Profile Posts

I just love the MV feature that allows you to create your own animations!
I typically ask this on my normal social media channels, but figured there may be good replies here. Anyone got any good horror movie recommendations? I've seen a lot, but I always love getting suggestions! Bonus points if you know which service it is streaming on (in the US) - bring on the spOoooOky!
 After a few distractions (and my annual rough second week of October), I’m getting back on track with my OMGC project.
 Am I overcomplicating it? Yes. Am I going to tone it down? Almost certainly not.
 At least the dialogue stuff is almost done. I need to do the map itself, and then all that’s left is combat.
 Getting there!
Creating 3D CGs for Cutscenes. :kaosalute:

Forum statistics

Threads
115,906
Messages
1,093,866
Members
151,157
Latest member
Kelard
Top