Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
Print Page - Level Cap, and an Evac/Zoom type spell

The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: THR on June 12, 2009, 08:23:25 PM

Title: Level Cap, and an Evac/Zoom type spell
Post by: THR on June 12, 2009, 08:23:25 PM
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)
Title: Re: Level Cap, and an Evac/Zoom type spell
Post by: Grafikal on June 13, 2009, 01:29:59 AM
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.
Title: Re: Level Cap, and an Evac/Zoom type spell
Post by: modern algebra on June 13, 2009, 05:34:09 AM
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:


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.
Title: Re: Level Cap, and an Evac/Zoom type spell
Post by: Bash on June 13, 2009, 06:37:07 PM
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