Main Menu
  • Welcome to The RPG Maker Resource Kit.

[XP] Dynamic Sound Effects (Event System)

Started by modern algebra, August 09, 2007, 07:27:38 AM

0 Members and 1 Guest are viewing this topic.

modern algebra

Preface: this is the type of event system better done with scripts. But I feel the Event Systems Database needs some beefing up, and so I made it this way first. I may, in the future, write the scripting version, and it would be better. This is a very old system I wrote. All I did recently was convert it into a plug n' play. It still is not optimized


Okay, this event system essentially allows you to set a rectangular area in a map to "emit" a sound. In other words, the closer you get to that area, the louder it is. It is plug n' play, so all you need to do is copy the event from the demo and paste it into your game, then enter the appropriate data for the respective map. This is what the setup looks like:



Basically, you set the Upper Left X and Y to be the upper left corner of the sound emitting device (in this case a waterfall), and set the height and width to be the height (how many squares it encompasses vertically) and width (how many squares it encompasses horizontally) of this object. Then, edit the range to be the number of squares you want to be away from the sound before you start to hear it. Then, you will have to go down the page and find this part:



Change all the places where it says Play BGS: Waterfall with the BGS you want the object to play. And then it should work. And remember to turn off the switch [201: Initialized] when you exit the map, and also set variables 201-209 to 0.


I'm sorry for the map which is difficult to move around in and has errors. I made that quickly to revive the screenshot thread. Also, tell me if it lags, I took some precautions, but it still might lag and I'd like to know so I can fix it.

The Demo is attached and the event is on the top row of the grid, first column. i.e. (0,0)

pliio8

Thanks, This si what I want. But i'd love to see a full scripted version.

I'll work with this for now, thanks again.
Games in progress:
Tome of Arastovia: 7% complete at 2 hours of gametime

modern algebra


HolyQuebec

#3
if I get what you mean, this is like kokiri's forest bgm? haha sweet xD nice one Modern!
loll sorry for the comparaison, but this is a great example  ;D
this is some perfect example with ''what to do with the variables without beeing too complicated''
i like how we can create the infinity with the limited..
[spoiler]if you get what i mean :-\ ??? :-\[/spoiler]