Actor Voices In Battle-MV Edition

deathsia

Pegisister
Veteran
Joined
Feb 26, 2014
Messages
649
Reaction score
55
First Language
English
Primarily Uses
Screencap? Or maybe post your code of the section in the config file where you imputed the name for your sound effect?
 

UndeadGuy

Warper
Member
Joined
Oct 23, 2018
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
I think this is right?

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}, VERY_WEAK_ENEMIES : { // <= Do Not Touch This Line

// Your stats are always 100%, so if the enemy troop stats are below
// the editable ratio below; that means they are considered VERY WEAK.
// By default this is 40%.
ratio: 40,


// What Actor One Will Say
1: [
"Very_Weak_Enemies_1", 100, 100, 0,


],


// What Actor Two Will Say
2: [
"Matthew_VWE", 100, 100, 0,

],


// What Actor Three Will Say
3: [
"Stan_VWE", 100, 100, 0,

],


// What Actor four Will Say
4: [
"Stan_VWE", 100, 100, 0,
],


// What Actor five Will Say
5: [
"Zack_VWE", 200, 100, 0,
],


// What Actor six Will Say
6: [
"Jr_VWE", 100, 100, 0,
],

// What Actor seven Will Say
7: [
"Derrick_VWE", 100, 100, 0,
],



// What Actor eight Will Say
8: [
"Jievo_VWE", 100, 100, 0,
 

Attachments

deathsia

Pegisister
Veteran
Joined
Feb 26, 2014
Messages
649
Reaction score
55
First Language
English
Primarily Uses
I think this is right?

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}, VERY_WEAK_ENEMIES : { // <= Do Not Touch This Line

// Your stats are always 100%, so if the enemy troop stats are below
// the editable ratio below; that means they are considered VERY WEAK.
// By default this is 40%.
ratio: 40,


// What Actor One Will Say
1: [
"Very_Weak_Enemies_1", 100, 100, 0,


],


// What Actor Two Will Say
2: [
"Matthew_VWE", 100, 100, 0,

],


// What Actor Three Will Say
3: [
"Stan_VWE", 100, 100, 0,

],


// What Actor four Will Say
4: [
"Stan_VWE", 100, 100, 0,
],


// What Actor five Will Say
5: [
"Zack_VWE", 200, 100, 0,
],


// What Actor six Will Say
6: [
"Jr_VWE", 100, 100, 0,
],

// What Actor seven Will Say
7: [
"Derrick_VWE", 100, 100, 0,
],



// What Actor eight Will Say
8: [
"Jievo_VWE", 100, 100, 0,
Without being able to look at your project personally i'm spitballing here but it looks like you made a mistake in your file directory. This is my current file structure: \Project1\audio\se\Battle_Voices

Notice I put an underscore in the folder named Battle Voices? Try that and see if you get the same error.
 

UndeadGuy

Warper
Member
Joined
Oct 23, 2018
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
So in the config file, I changed the "FOLDER_DIRECTORY_NAME" into BattleVoices.
And the file structure I have is: \Project2\audio\se\BattleVoices
 

deathsia

Pegisister
Veteran
Joined
Feb 26, 2014
Messages
649
Reaction score
55
First Language
English
Primarily Uses
So in the config file, I changed the "FOLDER_DIRECTORY_NAME" into BattleVoices.
And the file structure I have is: \Project2\audio\se\BattleVoices
I'm not sure then man, it works fine for me but I'm also running on rpg maker mv version 1.5.1. It may be a version conflict and if that's the case, it makes me glad I never upgraded my game's version past 1.5.1.
 

BlueVikingr

The Dragonbirb
Veteran
Joined
Mar 20, 2018
Messages
70
Reaction score
49
First Language
English
Primarily Uses
RMMV
Sorry for popping in out of nowhere, but I couldn't help but wonder... Could it have something to do with the fact that UndeadGuy's folder is called BattleVoices (with no underscore) and deathsia's is called Battle_Voices (with an underscore in the middle)? Punctuation and spelling changes can sometimes do weird stuff with computers...
 

RistoReborn

Warper
Member
Joined
Dec 29, 2018
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
I believe to have found a workaround. :D

So, the script wasn't finding my files: whenever the program told me that it couldn't find them, it said it was looking for audio/se/Battle_Voices%2FCharacter%2FFile.ogg. The slashes keep on being read into the code as URI encoded characters.

So, I went into the first script and commented out the part that is looking for the Actor Folder (lines 77 - 88) and then proceeded to move all of my files directly in the SE folder, outside of the Battle_Voices folder.

Finally, I modified this line from:

var pathToFile = $.Config.FOLDER_DIRECTORY_NAME + "/" + actorFolderName + "/" + voiceArray[index];

to:

var pathToFile = voiceArray[index];

Now, the code is looking for the files in the SE folder as opposed to the Battle_Voices folder. It's a copout, admittedly, but I don't know how to get past the URI encoding that happens to the slash characters. I even tried dabbling with decodeURIComponent() but to no avail.

Hope this helps.

And mucho koodos to the makers of this script! I loved using it in VX Ace, so I was very happy to find it ported to MV. You guys are awesome!
 

GertzDude22

Warper
Member
Joined
Jan 21, 2019
Messages
4
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
Introduction:
Allows the developer to have voice clips or sound effects play in battle.

Sceenshots:
None needed.

Features:
  • Gives your party the ability to predict the turnout of a battle and voice their opinions on it, so they can say that they need recovery if they are badly injured, or comment on how they are outnumbered, or comment about how strong they are compared to the enemy troop.
  • Gives you the ability to set up the above values if you don't like the defaults.
  • Actors have a death cry when they fall in battle.
  • NO demons from hell upon victory!
How to Use:

  • Place the main plugin as well as the configuration plugin UNDER all other combat plugins.
  • Configuration plugin MUST go below main plugin.
  • Add an additional Folder in your audio files called Battle_voices. The path should look like this: (Project1\audio\se\Battle_Voices\Actor Name)
  • Folder names MUST match the actor's name in the database.(DO NOT use underscores in the folder name UNLESS your actor's name in the database has them in its name.)
  • Open the configuration plugin in your choice text editor.
  • Type in the names of your voice clips or sound effect files in the proper fields.(DO NOT INCLUDE the extension)
  • Ogg audio files only.

Plugin:

Main Plugin

Configuration Plugin

Credit and Thanks:

Originally created by DiamondandPlatinum3 for RPG Maker VX Ace, I commissioned this plugin for conversion to MV which was completed by Fogomax.

Terms:

Free to use but please credit DiamondandPlatinum3 as well as Fogomax.

Updates:

1.0- Plugin created.
1.0.2- Demons of hell squashed along with misc bug.
1.0.3- Coding error in how the plugin handles voice lines was fixed.
Hey i got an error.

TypeError: Cannot read property "ratio" of undefined
 

deathsia

Pegisister
Veteran
Joined
Feb 26, 2014
Messages
649
Reaction score
55
First Language
English
Primarily Uses
Hey i got an error.

TypeError: Cannot read property "ratio" of undefined
what version of rpg maker are you using? This plugin is not compatible with anything above 1.5.2 of rpg maker mv.
 

GertzDude22

Warper
Member
Joined
Jan 21, 2019
Messages
4
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
what version of rpg maker are you using? This plugin is not compatible with anything above 1.5.2 of rpg maker mv.
for some reason im using 1.0.1 lol, tho in another project with the same rpg maker version it worked
 

deathsia

Pegisister
Veteran
Joined
Feb 26, 2014
Messages
649
Reaction score
55
First Language
English
Primarily Uses
for some reason im using 1.0.1 lol, tho in another project with the same rpg maker version it worked
I don't know if it would work on earlier versions but I commissioned this conversion specifically for version 1.5.1 of rpg maker mv, speaking as 1.5.2 also works with this plugin as well, these are the only two versions I can guarantee will work with this plugin. I can not provide any support for anything below or above this version, sorry.:kaoswt:
 

GertzDude22

Warper
Member
Joined
Jan 21, 2019
Messages
4
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
I don't know if it would work on earlier versions but I commissioned this conversion specifically for version 1.5.1 of rpg maker mv, speaking as 1.5.2 also works with this plugin as well, these are the only two versions I can guarantee will work with this plugin. I can not provide any support for anything below or above this version, sorry.:kaoswt:
No worries, i just Reinstalled and it worked!
 
Joined
Feb 4, 2019
Messages
4
Reaction score
1
First Language
Dutch
Primarily Uses
RMMV
Works perfectly :D, but somehow the attack sounds do not play (possibly due to incompatible with action sequence's attack? The character walks up to the enemy and then hits the enemy) I am new to rpg maker, but any tips on how to fix? If it is fixable ofcourse. Just throwing it out in the open, in case anyone solved this issue.
 

GertzDude22

Warper
Member
Joined
Jan 21, 2019
Messages
4
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
Another Lil' Question:
Is there a way to use Specific Quotes for specific attacks?
Ex.
Use Voice Clip "electric.ogg" for an Electric Skill or "Water.ogg" for a Water Skill
 

Dreeks

Warper
Member
Joined
Jan 25, 2014
Messages
3
Reaction score
0
First Language
French
Primarily Uses
Hey, i have a problem.
When my hero is attacking, the .ogg file doesn't play (even normal attack or magic etc..)
Its work when he's taking damage, dying etc.. so i don't really understand
 

deathsia

Pegisister
Veteran
Joined
Feb 26, 2014
Messages
649
Reaction score
55
First Language
English
Primarily Uses
Hey, i have a problem.
When my hero is attacking, the .ogg file doesn't play (even normal attack or magic etc..)
Its work when he's taking damage, dying etc.. so i don't really understand
I don't know if the person I commissioned to convert this script into a plugin actually coded that. If I recall correctly, it wasn't exactly top on my priority list so I may have told them to skip coding that in to cost my costs for paying on this conversion down.
 

seaotter

Veteran
Veteran
Joined
Mar 2, 2019
Messages
208
Reaction score
43
First Language
Chinese
Primarily Uses
RMMZ
Have demo files ?
 

GroompofBuals

Warper
Member
Joined
Feb 13, 2019
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMMV
Very new to this program and coding in general, been having this error come up right before a battle starts after configuring this plugin. Can anyone tell me what this means?
 

Attachments

Last edited:

deathsia

Pegisister
Veteran
Joined
Feb 26, 2014
Messages
649
Reaction score
55
First Language
English
Primarily Uses
Very new to this program and coding in general, been having this error come up right before a battle starts after configuring this plugin. Can anyone tell me what this means?
Are you running below or above version 1.5.2 of rpg maker MV? This plugin was converted specifically for version 1.5.2 and no other.
 

GroompofBuals

Warper
Member
Joined
Feb 13, 2019
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMMV
Are you running below or above version 1.5.2 of rpg maker MV? This plugin was converted specifically for version 1.5.2 and no other.
Yeah I'm running on 1.5.2, maybe this will help? Sorry for the delayed response, been pretty busy lately.
 

Attachments

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,195
Members
137,773
Latest member
Kirakirna
Top