RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[Resolved] - [Yanfly] Class System help

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 33
RMRK Junior
Hello everyone!
I'm using Yanfly's Class System Script and I found two problems. The first one, which I tried to solve, is to make Subclass something unavailable and un-present from the game. I made a edit to the script, however I'm afraid I didn't did the right away:
Spoiler for:
Code: [Select]
    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    # - General Class Settings -
    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    # These are the general settings regarding the whole script. They control
    # various rules and regulations that this script undergoes. These settings
    # will also determine what a subclass can do for a player.
    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    CLASS_MENU_TEXT = "Class"  # Text that appears in the Main Menu.
    MAINTAIN_LEVELS = false    # Maintain through all classes. Default: false.
    DEFAULT_UNLOCKS = [ 1 ]   # Classes unlocked by default.
   
    # The display between a primary class and a subclass when written in a
    # window will appear as such.
    SUBCLASS_TEXT = "%s/%s"
   
    # This adjusts the stat rate inheritance for an actor if an actor has a
    # subclass equipped. If you want to disable this, set the rate to 0.0.
    SUBCLASS_STAT_RATE = 0.0
   
    # This adds subclass skill types to the available skill types usable.
    SUBCLASS_SKILL_TYPES = false
   
    # This adds subclass weapons to equippable weapon types.
    SUBCLASS_WEAPON_TYPES = false
   
    # This adds subclass weapons to equippable armour types.
    SUBCLASS_ARMOUR_TYPES = false
   
    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    # - Class Scene Commands -
    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    # These settings adjust how the class scene appears. Here, you can adjust
    # the command list and the order at which items appear. These are mostly
    # visual settings. Adjust them as you see fit.
    #
    # -------------------------------------------------------------------------
    # :command         Description
    # -------------------------------------------------------------------------
    # :primary         Allows the player to change the primary class.
    # :subclass        Allows the player to change the subclass.
    #
    # :learn_skill     Requires YEA - Learn Skill Engine
    #
    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    COMMANDS =[ # The order at which the menu items are shown.
    # [ :command,   "Display"],
      [ :primary,   "Primary"],
    # [ :custom1,   "Custom1"],
      [:learn_skill, "Custom"],
    # [ :custom1,   "Custom2"],
    # [ :custom2,   "Custom3"],
    ] # Do not remove this.
   
   [...]etc

The second one is to make the access only available to 001 Actor only (the first actor of all)., since I don't want the other actor being able to change classes nor I want them to appear in the class menu.

That's all, I think D:
« Last Edit: January 21, 2015, 12:35:45 PM by Imaidegawa »

*
Rep:
Level 72
~Few people understand the beauty of the night~
2014 Best Topic
You may want to post the whole script; it looks like all that you have above is part of the configuration portion, rather than the part of the script that actually does any of the "real work" of processing what you configure in that section.
Download http://a.tumblr.com/tumblr_lm5v281q6E1qde50fo1.mp3

*
Rep: +0/-0Level 33
RMRK Junior
I tried to insert the whole script, but when I pressed the button to post I got an error saying it exceeded the maximum number of  characters ):
I'm gonna leave a link to the script, however if it's against the rules I'm sorry >_< I'll take out if it is so.

https://github.com/Archeia/YEARepo/blob/master/Core/Class_System.rb

Edit: I was able to solve the problem.
« Last Edit: January 21, 2015, 12:32:36 PM by Imaidegawa »