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?
Yanfly's class level unlock
● ARCHIVED · READ-ONLY
-
-
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) -
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> -
-
Just in case you want to see the core script
http://github.com/Archeia/YEARepo/blob/master/Core/Class_System.rb -
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. -
Yeah i get the code i already showed, i just need somebody to demonstrate how to set it to the secondary class
-
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.
-
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 -
you can already make subclasses in the core script (i already have it).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. -
i re-read the quote i was talking secondary as the class i want it to unlock
-
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.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
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 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.
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) -
can anyone reply with the edited notetag :(
-
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 thisAll 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.
-
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.