Defined Sound Variables
Defined Sound Variables v1.0by HonestInnocence
Introduction
As I was testing a system I'm currently working on in MV, I found that I couldn't use scripts to call sounds due to them being undefined. Thanks to Tsukihime, I learned that I could define the sound file as a variable. Following that, I found that I couldn't define the sound separate from the script call; noting that this would cause constant re-usage and limitations of a script call block in the editor. So I took to making my first script - a very simple one, where the default sound files for MV are defined.
Script
http://pastebin.com/43D4qAAq
Installation
1. Copy the script lines from pastebin into a word editor (notepad++ is one)
2. Save the file as DefinedSoundVariables.js
3. Paste the above file into your js\plugins folder.
Credit
HonestInnocence (For compiling/defining the default sounds)
Tsukihime (For code format)
Terms of Use
Free to use in any project, even commercial ones.
Author's Notes
As I delve deeper into learning JS, I hope to streamline this script to reduce on line amount, as well as make it to where each sound's attributes can be edited either globally or through parameters.
本贴来自国际rpgmaker官方论坛作者:HonestInnocence处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/defined-sound-variables.51127/
页:
[1]