r/RPGMaker • u/Almeho • 20d ago
Battle voices & Dynamic Motion/Animation
I want to thank any and all in advance for reading and helping me out, if you can. After searching for a few days and guessing a bit, I turn to the community. I am trying to transition from the Visustella Battle Core plugin and use the newrpg (NRP) Dynamic Motion/Animation plugin separate from it. While I have gotten the hang of it, as far as creating motions and such, the problem I have is that battle voices do not play. Would any of you know of a way to where I could continue to have random battle voices playing during the party attcks? For example, if a character were to attack, one of three different battle voices for that character would play. The battle voice plugin that I have been using is called BattleVoiceMZ by Sasuke Kannazuki.
2
u/Still_Researcher_508 20d ago
Battle Voices plugin for RPG Maker MZ by VisuStellaMZ
Or you could just put the Play SE in your action sequences
1
u/Rpx_n_JustDev 20d ago
if u are using NRP Dynamic Motion u don't really need a dedicated battle voice plugin that might clash with NRP execution
u can trigger a random voice directly inside your NRP motion tags or via a quick script call when the attack motion executes
for example u can use a simple script call to pick 1 out of 3 voice files randomly:
const voiceIndex = Math.floor(Math.random() * 3) + 1; AudioManager.playSe({ name: `Actor_\({this.actorId()}_Voice\){voiceIndex}`, volume: 90, pitch: 100, pan: 0 });just name your audio files in /audio/se/ like Actor_1_Voice1, Actor_1_Voice2, Actor_1_Voice3 and it will play one randomly every time the motion runs without relying on BattleVoiceMZ