Equipment Learning

Discussion in 'JS Plugin Releases (RMMV)' started by Moogle_X, Jan 4, 2016.

  1. Moogle_X

    Moogle_X Veteran Veteran

    Messages:
    157
    Likes Received:
    310
    First Language:
    English

    Equipment Learning v1.23
    by Moogle_X





    Introduction
    This plugin allows actors to learn new skills by equipping certain weapons and armors. Each equipment now possess some innate skills that can be learned by any actors who equip it.


    Any skills that come from equipment require certain amount of Ability Point (AP).


    Actors gain AP by defeating enemies in battle. Once the actors gain enough AP, they will automatically learn the equipment's innate skills.

    Features


    - Use AP gained in battle to learn new skills.
    - Customize how much AP gain for each enemy.
    - Adjust different AP requirements for each skill.


    - Use "AP Boost" trait to increase AP gain amount.


    - View ability list in Item Scene, Equip Scene, and Shop Scene (required Yanfly's Shop Menu Core).


    - View AP earned in battle using Yanfly's Victory Aftermath.


    - Restrict ability learning based of actors or classes.


    - Bind skills' visibility in Window Ability List with an in-game switch.


    - Add custom effect whenever AP is gained.


    - Give each actor different AP requirement for the same skill.

    Screenshots

    Spoiler



    [​IMG]


    [​IMG]


    [​IMG]


    [​IMG]



    How to Use

    Spoiler



    Simply set up your weapons and armors by giving this notetag:

    Replace x, y, z with Skill ID in your database.


    After that, customize the skill's AP requirement by inserting this notetag into the skill's notebox:




    NEW! Custom Scroll Images

    If you wish to disable left and right horizontal arrows and instead use custom scroll images at the left and right bottom corners of the windows, please turn on the parameter "Use Custom Scroll Images" in the plugin configurations.



    Spoiler



    [​IMG]



    You will need to put 2 png files named "eqlLeftScroll" and "eqlRightScroll" inside '(Project Folder)/img/system' directory.


    The offset X and offset Y value of both images can be customized in the plugin parameters.


    Screenshot

    [​IMG]






    Compatibility
    This plugin must be positioned below any of these plugins (if you use them):




    Terms of Use


    Free to use in both commercial and non-commercial project as long as credit is given.


    Simply credit me as "Moogle_X" in your in-game credit.


    Some Author's Note


    If you experience the "Type Error. Cannot Set property '_hArrowsHide' of undefined" error, try installing YEP_ItemCore plugin and put it above this plugin.


    That should fix the error until I update this plugin with proper bug fix.

    External Link


    View attachment Moogle_X_EquipmentLearning.rar


    Chaos17 made these lovely scroll images. Please credit him if you use them.


    eqlLeftScroll.png


    eqlLeftScroll1.png


    eqlRightScroll.png


    eqlRightScroll1.png
     
    Last edited: Sep 13, 2017
    #1
  2. Megablackdragon31

    Megablackdragon31 Veteran Veteran

    Messages:
    215
    Likes Received:
    35
    Location:
    Argentina
    First Language:
    Spanish
    I hope that is compatible with the pretty gauges plugin. Iwill test it when i get home. Thanks you very much. :D
     
    #2
  3. Fernyfer775

    Fernyfer775 Veteran Veteran

    Messages:
    1,299
    Likes Received:
    802
    First Language:
    English
    Oh man...this plugin would have been so amazing if I hadn't already spent like 50+ hours perfecting my skill learn system lol.

    Going to keep tabs on this bad boy for my next project. Thank you for making it!
     
    #3
    RachelTheSeeker and kaukusaki like this.
  4. moldy

    moldy Veteran Veteran

    Messages:
    190
    Likes Received:
    28
    First Language:
    English
    Cheesus Crust, are you trying to make me love you with all your FFTA-inspired plugins?! This is exactly what I was looking for!
     
    Last edited by a moderator: Jan 4, 2016
    #4
    RachelTheSeeker likes this.
  5. HeathRiley

    HeathRiley Veteran Veteran

    Messages:
    70
    Likes Received:
    42
    Location:
    Washington,USA
    First Language:
    English
    I think this is amazing and am super happy I'll be able to play with this soon! Big thank you!
     
    Last edited by a moderator: Jan 4, 2016
    #5
  6. KeroTani

    KeroTani Veteran Veteran

    Messages:
    180
    Likes Received:
    14
    Location:
    Behind you, really turn around.
    First Language:
    English
    Edit, I worked it out. thanks.
     
    Last edited by a moderator: Jan 4, 2016
    #6
  7. Moogle_X

    Moogle_X Veteran Veteran

    Messages:
    157
    Likes Received:
    310
    First Language:
    English
    @Megablackdragon31

    It's compatible with Pretty Gauges plugin. The screenshots in the first post use Pretty Gauges.

    @KeroTani

    You just need to press left/right button whenever you see left/right arrow show up on the right window. :p
     
    #7
  8. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    527
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    This looks great.

    Does an already learned skill require an equip that has that skill to remain usable? Or does it remain on the actor permanently?
     
    Last edited by a moderator: Jan 4, 2016
    #8
  9. Moogle_X

    Moogle_X Veteran Veteran

    Messages:
    157
    Likes Received:
    310
    First Language:
    English
    @Roguedeus

    Already learned skills will be considered "mastered" immediately. The AP of that learned skill will be changed to "full AP" automatically. And then skills will be permanent. You don't need to equip the equipment to use it anymore.

    If the actor somehow forgets the skill, the AP of that skill will be reduced to 0.
     
    #9
    Roguedeus likes this.
  10. Neo Soul Gamer

    Neo Soul Gamer Veteran Veteran

    Messages:
    612
    Likes Received:
    329
    Location:
    Nova Scotia, Canada
    First Language:
    English
    Primarily Uses:
    N/A
    Very VERY well done. I was trying to replicate this mechanic through other means and gave up. Thank you very much for this.
     
    #10
    RachelTheSeeker likes this.
  11. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    527
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    Thanks for clarifying. :)

    I really like the forethought of adding the gauge offset.
     
    Last edited by a moderator: Jan 5, 2016
    #11
  12. Neo Soul Gamer

    Neo Soul Gamer Veteran Veteran

    Messages:
    612
    Likes Received:
    329
    Location:
    Nova Scotia, Canada
    First Language:
    English
    Primarily Uses:
    N/A
    Not too sure how hard it would be to implement this, but is it possible to include an update that allows for varying costs depending on the class? Or even an AP cost eval function?

    Or, another way to go about it would be to have notetags that you can set to a class that modifies the AP costs of particular skills.
     
    #12
  13. Moogle_X

    Moogle_X Veteran Veteran

    Messages:
    157
    Likes Received:
    310
    First Language:
    English
    I am always open for improvement. Feel free to suggest more ideas for the next update.

    I'll do my best to implement everything.  :D
     
    #13
    Roguedeus likes this.
  14. Megablackdragon31

    Megablackdragon31 Veteran Veteran

    Messages:
    215
    Likes Received:
    35
    Location:
    Argentina
    First Language:
    Spanish
    I love it,thanks you very much my friend. Just a little question,it is possible to add a custom font and size feature?

    No bugs so far,i will test your other works as well. :D
     
    #14
  15. LazierBandit

    LazierBandit Villager Member

    Messages:
    23
    Likes Received:
    18
    First Language:
    English
    Yay! This script has made my week!! I've been really hoping someone was going to make this in MV. Perfect. Thanks, Moogle!
     
    #15
  16. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    527
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    Is there a way that I might assign an eval block to a skill learned with AP? Similar to the way Yanlfy's plugins often do, with Lunatic Modes?

    Also, might it be possible to flag a skill so it does not appear on the equipments AP list?

    With those two options combined, I could assign some equipment to fire arbitrary code after being used so many times. Without advertising it to the player.

    Such as curses. :)

    A cursed weapon may cause the actor to learn a negative passive skill... Or damage them after 'X' actions... Or randomly apply a state, on each action... Etc...
     
    Last edited by a moderator: Jan 6, 2016
    #16
  17. ShidoLionheart

    ShidoLionheart Cuor di Leone Veteran

    Messages:
    61
    Likes Received:
    31
    Location:
    Italy
    First Language:
    Italian
    In FFIX characters can equip same things but only skills related to their class are aviable to learn.

    I will be nice to see something like that. Skill not learneable in gray and not AP gain unless you are of that particular class

    A nice addon is to add this option also for actors, so only a specific actor can learn that skill and only specific class can learn specific skills.

    [​IMG]
     
    #17
    HeathRiley and Moogle_X like this.
  18. Neo Soul Gamer

    Neo Soul Gamer Veteran Veteran

    Messages:
    612
    Likes Received:
    329
    Location:
    Nova Scotia, Canada
    First Language:
    English
    Primarily Uses:
    N/A
    VERY good idea here. I would take this suggestion over the one I made. I'd recommend making this work similarly to Yanfly's Learn Skill mechanic, where we assign skills that can be learned by each class with notetags.

    For example:

    A piece of equipment can have 3 skills (with ID 1, 2, and 3)... But with the following notetag...

    <EQL Learn Skill: 1, 2>

    Skill ID 3 would be greyed out on the AP skill list.
     
    Last edited by a moderator: Jan 8, 2016
    #18
  19. Moogle_X

    Moogle_X Veteran Veteran

    Messages:
    157
    Likes Received:
    310
    First Language:
    English
    @Roguedeus

    A little question before I work on the update. I don't really understand about the eval block part, especially about the "timing".

    Is the eval block will be run just after the actor learn/master the particular skill from equipment? Or perhaps you meant something else entirely. :unsure:

    I can add the "ability hide" feature. The flagged skill will be hidden in any equipment's ability list. Also, there will be no "announcement" when the actor learn the skill in battle (in Victory Aftermath window).

    (Btw, your passive skill compatibility request is done. :) )

    @Megablackdragon31

    Custom font and size should be doable. I assume it's the custom font and size for skill name, "ability" text, and AP numbers. (Did I miss anything?)
     
    Last edited by a moderator: Jan 8, 2016
    #19
    Megablackdragon31 and Roguedeus like this.
  20. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    527
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    Yes, I would think that whatever eval is attached would run immediately after the AP Learning occurs. That way, if it's to be repeated, the eval could cause the skill to be forgotten, and appear for re-learning. The skill would then only act as place holder for the eval really.

    Now that I think about it. Would it be possible to attach show/hide & enable/disable switches to an AP learnable skill? Instead of just a hide flag? That way, when one skill is learned the eval could be used to show and enable AP for a new skill. Disabled skills would not gain AP until enabled.

    Thanks again!
     
    #20

Share This Page