Actor Voices In Battle-MV Edition

Discussion in 'JS Plugin Releases (RMMV)' started by deathsia, May 2, 2017.

  1. deathsia

    deathsia Pegisister Veteran

    Messages:
    618
    Likes Received:
    52
    First Language:
    English
    Screencap? Or maybe post your code of the section in the config file where you imputed the name for your sound effect?
     
    #21
  2. UndeadGuy

    UndeadGuy Warper Member

    Messages:
    3
    Likes Received:
    0
    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,
     

    Attached Files:

    #22
  3. deathsia

    deathsia Pegisister Veteran

    Messages:
    618
    Likes Received:
    52
    First Language:
    English
    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.
     
    #23
  4. UndeadGuy

    UndeadGuy Warper Member

    Messages:
    3
    Likes Received:
    0
    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
     
    #24
  5. deathsia

    deathsia Pegisister Veteran

    Messages:
    618
    Likes Received:
    52
    First Language:
    English
    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.
     
    #25
  6. BlueVikingr

    BlueVikingr The Dragonbirb Veteran

    Messages:
    56
    Likes Received:
    37
    Location:
    Canada
    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...
     
    #26
  7. RistoReborn

    RistoReborn Warper Member

    Messages:
    1
    Likes Received:
    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!
     
    #27
  8. GertzDude22

    GertzDude22 Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Hey i got an error.

    TypeError: Cannot read property "ratio" of undefined
     
    #28
  9. deathsia

    deathsia Pegisister Veteran

    Messages:
    618
    Likes Received:
    52
    First Language:
    English
    what version of rpg maker are you using? This plugin is not compatible with anything above 1.5.2 of rpg maker mv.
     
    #29
  10. GertzDude22

    GertzDude22 Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    for some reason im using 1.0.1 lol, tho in another project with the same rpg maker version it worked
     
    #30
  11. deathsia

    deathsia Pegisister Veteran

    Messages:
    618
    Likes Received:
    52
    First Language:
    English
    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:
     
    #31
  12. GertzDude22

    GertzDude22 Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    No worries, i just Reinstalled and it worked!
     
    #32
  13. noobthebuilder

    noobthebuilder Warper Member

    Messages:
    4
    Likes Received:
    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.
     
    #33
  14. GertzDude22

    GertzDude22 Warper Member

    Messages:
    4
    Likes Received:
    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
     
    #34
  15. Dreeks

    Dreeks Warper Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    French
    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
     
    #35
  16. deathsia

    deathsia Pegisister Veteran

    Messages:
    618
    Likes Received:
    52
    First Language:
    English
    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.
     
    #36
  17. seaotter

    seaotter Veteran Veteran

    Messages:
    48
    Likes Received:
    17
    First Language:
    Chinese
    Primarily Uses:
    RMMV
    Have demo files ?
     
    #37
  18. GroompofBuals

    GroompofBuals Warper Member

    Messages:
    2
    Likes Received:
    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?
     

    Attached Files:

    Last edited: Jul 17, 2019
    #38
  19. deathsia

    deathsia Pegisister Veteran

    Messages:
    618
    Likes Received:
    52
    First Language:
    English
    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.
     
    #39
  20. GroompofBuals

    GroompofBuals Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Yeah I'm running on 1.5.2, maybe this will help? Sorry for the delayed response, been pretty busy lately.
     

    Attached Files:

    #40

Share This Page