Equipment Learning

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by Dr.Yami, Dec 9, 2012.

  1. Dr.Yami

    Dr.Yami 。◕‿◕。 Developer

    Messages:
    992
    Likes Received:
    712
    Location:
    Finland
    First Language:
    Vietnamese
    Primarily Uses:
    Other
    Equipment Learning


    Introduction

    This script provides a feature which allows actors to learn skills through their equipments by earning Ability Point (AP). Player now can have one more way to learn skills.

    Features

    - Can learn more than 1 skill in an equipment.

    - Can have different AP rate for each Actor or Class.

    - Compatible with YEA - Victory Aftermath.

    Screenshots

    [​IMG]
    Download & Manual

    Get them here

    Credit

    Yami
     
    Last edited by a moderator: Dec 9, 2012
    #1
  2. Megablackdragon31

    Megablackdragon31 Veteran Veteran

    Messages:
    215
    Likes Received:
    34
    Location:
    Argentina
    First Language:
    Spanish
    It looks great Yami,thanks you very much for the script.

    Just a little question,it is posible to create a patch for KMS generic Gauges?

    Excuse me for my bad English and greetings from Argentina.

    FF9 equip learn skills,good memories...
     
    Last edited by a moderator: Dec 9, 2012
    #2
    Mako Star likes this.
  3. omen613

    omen613 Veteran Veteran

    Messages:
    309
    Likes Received:
    106
    Location:
    USA - California
    First Language:
    English
    Awesome looking script Yami! I'll have to tinker with this one

    Edit:

    A suggestion would be to allow the actor to use the skill they are learning while gaining AP...from what I see...you can only use the skill once you mastered it.
     
    Last edited by a moderator: Dec 12, 2012
    #3
    DoctorArtist likes this.
  4. Malfim

    Malfim Villager Member

    Messages:
    8
    Likes Received:
    1
    First Language:
    Portuguese
    This can be done using traits =)
     
    #4
  5. Megablackdragon31

    Megablackdragon31 Veteran Veteran

    Messages:
    215
    Likes Received:
    34
    Location:
    Argentina
    First Language:
    Spanish
    Oops! Please excuse Malfim,i missundertood.

    Edit.
     
    Last edited by a moderator: Dec 14, 2012
    #5
  6. Malfim

    Malfim Villager Member

    Messages:
    8
    Likes Received:
    1
    First Language:
    Portuguese
    I was answering the dude's question, man lol

    The skill can be used before you finish to learn it if you give the skill trait to the equipment, omen613
     
    Last edited by a moderator: Dec 14, 2012
    #6
    Megablackdragon31 likes this.
  7. ekomega

    ekomega Villager Member

    Messages:
    20
    Likes Received:
    1
    Thanks for the script! Seems much better than Fomar’s or Yanfly’s implementations.

    I have a problem, when using this script with Ace Equip Engine, the learnable skills don’t appear in the little window in Scene_Equip. This is assuming, of course, that the proper weapon/armor is equipped, the weapon/armor notetags are set.

    When you select “Learn Skill” (or whatever you name the :command_learning) from the Equip menu, it toggles the little window on the right between Stats and Available Skills. If you leave the window toggled on Available Skills and then go to Equip, it lists the skills on the equipment you have equipped, which you can learn from the notetags on the equipment. But then if you go back to “Learn Skill”, the list is empty. So it only shows the skills in Available Skills for a particular equipment when a particular equipment is highlighted. But not all of the available skills you can learn from all of your equips.

    Is that how it’s supposed to work? I think it would be great to show all of the skills from all the equipment you have equipped when you highlight Available Skills, and when you choose to equip a particular item, it should only show the skills from that item.

    It also would be great if you could toggle between Stats and Available Skills with a button press.

    Also, any chance of putting the learn skills command in the Skill scene? I’m not sure how to do it, but Yanfly did it with his Learn Skill engine. It would be a nice feature, if you feel like it.

    Thanks a lot!
     
    #7
  8. darmakwolf

    darmakwolf Villager Member

    Messages:
    7
    Likes Received:
    2
    First Language:
    English
    Attached is a picture of an issue I'm having. The system works PERFECTLY, I love your script! I will definitely credit you in my game, great work. The problem I'm having is that some skill names that are a bit longer and have higher AP requirements tend to overlap in the learning view window when equipping stuff. It is hard to read. What part of the code can I alter to squish the size of the text a bit? I looked through it myself and couldn't find the right bit of code to do so. Please let me know - thank you!

    problem.bmp
     

    Attached Files:

    #8
  9. Dr.Yami

    Dr.Yami 。◕‿◕。 Developer

    Messages:
    992
    Likes Received:
    712
    Location:
    Finland
    First Language:
    Vietnamese
    Primarily Uses:
    Other
    Check method draw_item of class Window_EquipLearning (line 632)
     
    #9
  10. darmakwolf

    darmakwolf Villager Member

    Messages:
    7
    Likes Received:
    2
    First Language:
    English
    Here we have:



    Code:
      def draw_item(index)
        skill = @data[index]
        if skill
    	  rect = item_rect(index)
    	  rect.width -= 4
    	  draw_ap(skill, rect.x + 2, rect.y, rect.width, enable?(skill))
    	  draw_item_name(skill, rect.x, rect.y, enable?(skill))
        end
      end
    I tried changing the rectangle width or the x values, it just shifts things around, I can't get the font to shrink so it has enough room to display without overlapping...
     
    #10
  11. ekomega

    ekomega Villager Member

    Messages:
    20
    Likes Received:
    1
    any help with my problem from above? 

    With Yanfly Equip Engine Ace, it doesn't ever show all of the available skills that a player has from his equips (like in your screenshot), only by equip when a particular equip is highlighted. 

    Thanks.
     
    #11
  12. Treydon

    Treydon Hobby Gamer Member

    Messages:
    18
    Likes Received:
    0
    Location:
    Ontario, Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    I am also curious about the above comment. Any way to make the skills show up while hovering over the item before equipping?
     
    #12
  13. ArkhamVI

    ArkhamVI Villager Member

    Messages:
    15
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMMV
    According to the site, you make a command to give you the option to show any skills you are learning (I used ':equip_skills' for example), then you place that same option in the CUSTOM COMMANDS sections, and then you place a handler called :command_learning in the handler part of the code.
     
    Last edited by a moderator: Dec 21, 2013
    #13
  14. Aurorain

    Aurorain Overlord Illumise Veteran

    Messages:
    208
    Likes Received:
    49
    Location:
    Argellia
    First Language:
    English
    Hey Yami, I noticed that there isn't a way to tag states using this script. Like, if I wanted to make a state that causes actors to not be able to gain any AP, how could I go about doing that? :unsure:
     
    Last edited by a moderator: Jan 29, 2014
    #14
  15. sartha

    sartha Veteran Veteran

    Messages:
    31
    Likes Received:
    5
    First Language:
    English, French
    I was wondering if it would be possible to add into this script more variability in the weapon/armor notetags?

    Example "Dark Shield"

    <el skill: 300, 100%> (Meteor)

    <el skill: 301, 200%> (Banish)

    allowing you to learn Banish twice as fast with that shield as you would Meteor... I understand that I can do something similar by simply modifying Banish with <el require: x> tag but my game is being made with a similar magic learning system to Final Fantasy VI... different items teach the same spells at different rate (or at least that's how I want it to be) with the previous example there might be an accessory that teaches Meteor at 200% rate.

    As my scripting knowledge is nearly nonexistant, I'd rather not mess around with it too much on my own ^.^;
     
    #15
  16. Necromedes

    Necromedes Artist, Composer and Eventer Member

    Messages:
    19
    Likes Received:
    1
    Location:
    The Underworld
    First Language:
    English
    Ok. I REALLY need this script but it says the link is 404. Fix please? I would greatly appreciate it!
     
    #16
  17. TheHarmp

    TheHarmp Non-Profit Mephobiac Veteran

    Messages:
    62
    Likes Received:
    90
    Location:
    Ridderkerk, The Netherlands
    First Language:
    Dutch
  18. deathsia

    deathsia Pegisister Veteran

    Messages:
    598
    Likes Received:
    45
    First Language:
    English
    I got a problem, when I go to select the equip, I get a nilclass error on line 757.
     
    #18
  19. fofay

    fofay Veteran Veteran

    Messages:
    46
    Likes Received:
    1
    Location:
    My room
    First Language:
    Croatian
    Excellent script ! 
    but for some reason, even tho I set up everything in the skills, armor/weapons, enemies and actor notes, I can't get my characters to receive AP at all...
    and for some reason, I can't use the skill that I'm learning (or is that supposed to work like that?).

    and I receive an error when I start my game, saying " 'Yami - Equipment Learning' line 349: TypeError occured. Can't clone NilClass".
    if I comment out lines 349 and 350, the game starts normally.
    is maybe commenting those 2 lines and not receiving AP related in some way?

    if any other info is needed, I'll supply it.
     
    #19
  20. AriArk

    AriArk Villager Member

    Messages:
    25
    Likes Received:
    0
    Location:
    Bristol, England
    First Language:
    English
    I was wondering whether I could disable this for all but one actor? Thanks :D
     
    #20

Share This Page