[SSG] Soft Level Cap

● ARCHIVED · READ-ONLY
Started by Heartbreak61 15 posts View original ↗
  1. [simple Stupid Gaming] Soft Level Cap
     ​
    version 1.2.0​
    by Heartbreak61​
    INTRODUCTION
    Sometimes, I want to prevent players to gain any exp before they reach certain checkpoint like defeating certain boss or watching an event. This is hard (or impossible?) to achieve using default RM eventing system. This plugin provide a way to do that, to set a soft level cap using switch.
     

    FEATURES
    - Simple setup​
     ​
    SCREENSHOT
    - N/A
     ​
    HOW TO USE
    Right click and save the download link. Put on plugin folder. Enable it on plugin manager. Set your level cap using plugin parameter.
     

    Plugin Parameters
    Level Cap Setup (default = 0)
    format:
    <level1>=<switch1>; <level2>=<switch2>; <level3>=<switch3> ...

    example:
    10=1; 20=2; 30=3; 40=4; 50=5

    will limit actors' level to 10 when switch 1 is ON, 20 when switch 2 is ON, 30 when switch 3 is on, and so on.

    Make sure that switches on lower level cap is OFF before enabling higher one. For example, if you want to set level cap to 30, you have to make sure that switch 1 and 2 is OFF before enabling switch 3. Otherwise, this plugin will use switch from smallest level cap.


    Screenshot%202.PNG


    Cap EXP (default = true)
    RPG Maker MV's default behaviour never limits exp. When an actor reach max level, he/she will still gain exp. It means that once you set off switches that handle soft level cap, that actor's level will be automatically adjusted to match his/her current exp.

    If you want to change this behaviour, set this parameter to true. This way, that actor can't gain any exp when he/she is on max level.
     
    Use Variable (default=false)
    Request by Estriole
    Use variable value instead of switch.

    Variable ID (default=0)
    Variable ID that will be used as global level cap. Only used if you set Use Variable parameter to true.

    You can setup personal level cap by writing this line on actor's notebox.

    <level_cap_var: varID>

    example

    <level_cap_var: 15>

    Actors that doesn't have any personal level cap will use global level cap. This option only valid if you set Use Variable parameter to true.

    Note: If you set 0 as the value of global or personal variable that used as level cap, then default max level you declared on database will be used as level cap.
     

    DEMO
    N/A

    OLDER DEMOS:
    N/A

    SCRIPT (right click and save)
    Download

    FAQ
    Nothing yet

    TERM OF USE
    Free to use on both commercial or non-commercial project as long as you give credits to me. ;)
    CHANGELOG
    2015.12.15 ver 1.0.0
    - Started and finished the script

    2015.12.15 ver 1.1.0
    - Changed: Method to setup level cap from script call to plugin parameter
    - Fixed : Level cap not working on saved game (thanks to iavra for pointing this out)
     
    2015.12.17 ver 1.2.0
    - Added: Option to set variables as level cap & actor's personal level cap (thanks to Estriole for the idea)


    Author's note: none at this moment... I'm too sleepy :headshake:
     
    Ver 1.2.0: Personally, I found that using variable is easier than using switch. I decided to let user choose between variable or switch method.
  2. You might want to change the way max levels are registered, because currently they are not persisted in the game file and reset every time, the game is saved/loaded. So, i either suggest adding additional plugin parameters (could be done with 1 in the form of <level>:<switch>, <level>:<switch>, ...) or store the information in $gameSystem, so it gets saved.
  3. Iavra said:
    You might want to change the way max levels are registered, because currently they are not persisted in the game file and reset every time, the game is saved/loaded. So, i either suggest adding additional plugin parameters (could be done with 1 in the form of <level>:<switch>, <level>:<switch>, ...) or store the information in $gameSystem, so it gets saved.
    Yup, just check it with saved game and the outcome isn't like what I've expected.

    I'll do this later. For now let's just consider this plugin as buggy ;)

    EDIT:

    Done! Now it's using plugin parameter to set things up. I think predefining things using plugin parameters is safer than game_system when it comes to loading old save files on updated game (cmiiw).
  4. nice script... i have some suggestion to make this more user friendly though...

    how about using variable instead of switch...

    so level cap = variable 1.

    if we set variable 1 = 50... it means level cap is lv 50.

    it would be lots easier to set up rather than using switch...

    we could add autorun event at start of the game for initial starting variable value...

    also it would be better too if there's notetags support for actor. ex:

    <level_cap_variable: 2>

    will use variable 2 value as level cap.

    if actor didn't have that notetags... use variable specified in plugin parameter...

    so you can have actor 1 level capped at 20, actor 2 level capped at 35, actor 3 level capped at 5.

    just some suggestion :D . because i plan to level cap my game too. :D .
  5. @est: nice idea! let's see what I can do about this.
  6. Updated to version 1.2.0

    Now you can set level cap using single variables instead of using bunch of switches.

    You can also setup individual level cap on actors.
  7. Heartbreak61 said:
    Updated to version 1.2.0

    Now you can set level cap using single variables instead of using bunch of switches.

    You can also setup individual level cap on actors.
    nice update :D ... variable is much easier to use and i think open up for more improvement...

    for example... i got some more idea... (sorry just suddenly have this idea..)

    how about adding class notetags...

    so the order will be:

    if class notetags found... use class notetags else use actor notetags else use global value...

    and some more crazy idea (if it's possible)... how about equipment and states notetags ? :D .

    maybe this order:

    use state variable - use the highest variable value among equipment - use class variable - use actor variable - use global variable.

    lol... it will be real headache

    but if it's implemented... it will be really badass... we can have equipment which when worn can 'break' the 'current' level CAP limit :D . also a state which when inflicted not allow you to raise above certain level...  for equipment... loop to all equipment... compare the variable value. and use the highest value...

    so if we wear LV20 cap Ring and LV40 cap Ring... we can level to lv 40...

    on second though... after reading what i type above... perhaps for equipment no need to use variable... just set a level cap value to the equipment... perhaps state also like that... since equipment and states don't grow like actor... so if using variable it's a waste of variable...
  8. Sorry for posting in an old thread, but my issue is with this specific plugin, so this seemed the best place to post.

    I'm having an issue with this plugin, in that the Cap Exp setting is stopping Exp gain on the battle they hit the soft cap, but all my battles after that are still awarding exp in the background. I am trying to limit level cap by chapter of my game, and when I did a test level cap raise, the actors had a negative value exp to level, and leveled up immediately upon exp gain, some 4-5 times due to buildup.
  9. I need this js plugin, but I don't earn enough credits……
  10. I don't understand your question. What are the 'credits' you speak about? You don't need credits or anything else to download a plugin. You just click on the link and follow the instructions.
  11. Kes said:
    I don't understand your question. What are the 'credits' you speak about? You don't need credits or anything else to download a plugin. You just click on the link and follow the instructions.
    Thank you for your reply and let me know my question. But I still can't download the plugin. His link has expired. I downloaded an empty folder. Is there any solution?
  12. I understand now.
    Either the writer of the plugin has removed it or this is one of the cases where someone has been affected by a change brought in by dropbox which altered how the 'public' section of a dropbox works.

    I'm sorry to say that there is nothing we can do about it. All you can hope for is that someone who already has it can help.

    I suggest you post a new thread in JS Plugin Requests. Ask if anyone has an alternative download link, or can let you have a copy of this plugin.
  13. Hello does anyone have a download link for this plugin? The Main link and the alternativ link lokirafeal postet are down.