RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Exp Script

Started by Crimson~X, October 20, 2010, 01:01:25 PM

0 Members and 1 Guest are viewing this topic.

Crimson~X

I don't know if it's been asked before, but is there a custom exp script if so can you post a link and if not can someone please make one?

thanks.

shintashi

#1
yes custom Exp exists. Robot Unicorn helped me with a script months ago. If you dig through my posts you will find the thread, or you could just click here:

http://rmrk.net/index.php/topic,38266.msg447093.html

Crimson~X

#2
okay thanks i figured it out, thanks

but is there a way i can make my chars level go up each 10,000 exp?

shintashi

#3
Quote from: Crimson~X on October 29, 2010, 01:30:27 AM
okay thanks i figured it out, thanks

but is there a way i can make my chars level go up each 10,000 exp?

I think so, you would have to set the base equation of growth/level to be something like "0" or "1" and then set the gain to 10,000.

Something like this (tested)

  def make_exp_list
    actor = $data_actors[@actor_id]
    @exp_list[1] = 0
    for i in 2..100
      if i > actor.final_level
        @exp_list[i] = 0
      else
        @exp_list[i] = ((i*10000) - 10000)
      end
    end
  end

Crimson~X

#4
man thats fucking awesome thanks so much!! I've been waiting for this sorta thing for to long *snicker*

And to other people who dont know much about scripting such as myself put this part of the script in Game_Actor line 91-93

[spoiler]  def make_exp_list
    actor = $data_actors[@actor_id]
    @exp_list[1] = 0
    for i in 2..100
      if i > actor.final_level
        @exp_list = 0
      else
        @exp_list = ((i*10000) - 10000)
      end
    end
  end
[/spoiler]



Thanks shintashi, that helped me alot! (hopefully it helps some other people.)