Main Menu
  • Welcome to The RPG Maker Resource Kit.

Change Vehicle BGM based on Time

Started by D&P3, September 01, 2012, 12:27:16 PM

0 Members and 1 Guest are viewing this topic.

D&P3

Change Vehicle BGM based on Time
Version: 1.0
Author: DiamondandPlatinum3
Date: September 1, 2012




Planned Future Versions

  • None

    Description


    So I was playing 'Legend of Zelda: Wind Waker' earlier and heard the day and night time boat themes which gave me an idea.
    This script will allow you to stop the vehicle BGM from playing based on an event switch, but will also allow you to change the BGM that is played depending on the time of day.

    Features

    • Can Play Map BGM whilst in any vehicle without resetting it
    • Can change the vehicle BGM based on the time of day, allowing you to utilize alternative audio for more dangerous times of day to more peaceful times.

    Screenshots

    Cannot screenshot audio playing, I'm afraid :-[


    Instructions

    • Paste this script below materials but above main in your script editor.
    • Edit the things in the editable region
    Script



    Get it from here

    Credit




    • DP3 / DiamondandPlatinum3


    Support



    Post in this thread or PM me.

    Known Compatibility Issues
    I am unaware of any scripts it doesn't work with; if you find any, post in this thread.

    Demo



    A demo is unnecessary for a script such as this.

    Author's Notes


    This weeks scripting has been brought to you by the letter D, as in 'Duplicating events seems like a wasteful approach to using them'

    Terms of Use



    If you can find a use for it, this script is free to use in non-commercial games. If you want to use this script in a commercial game, please understand that I expect a free copy (that's means you PM me and let me know that you plan on using it for a commercial game).
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

Wiimeiser

Doesn't the night theme only play when the Greatfish curse freezes time? And what day/night system is it supposed to work with?

pacdiggity

it's like a metaphor or something i don't know

D&P3

Quote from: Wiimeiser on September 02, 2012, 01:35:12 AM
Doesn't the night theme only play when the Greatfish curse freezes time? And what day/night system is it supposed to work with?
I mentioned it in the script 8) but I'll say it here as well.
It's designed to work with a time-system that uses a 24-hour clock.

Now I haven't check any of the time systems for VXA, so I'm just assuming they follow a 24-hour clock, I'll probably write my own time system soon anyway if this is not the case.



Quote from: Pacman on September 02, 2012, 09:18:24 AM
Ooh, inventive. Me likey.
Thanks Pacman ;8
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3