Weapon Proficiency To Determine Equipable Weapons?

Discussion in 'JS Plugin Requests' started by JtheDuelist, May 18, 2018.

  1. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    I know Galv has a weapon proficiency plugin, but it isn't exactly what I am looking for. I want it to where it does like Galv's plugin does, BUT the weapons a character can equip are based on the user's proficiency in a weapon type.
    An example is this: Harold can equip swords, but Harold's proficiency in Swords is B rank. This means he can equip E-B rank swords, but not A or S rank ones. But after a while Harold reaches A rank with Swords, allowing him to use A rank swords.

    Any help with this please?
     
    #1
  2. Arkaik

    Arkaik Veteran Veteran

    Messages:
    76
    Likes Received:
    13
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Guess it's possible. Unfortunely i'm don't know nothing about Javascript, but maybe if you use Yanfly's Equip Requirement plugin and someone with good Javascript knowledge helps you to get a code you can do it. Sorry for being useless in help you and stay SUPER! :kaophew:
     
    #2
  3. shockra

    shockra Slightly Crazy Programmer Veteran

    Messages:
    403
    Likes Received:
    176
    Location:
    US
    First Language:
    English
    Primarily Uses:
    RMMV
    I tried messing around with a weapon plugin in the past with some success. Mine was designed to teach an actor skills once their weapon level was high enough to learn them. Using what I learned from that, you'll need the following:

    A Weapon Experience System (which increases after weapon use)
    The damage process needs a new step that adds EXP to that weapon
    A new function to increase proficiency at 'level up'
    A way to add notetags to the weapons (for required proficiency)
    Actor notetags may help too (for starting proficiency)
    Making everything visible (through menus, etc.)

    These are just some rough notes of what is needed to make this work.
     
    #3
  4. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    @shockra Considering I can't JS to save my life, this is more than a bit out of my league.
     
    #4
  5. shockra

    shockra Slightly Crazy Programmer Veteran

    Messages:
    403
    Likes Received:
    176
    Location:
    US
    First Language:
    English
    Primarily Uses:
    RMMV
    Well, I'm willing to take a crack at it. I've never made a full-scale plugin before, but I need to learn at some point. Whether or not it works remains to be seen, though.

    EDIT: Sorry, something like this may be beyond my skill at this point. I need to practice on something a bit simpler.
     
    Last edited: May 24, 2018
    #5
    JtheDuelist likes this.
  6. Ruiran

    Ruiran Veteran Veteran

    Messages:
    78
    Likes Received:
    29
    First Language:
    English
    How would weapon proficiency be improved? And would the weapon profficiency be exclusively by weapon type ? I can probably whip something really simple later if you are interested ^^
     
    #6
    MMMm likes this.
  7. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    @Ruiran I think @shockra stated it better than I could...
     
    #7
    Ruiran likes this.
  8. Maliki79

    Maliki79 Veteran Veteran

    Messages:
    630
    Likes Received:
    238
    Location:
    New Jersey
    First Language:
    English
    Primarily Uses:
    N/A
    Link galvs plugin and I'll see if I can update my dual weild plugin to incorporate weapon proficiency provided by that plugin.
     
    #8
  9. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    @Maliki79 Galv already denied me from including his plugins in the project (FE Essentials MV), so that won't help, unfortunately. At this point, I'd need an entirely new plugin altogether.
     
    #9
  10. Maliki79

    Maliki79 Veteran Veteran

    Messages:
    630
    Likes Received:
    238
    Location:
    New Jersey
    First Language:
    English
    Primarily Uses:
    N/A
    That's unfortunate. I can still upgrade my plugin, but you'd need to provide a weapon proficiency stat on actors before I can do it. Creative use of any custom stat plugin should do the trick.
     
    #10
    JtheDuelist likes this.
  11. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    Don't know if it counts, but I've been using Yanfly Core Engine to limit all stats to not go past 99.
     
    #11
  12. Maliki79

    Maliki79 Veteran Veteran

    Messages:
    630
    Likes Received:
    238
    Location:
    New Jersey
    First Language:
    English
    Primarily Uses:
    N/A
    Afraid not.
     
    #12
    JtheDuelist likes this.
  13. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    @Maliki79 Then I don't have any custom stat plugins (unless the custom "movement force" stat that is added using tomoaky's SRPG plugin counts, which in my translation and true to FE style by calling it "Mov" instead) in use. Unless you can add your compatibility to that (I can PM you my English translated version of it if you want a look), I would need a general push on one.

    Don't know why I didn't get a notif from this since I have it watched.
     
    #13
  14. Maliki79

    Maliki79 Veteran Veteran

    Messages:
    630
    Likes Received:
    238
    Location:
    New Jersey
    First Language:
    English
    Primarily Uses:
    N/A
    @JtheDuelist , looking at your FE post, it says you have a weapon durability component.
    Did you write that yourself?
    If so, adding a proficiency stat to actors would be very similar to durability on equips.
     
    #14
    JtheDuelist likes this.
  15. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    @Maliki79 That would be Yanfly's (and I saw you have a extension plugin already for it).
     
    #15
  16. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    Bumping.

    @Maliki79 Maybe there is a way to add the proficiency stuff to Yanfly's Weapon Durability plugin?
     
    #16
  17. Maliki79

    Maliki79 Veteran Veteran

    Messages:
    630
    Likes Received:
    238
    Location:
    New Jersey
    First Language:
    English
    Primarily Uses:
    N/A
    The durability affects weapons directly while proficiency will likely affect actors. While similar from a gameplay perspective, they are not the same programming-wise.
    This is why I initially suggested my dual-wield plugin as it directly touches on actors' ability to equip items.
    But thinking on it further, the request is a bit too broad to include there.
     
    #17
  18. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    @Maliki79 Would Yanfly's Equipment Requirements plugin work for it then?
     
    #18
  19. Maliki79

    Maliki79 Veteran Veteran

    Messages:
    630
    Likes Received:
    238
    Location:
    New Jersey
    First Language:
    English
    Primarily Uses:
    N/A
    Probably.
    You would need to code the proficiency into the actors tho.
    You'd also need the means for changing proficiency (per hit? per battle?) as well as how you would display it on actors and equips.
    It's likely not gonna be a small plugin.
     
    #19
  20. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    @Maliki79 Considering I am still somewhat illiterate in JS (I've been taking classes, but not enough for this kind of thing), this is seeming to be a tall order...
     
    #20

Share This Page