YEM Party Influenced Music (Ace)
YEM Party Influenced Music(Ace)By Yanfly - Converted by Adon
Introduction
As I begin to port my VX game to ACE, I have a hard time finding some smaller snippets being converted to RGSS3. While YEM probably won't be converted any time soon, there are some snippets that should be crossed over. I made some very small adjustments, and it works like a charm!No matter how good an RPG's battle music is, players are going to get sick and tired of listening to it for the zillionth time. This script won't rid RPG's of that problem, but will hopefully stall the process by playing randomized music dependent on who the player has in the active party at the start of any normal battle.
Features
- Plays a random battle BGM dependent on who the player has in the battler party at the start of battle.
Screenshots
No screenshots are needed.
How to Use
You will have to assign a BGM to an actor ID for this to work correctly. Simply type in the file name of the BGM you want to represent for that actor ID.
Code:
ACTOR_MUSIC ={ # ActorID 0 must exist.
# ActorID =>
0 => [RPG::BGM.new("Battle1", 100, 100) # For all undefined actor IDs
], # End Common
1 => [RPG::BGM.new("Battle2", 100, 100) # for eric
], # End Actor1
2 => [RPG::BGM.new("Town3", 100, 100) # etc
], # End Actor2
3 => [RPG::BGM.new("Dungeon4", 100, 100)
], # End Actor3
} # Do not remove this.
Script
Get it here: http://pastebin.com/rzrbX8eu
FAQ
Q: Zuggablargh! This script isn't working blah blah blah you suck!
A: I am pretty sure this is very unlikely to be incompatible with other scripts unless they are doing the same thing. If you get a script error it is probably a syntax error or something you did.
Credit and Thanks
- Yanfly (for creating the VX version)
- Adon237 (for converting it to ace with a couple of adjustments. Just credit Yanfly.)
本贴来自国际rpgmaker官方论坛作者:Adon处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/yem-party-influenced-music-ace.3984/
页:
[1]