RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Change Vehicle BGM based on Time

0 Members and 1 Guest are viewing this topic.

*
*crack*
Rep:
Level 64
2012 Most Unsung Member2012 Best NewbieFor frequently finding and reporting spam and spam bots
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).
« Last Edit: December 11, 2013, 12:10:20 PM by D&P3 »
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

***
Rep:
Level 77
RMRK Junior
Doesn't the night theme only play when the Greatfish curse freezes time? And what day/night system is it supposed to work with?

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Most Missed Member2014 Zero to Hero2014 Best IRC Quote2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
Ooh, inventive. Me likey.
it's like a metaphor or something i don't know

*
*crack*
Rep:
Level 64
2012 Most Unsung Member2012 Best NewbieFor frequently finding and reporting spam and spam bots
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.



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