Yanfly's class level unlock

● ARCHIVED · READ-ONLY
Started by steven197238 17 posts View original ↗
  1. This will sound major noobish, how do you set a class for

    <level unlock requirements>
       class x: level y
       class x: level y
    </level unlock requirements>

    yanfly told you that to use this to unlock a class when these requirements(bold).

    how do you set it to the class to unlock?
  2. I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


    Can you please add a link to the script so people can check easily? (don't copy and paste the script into your post - just a link to its original site/forum post/blog article)
  3. You should leave a link to the script you want help with, I have never read this script but wouldn't it be replace x with class number and replace y with class level you want ?

    Code:
    <level unlock requirements>   class 1: level 2   class 3: level 99</level unlock requirements>
  4. The way I read it, if you want say class 5 in the database to require class 1 to be level 3, you would enter

    <level unlock requirements>
       class 1: level 3
    </level unlock requirements>

    in the notetag for class 5. Everything in the group has to be met before the class opens up.

    I would try to get something that small working first and see if it works for you. Maybe add a slime battle that gives you 500 EXP and see if class 5 unlocks after that fight. If so, you have the notetag and script working.
  5. Yeah i get the code i already showed, i just need somebody  to demonstrate how to set it to the secondary class
  6. The secondary class? That's tougher. I think you need a script for subclasses first, and the unlock is an all or nothing, it is either it unlocks for both the primary and subclass, or not at all. Is that what you are trying to do, set it so that the subclass unlocks at a specific point? If so, it will have to be a subclass only (which is another script), else it will unlock for both primary and subclass at the same time.
  7. Example: i already know how to set requirements for the secondary class put i actually need to know how to make it so

    the class reads the requirements 
  8. bgillisp said:
    The secondary class? That's tougher. I think you need a script for subclasses first, and the unlock is an all or nothing, it is either it unlocks for both the primary and subclass, or not at all, though you can set some classes to be primary or subclass only with the tag

    <primary only>

    or

    <subclass only>

    Just know that subclasses do not gain experience under Yanfly's default scripts, so if you have something as subclass only and that subclass is an unlock requirement, that class will never unlock.
    you can already make subclasses in the core script (i already have it).
  9. i re-read the quote i was talking secondary as the class i want it to unlock
  10. steven197238 said:
    Example: i already know how to set requirements for the secondary class put i actually need to know how to make it so

    the class reads the requirements 
    Not sure what you mean...if it is set, it automatically reads it in the system when you put it in the notetag. Just make sure to start a new game once you put in the notetag.

    Edit: Your post came while I was typing...for the secondary to unlock, it has to be a secondary only class. As far as I know, no other way will work.
  11. bgillisp said:
    Not sure what you mean...if it is set, it automatically reads it in the system when you put it in the notetag. Just make sure to start a new game once you put in the notetag.

    Edit: Your post came while I was typing...for the secondary to unlock, it has to be a secondary only class. As far as I know, no other way will work.
    i kind-of get what you're saying now but i only want one class to be a level to unlock another.

    not all classes. i don't know what to put in the notetag so only class:a, will unlock until class:b is level 2 (what is in bold i already know)
  12. can anyone reply with the edited notetag  :(
  13. All you have to do is put that notetag in the notes box for the class you want it to apply to, as it will only unlock the class with the notetag. If there is no notetag, the class is available from the beginning. Just make sure to change class x: level y to where x is the id of the class, and y is the level you want that class to be before the class unlocks.
  14. bgillisp said:
    All you have to do is put that notetag in the notes box for the class you want it to apply to, as it will only unlock the class with the notetag. If there is no notetag, the class is available from the beginning. Just make sure to change class x: level y to where x is the id of the class, and y is the level you want that class to be before the class unlocks.
     can you show me how it looks like when you apply it, so we can solve this
  15. steven197238, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


    If you have something to add and your own post is the last post in a topic, simply edit that post.