MOGHunter's BattleCry Plugin - Skills

Hello! So, I'm using MOGHunter's BattleCry Plugin, and well, I've come to an issue that I'm sure is extremely easy to fix, but considering I have no knowledge on Java Script, or whatever it is, I have no idea what to do! I'll let the Screenshots do all the talking!

MOGHunter Skill Default.PNG


So this is the default script for MOGHunter's BattleCry Plugin. I requires an Actor ID, Skill ID, and Sound File. Well, I got the Actor ID just fine, the Actors being 8, 2, 13 and 7 (Weird order, I know). But from the way I can tell, this only has limited Skill Slots for the Actor. I'm sure you can add Skills, but I'd rather not have to do that.

Thing is, I would like the Actor to use his Voice Lines for every Skill within the game without having to make over 30 Scripts. So instead of Skill IDs 9 and 10, it would be every single ID within the Skill List.

And so, I tried following the other Scripts, such as Damage, which were straight forward. I edited the Script for Skills like this:

MOGHunter Skill Edited.PNG


Now it matches the rest of the Scripts (besides Items, which is the same as Skills before the edit). Though, it doesn't seem to work still, which is why I'm here! Is there a way to have Actors say their Lines for every Skill, rather than having to list them all? By the way! I saved a Copy before the edit, so if I need it, I'll go back to it! Cheers!
Bump, sorry!
Don't start a thread with
I'm sure is extremely easy to fix, but considering I have no knowledge on Java Script
it's discourage the other to help you
don't look down on what you don't know
it's not cool

event what you explain to do
is sound confusing and hard already...
you say you would rather not do what the actual way the script require
if I understand right?
but... I would suggest you follow that mog instruction
this is more like to post in plugin request
and even if it in plugin request
hardly anyone will take their time to help you
especially with mog plugin
his is some complicate one to understand

if you can already setting every voice to skill by manual add line then do it
that will faster than bump this thread for a year later...

why mog plugin had some try some way to setting
well... it design for free for every one to use
not hire to do for specific project

I myself edit many things of his plugin to my personal design
and it always takes a day or more to do
so... if you don't have code knowledge
better go by his rule
or make a thread in plugin request
Sorry for the necro but I think I have the solution to your problem. Even if you aren't working on this anymore it might be useful for someone else who has run into this.
Essentially, you could take the entire skill section and just delete it. Then in the Actor - Default Action part of the script you just add your audio files between the brackets. make sure they're bookended with quotation marks and separated by a comma.
Code:
// -----------------------------------------------------------------------
    // ACTOR - DEFAULT ACTION (Skill/ITEM)
    // -----------------------------------------------------------------------      
    Moghunter.v_actor_default_action[1] = ["V_ACT1_ATTACK_1","V_ACT1_ATTACK_2","V_ACT1_ATTACK_3","V_ACT1_SKILL_1"];
    Moghunter.v_actor_default_action[2] = ["V_ACT4_ATTACK_1","V_ACT4_ATTACK_2","V_ACT4_ATTACK_3"];
    Moghunter.v_actor_default_action[3] = ["V_ACT2_ATTACK_2","V_ACT2_ATTACK_2"];
    Moghunter.v_actor_default_action[4] = ["V_ACT3_ATTACK_1","V_ACT3_ATTACK_2","V_ACT3_ATTACK_3"];

In this instance I have added the audio file V_ACT1_SKILL_1 to the list of possible audio files that can play. You can take whatever your file name is and make it work as long as it's in the folder (your game title)>audio>se.

The only issue with this method is that it will make your skills and normal attacks use the same audio files. So if you want to keep the dialogue on those parts separate then yes, you'll have to edit the Actor - Skill section of the script to include all your skills. The skill section works pretty much the same way as the default action section does.
Code:
// -----------------------------------------------------------------------
    // ACTOR - SKILL
    // -----------------------------------------------------------------------  
    // Moghunter.v_actor_skill[A] = {B:[C,C,C,C,...] }
    //
    // A - Actor ID
    // B - Skill ID
    // C - File Name
    // -----------------------------------------------------------------------  
    Moghunter.v_actor_skill[1] = {
         1:["V_ACT1_SKILL_1"], //
         2:["V_ACT1_SKILL_1"], //
         3:["V_ACT1_SKILL_1"], //
         4:["V_ACT1_SKILL_1"], //
         5:["V_ACT1_SKILL_1"] //
         6:["V_ACT1_SKILL_1"], //
         7:["V_ACT1_SKILL_1"], //
         8:["V_ACT1_SKILL_1"], //
         9:["V_ACT1_SKILL_1"], //
         10:["V_ACT1_SKILL_1"] //
    };



Still, using only one audio file for all your skills will make this much easier because you can just copy/paste each line and change the skill number and that's it. Just like in the example above this. It only took me like 20 seconds to do this. So it's worth your time if that's what you want to do.

Anyways, hope this solves your problem, or someone else's problem.

Original thread: https://forums.rpgmakerweb.com/threads/moghunters-battlecry-plugin-skills.121098/