Joined
Mar 3, 2018
Messages
31
Reaction score
16
First Language
English
Primarily Uses
RMMV
I'm looking for a plugin that will let me fade in and out certain sounds when you're close to the area. For example I have a man on
a roof hammering, but I don't want him to be making a racket throughout the entire map. Is there a plugin or event fix for this?
 

Sauteed_Onion

Mmm Tasty
Veteran
Joined
Dec 13, 2017
Messages
554
Reaction score
3,667
First Language
English
Primarily Uses
RMMV
Well, you can set the volume for an event several tiles away to like say 10%, then the next tile up it to 25%, then 50 % and on and on.
I set the tile height to beneath play, and leave the "trigger" to player touch. That way while you're standing there, you get the noise of standing by say a fountain or running water. It works, just be sure to "Fade Out" sound as you leave the threshold of the noise or you will never stop hearing it. Sorry it's not a plug in, but it is eventable with basic in game events. Not too hard to set up. I hope this helps meow.
 
Joined
Mar 3, 2018
Messages
31
Reaction score
16
First Language
English
Primarily Uses
RMMV
Firstly, your cat is adorable. :LZYcat:
:LZYsmile:Thanks for the suggestion. I had thought of that, but that would be an awful lot of tiles to have events on.
 

Ahuramazda

Veteran
Veteran
Joined
Nov 9, 2012
Messages
262
Reaction score
131
First Language
English
Primarily Uses
RMMZ
Make a single parallel process event that watches the players X/Y on a map and set up conditionals for making it louder or softer based on position would be my suggestion... saves on make many extra events and can be done really using less work overall than make the many events. :D

Edit: I had the same thought as the poster below, but in my case I avoid regions, as I have several in use from other plugins... so setting up extra regions for me wouldn't be an option as it would interfere with how my maps are already set up. If you're not using them for anything else though, then this is actually the best idea.
 
Last edited:

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
731
Reaction score
766
First Language
English
Primarily Uses
RMMV
You could use regions and a parallel process that checks if the player is on region "X" then do "this".
 
Joined
Mar 3, 2018
Messages
31
Reaction score
16
First Language
English
Primarily Uses
RMMV
Tried doing it using Yanfly's region events plugin plus common events, but it keeps freezing on me whenever the event starts. Hm...
 

Sauteed_Onion

Mmm Tasty
Veteran
Joined
Dec 13, 2017
Messages
554
Reaction score
3,667
First Language
English
Primarily Uses
RMMV
I didn't have that hard of a time eventing it, I'd make an event with a low volume, then just copy event, then use arrow keys on my keyboard to move the "selected tile" thingy, and hit ctrl+v to paste that.

So at one "tier" of the noise volume, just make a row or two of tiles with that volume, then make another tile closer to the 'origin' of the sound, and increase the volume, copy it, then ctrl+v it and paste another row or two at that volume.. on the outter limit of the area you want to hear the sound just be sure to "fade out se or bgs" so that the sound dies out. It SEEMS like a lot of work, but it's not too bad when you just start doing it. Ofcourse I really limited the space I needed to hear noises.. I should go back and redo some of that madness.

PS, don't let me discourage from looking for a plug in of the proper nature. I just evented it all cause it just came to me in that way.
 

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
731
Reaction score
766
First Language
English
Primarily Uses
RMMV
No plugin, just use a parallel process and call 3 variables: X, Y, and region of player. Set x of player to game data player map x. Set Y to game data player map y, and get location region using our newly created x and y variables. Then a conditional branch if region of player is 1 or whatever you set the region to, and then control bgs say 10 percent volume. Then set this up over multiple regions and have it get louder. I.e. region 2 has 50 percent volume. Finally at the end of your parallel event have a small wait command so the engine doesn't check to see if the conditions are met 60 times a second. I hope this helps as I am on my phone and typing with thumbs is for teenagers
 

Latest Threads

Latest Profile Posts

I'm having toooo much fun designing the new MP (Mental Psyche) system. I've only worked it out for enemies so far, but it's fun to stun them, then go after their MP and delete them instead to farm for better item drops.
anyone know of a place I can promote my game? sorta like game awards but for indie devs, like a place where I can drop a trailer and like stir up some hype
Doing RPG Maker News for 17th October 2021

That moment when you came up with a very good game title, but when you searched it, it has already been used... T.T
Crazy week. My anxiety decides to go nutz. Worse thing about it is that it causes me to lose focus on my work. I was able to leave early one day and take a nap. Seemed to help. How is everyone? Boosters coming soon here. Get my life back on track again.

Forum statistics

Threads
115,874
Messages
1,093,661
Members
151,119
Latest member
raidans
Top