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.
Level Cap, and an Evac/Zoom type spell

0 Members and 1 Guest are viewing this topic.

pokeball THROffline
**
Rep: +0/-0Level 84
Um, so like, is there any possible way to set a lower level cap, like, 30ish?
Also, how do you create a spell that has an effect like Evac or Zoom in the Dragon Quest series?
(Evac moves you to just outside of a dungeon you were just in, and Zoom teleports to any town you visited beforehand)

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
Here's what you want for warping things. As far as eventing is concerned. http://rmrk.net/index.php/topic,31260.0.html

For the lower level cap, you'll need a script.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
My guess would be that something like this might work for the level cap, posted in its own slot below Materials and above Main in the script editor:

Code: [Select]
class Game_Actor
  alias mdrnalg_thr_lvlcap_levlup_82k4 level_up
  def level_up (*args)
    # Do not level up if past level cap
    mdrnalg_thr_lvlcap_levlup_82k4 (*args) if @level < 30
  end
end

Change 30 to whatever level cap you want.

I don't now if that will work or not. Some things might be more complicated than that, but I'm doing it blind. It won't stop exp gain.

**
Rep:
Level 84
Touch me im soft
KGC's Limit Break Script allows you to set max levels for individual actors.

http://anonymouscreations.we.bs/scripts/kgc/KGC_LimitBreak-01-09-2008.txt

Click for my current project.