Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Battle Voice MZ - BattleVoiceMZ.js
Plugin desc : [Ver2.2.0]Play voice SE at various situations on battle
License : MIT License
Author : Sasuke KANNAZUKI
Website : https://www.rpgmakerweb.com/products/rpg-maker-mz
Download Page : C:Program Files (x86)SteamsteamappscommonRPG Maker MZdlcBasicResourcespluginslaunch BattleVoiceMZ.js
File name : BattleVoiceMZ.js
Help of plugin :
* @target MZ
* @plugindesc [Ver2.2.0]Play voice SE at various situations on battle
* @author Sasuke KANNAZUKI
*
* @param ON switch ID
* @desc play se only when the switch is ON.
* This setting interlocks with option Battle Voice.
* @type switch
* @default 1
*
* @param actorCommonSetting
* @text Actor Voice Common Setting
* @desc Setting common volume, pitch, pan of actor voice.
* @type text
* @default
*
* @param volume
* @parent actorCommonSetting
* @desc volume of SEs. this setting is common among all actor voice SEs.
* (Default:90)
* @type number
* @min 0
* @max 100000
* @default 90
*
* @param pitch
* @parent actorCommonSetting
* @desc pitch of SEs. this setting is common among all actor voice SEs.
* (Default:100)
* @type number
* @min 10
* @max 100000
* @default 100
*
* @param pan
* @parent actorCommonSetting
* @desc pan of SEs. this setting is common among all actor voice SEs.
* 0:center, <0:left, >0:right (Default:0)
* @type number
* @min -100
* @max 100
* @default 0
*
* @param enemyCommonSetting
* @text Enemy Voice Common Setting
* @desc Setting common volume, pitch, pan of enemy voices.
* @type text
* @default
*
* @param enemyVolume
* @parent enemyCommonSetting
* @desc volume of SEs. this setting is common among all enemy voice SEs.
* (Default:90)
* @type number
* @min 0
* @max 100000
* @default 90
*
* @param enemyPitch
* @parent enemyCommonSetting
* @desc pitch of SEs. this setting is common among all enemy voice SEs.
* (Default:100)
* @type number
* @min 10
* @max 100000
* @default 100
*
* @param enemyPan
* @parent enemyCommonSetting
* @desc pan of SEs. this setting is common among all enemy voice SEs.
* 0:center, <0:left, >0:right (Default:0)
* @type number
* @min -100
* @max 100
* @default 0
*
* @param Battle Voice Name at Option
* @desc display name at option
* @type text
* @default Battle Voice
*
* @param firstMsgTiming
* @text First Voice Timing
* @desc when it plays first voice?
* @type select
* @option Immidiate(0)
* @value 0
* @option first message window closed(1)
* @value 1
* @default 0
*
* @param advanced
* @text Advanced Setting
* @desc No need to change unless it has some problems.
* @type string
* @default
*
* @param voiceAtAllDamage
* @parent advanced
* @text Multiple Damage Style
* @desc Style when display multiple damages at once(by another plugin)
* @type select
* @option Not Change
* @value normal
* @option One of Them
* @value alone
* @option Make Wait
* @value wait
* @default normal
*
* @param waitForPlural
* @parent voiceAtAllDamage
* @text Plural Wait Count
* @desc Frame count when you select "Make Wait" (1sec = 60frame)
* @type number
* @default 30
*
* @noteParam attackVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam guardVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam recoverVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam friendMagicVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam magicVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam skillVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam itemAllyVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam itemVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam damageVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam evadeVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam magicEvadeVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam substituteVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam defeatedVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam firstVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam preemptiveFirstVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam surpriseFirstVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam victoryVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam counterVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam reflectVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam killVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam fromAllyVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam runawayVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam allDeadVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam levelUpVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam commandVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData actors
*
* @noteParam attackVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam recoverVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam friendMagicVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam magicVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam skillVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam damageVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam evadeVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam magicEvadeVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam defeatedVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam counterVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam reflectVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam firstVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData enemies
*
* @noteParam allDeadVoice
* @noteRequire 1
* @noteDir audio/se/
* @noteType file
* @noteData eneiess
*
* @command set
* @text Change Actor Voice
* @desc Change various occasional voice
*
* @arg actorId
* @text Actor ID
* @desc Actor to change voice
* @type actor
* @default 1
*
* @arg situation
* @text Situation
* @desc Which occasion to change voice
* @type select
* @option At normal attack
* @value attack
* @option At miss to attack
* @value miss
* @option At guard
* @value guard
* @option At recovery magic
* @value recover
* @option At magic to ally
* @value friendMagic
* @option At general magic
* @value magic
* @option At non-magical skill
* @value skill
* @option At use item to ally
* @value itemAlly
* @option At general item
* @value item
* @option On Damaged
* @value damage
* @option On Take Critical
* @value fatalDamage
* @option On Damaged to protect ally
* @value substitute
* @option On Take Attack But Miss
* @value receiveMiss
* @option On Evade Attack
* @value evade
* @option On Evade Magial Attack
* @value magicEvade
* @option On Dead
* @value dead
* @option At counter invokes
* @value counter
* @option At reflect magic
* @value reflect
* @option At defeat an enemy
* @value kill
* @option At received recover skill
* @value fromAlly
* @option On battle starts(Normal)
* @value first
* @option On battle starts(preemptive)
* @value preemptiveFirst
* @option On battle starts(surprise)
* @value surpriseFirst
* @option On Victory
* @value victory
* @option On Try to Escape
* @value runaway
* @option At all actors dead
* @value allDead
* @option On Level Up
* @value levelUp
* @option On Input Actor Command
* @value command
* @default attack
*
* @arg isSet
* @text Set or Reset
* @desc If reset, voices become set by plugin
* If reset, following 2 parameters are ignored.
* @type select
* @option Set
* @value set
* @option Reset
* @value reset
* @default set
*
* @arg voice1
* @text New Voice 1
* @desc If you set more voices, write remainder next param.
* If you set only one voice, set next param empty.
* @type file
* @dir audio/se/
* @default
*
* @arg voice2
* @text New Voice >=2
* @desc By writing like atk1,atk2,atk3
* You can set plural voices
* @type string
* @default
*
* @command allReset
* @text All Reset Actor Voice
* @desc Reset all voices defined on plugin.
* It's not reset skill related voice setting.
*
* @arg actorId
* @text Actor ID
* @desc Actor that reset voice setting
* @type actor
* @default 1
*
* @command setEnemy
* @text Change Enemy Voice
* @desc Change various occasional voice
*
* @arg enemyId
* @text Enemy ID
* @desc Enemy to change voice
* @type enemy
* @default 1
*
* @arg situation
* @text Situation
* @desc Which occasion to change voice
* @type select
* @option At normal attack
* @value attack
* @option At miss to attack
* @value miss
* @option At recovery magic
* @value recover
* @option At magic to ally
* @value friendMagic
* @option At general magic
* @value magic
* @option At non-magical skill
* @value skill
* @option On Damaged
* @value damage
* @option On Take Critical
* @value fatalDamage
* @option On Take Attack But Miss
* @value receiveMiss
* @option On Evade Attack
* @value evade
* @option On Dead
* @value dead
* @option At counter invokes
* @value counter
* @option At reflect magic
* @value reflect
* @option On battle starts
* @value first
* @option At all actors dead
* @value allDead
* @default attack
*
* @arg isSet
* @text Set or Reset
* @desc If reset, voices become set by plugin
* If reset, following 2 parameters are ignored.
* @type select
* @option Set
* @value set
* @option Reset
* @value reset
* @default set
*
* @arg voice1
* @text New Voice 1
* @desc If you set more voices, write remainder next param.
* If you set only one voice, set next param empty.
* @type file
* @dir audio/se/
* @default
*
* @arg voice2
* @text New Voice >=2
* @desc By writing like atk1,atk2,atk3
* You can set plural voices
* @type string
* @default
*
* @command allResetEnemy
* @text All Reset Enemy Voice
* @desc Set all voices defined on plugin.
* It's not reset specified ID skill voice setting.
*
* @arg enemyId
* @text Enemy ID
* @desc Enemy that reset voice setting
* @type enemy
* @default 1
*
* @command skillSet
* @text Set Skill Related Voice
* @desc Set original voice for each skill.
*
* @arg actorOrEnemy
* @text target battler
* @desc actor or enemy?
* @type select
* @option Actor
* @value actor
* @option Enemy
* @value enemy
* @default actor
*
* @arg actorId
* @parent actorOrEnemy
* @text Actor ID
* @desc The actor to set the skill voice.
* @type actor
* @default 1
*
* @arg enemyId
* @parent actorOrEnemy
* @text Enemy ID
* @desc The enemy to set the skill voice.
* @type enemy
* @default 0
*
* @arg skillId
* @text Skill ID
* @desc The skill to set the origial voice.
* @type skill
* @default 1
*
* @arg skillId2
* @parent skillId
* @text More Skill IDs
* @desc More skills to set the same origial voice.
* @type skill[]
* @default []
*
* @arg isSet
* @text Set or Reset
* @desc If reset, voices become normal setting.
* If reset, following 2 parameters are ignored.
* @type select
* @option Set
* @value set
* @option Reset
* @value reset
* @default set
*
* @arg voice1
* @text New Voice 1
* @desc If you set plural voices, write remainder next param.
* If you set only one voice, set next param empty.
* @type file
* @dir audio/se/
* @default
*
* @arg voice2
* @text New Voice >=2
* @desc By writing like atk1,atk2,atk3
* You can set plural voices
* @type string
* @default
*
* @command skillAllReset
* @text Reset All Skill Voice
* @desc All reset an actor's skill specified voice.
* Voices that is defined plugins are not reset.
*
* @arg actorOrEnemy
* @text target battler
* @desc actor or enemy?
* @type select
* @option Actor
* @value actor
* @option Enemy
* @value actor
* @default actor
*
* @arg actorId
* @parent actorOrEnemy
* @text Actor ID
* @desc Actor that reset skill voice setting
* @type actor
* @default 1
*
* @arg enemyId
* @parent actorOrEnemy
* @text Enemy ID
* @desc Enemy that reset skill voice setting
* @type enemy
* @default 0
*
* @command itemSet
* @text Set Item Voice
* @desc Set Voice When One Use Specified Item.
*
* @arg actorId
* @text Actor ID
* @desc The actor to set the item voice.
* @type actor
* @default 1
*
* @arg targetId
* @text Target ID
* @desc Set specified target. Set 0 if the target is anyone, all actors or opponent(s).
* @type actor
* @min 0
* @default 0
*
* @arg doesSkipSelf
* @parent targetId
* @text Skip if target is the user?
* @type boolean
* @on Yes, skip.
* @off No, do play.
* @default false
*
* @arg itemId
* @text Item ID
* @desc The item to set the origial voice.
* @type item
* @min 1
* @default 1
*
* @arg itemId2
* @parent itemId
* @text More Item IDs
* @desc More items to set the same origial voice.
* @type item[]
* @default []
*
* @arg isSet
* @text Set or Reset
* @desc If reset, voices become normal setting.
* If reset, following 2 parameters are ignored.
* @type select
* @option Set
* @value set
* @option Reset
* @value reset
* @default set
*
* @arg voice1
* @text New Voice 1
* @desc If you set plural voices, write remainder next param.
* If you set only one voice, set next param empty.
* @type file
* @dir audio/se/
* @default
*
* @arg voice2
* @text New Voice >=2
* @desc By writing like atk1,atk2,atk3
* You can set plural voices
* @type string
* @default
*
* @command itemAllReset
* @text Reset All Item Voice
* @desc All reset an actor's item specified voice.
* Voices that is defined plugins are not reset.
*
* @arg actorId
* @text Actor ID
* @desc Actor that reset item voice setting
* @type actor
* @min 1
* @default 1
*
* @command setByDamage
* @text Set Voice Based on Damage
* @desc Set special damage voice when setting is met.
*
* @arg actorId
* @text Actor ID
* @desc Actor to change voice
* @type actor
* @default 1
*
* @arg floorDamage
* @text When Damage >= This
* @desc When set 0, It'll play default damage voice.
* @type number
* @default 0
*
* @arg valueTypeFloor
* @parent floorDamage
* @text Value Type
* @desc select the damage is normal value or ratio(%) of Max HP
* @type select
* @option Immediate Value
* @value normal
* @option Percentage
* @value ratio
* @default normal
*
* @arg voice1floor
* @parent floorDamage
* @text Voice 1
* @desc If you set more voices, write remainder next param.
* If you set only one voice, set next param empty.
* @type file
* @dir audio/se/
* @default
*
* @arg voice2floor
* @parent floorDamage
* @text Voice >=2
* @desc By writing like atk1,atk2,atk3
* You can set plural voices
* @type string
* @default
*
* @arg ceilDamage
* @text When Damage < This
* @desc When set 0, It'll play default damage voice.
* @type number
* @default 0
*
* @arg valueTypeCeil
* @parent ceilDamage
* @text Value Type
* @desc select the damage is normal value or ratio(%) of Max HP
* @type select
* @option Immediate Value
* @value normal
* @option Percentage
* @value ratio
* @default normal
*
* @arg voice1ceil
* @parent ceilDamage
* @text Voice 1
* @desc If you set more voices, write remainder next param.
* If you set only one voice, set next param empty.
* @type file
* @dir audio/se/
* @default
*
* @arg voice2ceil
* @parent ceilDamage
* @text Voice >=2
* @desc By writing like atk1,atk2,atk3
* You can set plural voices
* @type string
* @default
*
* @command resetByDamage
* @text Reset Voices Based on Damage
* @desc Reset all damage-related voices.
* After then, it'll play normal damage voice.
*
* @arg actorId
* @text Actor ID
* @desc Actor to reset changed voices
* @type actor
* @default 1
*
* @command stateChange
* @text Voice For States Change
* @desc Plays when specified state adds or removes
*
* @arg actorId
* @text Actor ID
* @desc The actor to set the state change voice.
* @type actor
* @default 1
*
* @arg targetStates
* @text Target States
* @desc States to assign specified voice.
* @type state[]
* @default []
*
* @arg voiceAtStateAdded1
* @text Voice At State Added 1
* @desc If you set plural voices, write remainder next param.
* If you set only one voice, set next param empty.
* @type file
* @dir audio/se/
* @default
*
* @arg voiceAtStateAdded2
* @parent voiceAtStateAdded1
* @text Voice At State Added >=2
* @desc By writing like atk1,atk2,atk3
* You can set plural voices
* @type string
* @default
*
* @arg voiceAtStateRemoved1
* @text Voice At State Removed 1
* @desc If you set plural voices, write remainder next param.
* If you set only one voice, set next param empty.
* @type file
* @dir audio/se/
* @default
*
* @arg voiceAtStateRemoved2
* @parent voiceAtStateRemoved1
* @text Voice At State Removed >=2
* @desc By writing like atk1,atk2,atk3
* You can set plural voices
* @type string
* @default
*
* @command resetStateChange
* @text Reset State Voice
* @desc Reset all state change voice of an actor
*
* @arg actorId
* @text Actor ID
* @desc Actor that reset all state related voices
* @type actor
* @default 1
*
* @command allySet
* @text Set Voice From Specified Ally
* @desc Change voice "At received recover skill" from specified ally
*
* @arg actorId
* @text Actor ID
* @desc Actor that receive skill
* @type actor
* @default 1
*
* @arg subjectIds
* @text Subject Actor IDs
* @desc Actors that perform skill to ally
* @type actor[]
* @default []
*
* @arg isSet
* @text Set or Reset
* @desc If reset, following 2 parameters are ignored.
* @type select
* @option Set
* @value set
* @option Reset
* @value reset
* @default set
*
* @arg voice1
* @text New Voice 1
* @desc If you set more voices, write remainder next param.
* If you set only one voice, set next param empty.
* @type file
* @dir audio/se/
* @default
*
* @arg voice2
* @text New Voice >=2
* @desc By writing like atk1,atk2,atk3
* You can set plural voices
* @type string
* @default
*
* @command allyAllReset
* @text Reset Voices From All Allies
* @desc Reset all setting defined on plugin
*
* @arg actorId
* @text Actor ID
* @desc Actor that reset voice setting
* @type actor
* @default 1
*
* @command voiceInfo
* @text Change Setting of Voices
* @desc Change Setting(volume, pitch and pan) of Specified Voices
*
* @arg names
* @text Voice Names
* @desc Voice Names That Set Specified volume, pitch and/or pan.
* @type file[]
* @dir audio/se/
* @default []
*
* @arg isSet
* @text Set or Reset
* @desc If reset, setting become set by plugin
* If reset, following parameters are ignored.
* @type select
* @option Set
* @value set
* @option Reset
* @value reset
* @default set
*
* @arg isVolume
* @text Change Volume?
* @desc if it sets "No", it becomes value set by this plugin.
* @type boolean
* @on Yes
* @off No
* @default true
*
* @arg volume
* @parent isVolume
* @desc Set Volume(system default:90)
* @type number
* @max 100000
* @min 0
* @default 90
*
* @arg isPitch
* @text Change Pitch?
* @desc if it sets "No", it becomes value set by this plugin.
* @type boolean
* @on Yes
* @off No
* @default true
*
* @arg pitch
* @parent isPitch
* @desc Set Pitch(system default:100)
* @type number
* @max 10000
* @min 1
* @default 100
*
* @arg isPan
* @text Change Pan?
* @desc if it sets "No", it becomes value set by this plugin.
* @type boolean
* @on Yes
* @off No
* @default true
*
* @arg pan
* @parent isPan
* @desc Set Pan(-100(left) ~ 100(right)). 0:center
* @type number
* @max 100
* @min -100
* @default 0
*
* @command voiceInfoReset
* @text All Reset Voice Settings
* @desc All voices settings become plugin default.
*
* @command actorVoiceInfo
* @text Change Setting of Actor Voices
* @desc Change Setting(volume, pitch and pan) of Specified Actor
*
* @arg actorId
* @text Target Actor
* @desc actor that sets specified volume, pitch and/or pan.
* @type actor
* @default 1
*
* @arg isVolume
* @text Change Volume?
* @desc if it sets "No", it becomes value set by this plugin.
* @type boolean
* @on Yes
* @off No
* @default true
*
* @arg volume
* @parent isVolume
* @desc Set Volume(system default:90)
* @type number
* @max 100000
* @min 0
* @default 90
*
* @arg isPitch
* @text Change Pitch?
* @desc if it sets "No", it becomes value set by this plugin.
* @type boolean
* @on Yes
* @off No
* @default true
*
* @arg pitch
* @parent isPitch
* @desc Set Pitch(system default:100)
* @type number
* @max 10000
* @min 1
* @default 100
*
* @arg isPan
* @text Change Pan?
* @desc if it sets "No", it becomes value set by this plugin.
* @type boolean
* @on Yes
* @off No
* @default true
*
* @arg pan
* @parent isPan
* @desc Set Pan(-100(left) ~ 100(right)). 0:center
* @type number
* @max 100
* @min -100
* @default 0
*
* @command actorVoiceInfoReset
* @text All Reset Voice Settings
* @desc All voices settings become plugin default.
*
* @arg actorId
* @text Target Actor
* @desc actor that resets volume, pitch and/or pan.
* @type actor
* @default 1
*
* @help
* This plugin runs under RPG Maker MZ.
*
* This plugin enables to play SE (assumed battle voice) at
* various situations.
*
* [Summary]
* Player can change voice ON/OFF by Option Scene (except Title).
* This setting interlocks switch ID set at plugin parameter.
*
* [note specification]
* write down each actor's note at following format to set SE filename.
* [[Voices when an actor perform something]]
* <attackVoice:filename> plays when actor does normal attack.
* <attackMissVoice:filename> plays when actor misses to attack.
* <guardVoice:filename> plays when actor selects guard.
* <recoverVoice:filename> plays when actor uses HP recovering magic.
* <friendMagicVoice:filename> plays when actor spells magic for friend
* except HP recovering. if this is not set but <magicVoice:filename> is set,
* it plays <magicVoice:filename> setting file.
* <magicVoice:filename> plays when actor spells magic(except for friend).
* <skillVoice:filename> plays when actor uses special skill except magic.
* *NOTE* Here 'magic' skill means its 'Skill Type' is included in
* '[SV]Magic Skills' on 'System 2' tab.
* <itemAllyVoice:filename> plays when actor uses item to oneself or ally.
* if this is not set, play <itemVoice:filename> instead.
* <itemVoice:filename> plays when actor uses item (except for ally).
* [[Voices when an actor affected from any battler]]
* <damageVoice:filename> plays when actor takes damage.
* <receiveMissVoice:filename> plays when take attack but it is miss.
* <fatalDamageVoice:filename> at one take critical damage.
* When it doesn't set, play (normal) damage voice.
* <evadeVoice:filename> plays when actor evades enemy attack.
* It'll not play when attacker's attack-miss voice is set.
* <magicEvadeVoice:filename> plays when actor evades enemy's magical attack.
* *NOTE* 'magical attack' means the Hit Type of the skill is "Magical Attack"
* <substituteVoice:filename> plays when actor take damage to protect an ally.
* <defeatedVoice:filename> plays when actor is dead.
* <counterVoice:filename> plays when counter attack invokes.
* <reflectVoice:filename> plays when actor reflects magic.
* <killVoice:filename> plays when actor defeat an enemy.
It doesn't play when it playes the enemy's defeated voice.
* <fromAllyVoice:filename> plays when actor received HP recover magic.
* It doesn't play when magic user is the same as receiver.
* It assumes the phrase 'Thank you' and so on.
* [[Voices when battle exceeds]]
* if plural actors attend the battle, randomly selected actor's SE is adopted. * <firstVoice:filename> plays when battle starts except surprised.
* <preemptiveFirstVoice:filename> plays when preemptive battle starting.
* If it not sets, play <firstVoice:filename> instead.
* <surpriseFirstVoice:filename> plays when surprise battle starting.
* <victoryVoice:filename> plays when battle finishes.
* <runawayVoice:filename> plays when party try to escape from the battle
* <allDeadVoice:filename> plays when party lose battle.
* This voice's speaker is the actor that dead last.
* <levelUpVoice:filename> plays when an actor's level grows up
* [[misc. Voices]]
* <commandVoice:filename> plays when starting actor command selection
*
* [Important Note] (since Ver2.0.0)
* It doesn't play actor's voice when the actor is affected by the state
* either whose Restriction isn't None(Ex.Sleep, Confusion) or
* whose note contains <VoiceDisable> . (It assumes to use for Silence)
*
* [Advanced option 1]
* If you want to play one of several voices randomly,
* write filenames with colon as follows:
* <attackVoice:atk1,atk2,atk3>
* in this case, at attack, plays atk1 atk2, or atk3 randomly.
*
* If set no SE one of filenames,
* <attackVoice:atk1,atk2,$>
* in this case, at attack, plays atk1 atk2, or doesn't play SE.
*
* You can set the same filename twice or more than.
* <attackVoice:atk1,atk2,atk2,$>
* in this case, 25% atk1, 50% atk2, 25% don't play.
*
* *NOTE* When set SEs at this notation, these files might be excluded at
* deployment with option 'Exclude unused files'.
* To prevent this, I recommend to make dummy event and set each SE to
* 'Play SE' on the Contents.
*
* [Advanced option 2] (Since Ver1.6.0)
* You can set any enemies battle voices by writing the same notation
* as actor's note to the object enemy's note.
* [[Voices when an enemy perform something]]
* <attackVoice:filename> at performing normal attack.
* <attackMissVoice:filename> plays when enemy misses to attack.
* <recoverVoice:filename> at one uses HP recovering magic.
* <friendMagicVoice:filename> at one uses magic for friend
* <magicVoice:filename> at one spells magic(except for friend).
* <skillVoice:filename> at one uses skill except magic.
* [[Voices when an enemy affected from any battler]]
* <damageVoice:filename> at one take damage.
* <fatalDamageVoice:filename> at one take critical damage.
* When it doesn't set, play (normal) damage voice.
* <evadeVoice:filename> at one evades opponent's attack
* It'll not play when attacker's attack-miss voice is set.
* <defeatedVoice:filename> at one is dead.
* <counterVoice:filename> at one's counter attack invokes.
* <reflectVoice:filename> at one reflects magic.
* [[Voices when battle exceeds]]
* enemies' voices are higher priority than actors' ones.
* <firstVoice:filename> at starting battle.
* <allDeadVoice:filename> at all actors dead.
*
* [Advanced Option 3] (Since Ver1.16.0)
* It enables specified actor assign different volume/pitch/pan.
* Write target actor's note as following:
* <voiceVolume:90> Set volume for specified actor's voice.
* <voicePitch:100> Set pitch
* <voicePan:100> Set pan
* You can also set those settings by pluguin command.
*
* [Advanced Option 4] (Since Ver2.1.0)
* If you introduce any plugin that enables to display plural damage popup
* at once, you can select how to do at option.
* - normal - default(play all battlers' voice at once)
* - alone - play voice of one of the target
* - wait - forcedly make wait specified frame to play each voice.
* [NOTE]"wait" setting is invalid at some plugins that invalidate wait
*
* [Advanced Option 5] (Since Ver2.2.0)
* You can set the voice when you introduce any plugin
* that enables to recover from opponent
* (Ex: one recover HP when receive attack that specified skill element)
* at following notation.
* <recoverFromOpponentVoice:filename>
*
* [Plugin Commands]
* By calling plugin commands, you can do as follows:
* - Set/Reset voice on each situation
* - Reset all situations' voice to default
* Following commands are disable to set that note.
* - Assign/Reset actor/enemy voice to each skill
* - Reset all voices assigned to skills
* - Assign/Reset actor voice when one use specified item
* - Reset all voices assigned to items
* - Set/Reset special damage voice when setting is met.
* (NOTE: When this plugin command sets more than once to the same actor,
* it discards old settings and only latest setting is valid,)
* - Set/Reset actor's voice when one's states added/removed.
* this voice doesn't play when one's hp affecs(damage or recover).
* - Reset all voices on one's state changes
* - Set/Reset voices when skill receive from specified actor
* - Reset all voices when one reveives skill from any ally
* - Assign any voices different volume/pitch/pan
* - Reset all voices setting volume/pitch/pan
* - Assign specified actor different volume/pitch/pan
* - Reset an actor's all settings of volume/pitch/pan
*
* [License]
* this plugin is released under MIT license.
* http://opensource.org/licenses/mit-license.php