The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Blizzard on March 26, 2007, 09:38:08 AM

Title: [MISSING] Stat Distribution System v1.1b
Post by: Blizzard on March 26, 2007, 09:38:08 AM
lol, gone
Title: Re: Stat Distribution System v1.0
Post by: :) on March 26, 2007, 01:21:37 PM
thank you for this godly system.
Title: Re: Stat Distribution System v1.0
Post by: Blizzard on March 26, 2007, 02:04:31 PM
LOL! Somebody needed the other day, so I made it in 3 hours. ^__^
Title: Re: Stat Distribution System v1.0
Post by: :) on March 26, 2007, 02:14:19 PM
sweet. I'm going to add this to the game I turn into the xp contest =D
Title: Re: Stat Distribution System v1.0
Post by: Snailer on March 26, 2007, 04:48:52 PM
Great system nice job Blizzard !
Title: Re: Stat Distribution System v1.0
Post by: Irgna on March 26, 2007, 05:10:50 PM
Simply amazing! I might use in my MMORPG.
Title: Re: Stat Distribution System v1.0
Post by: Kokowam on March 26, 2007, 07:40:13 PM
This looks so awesome... I'm probably going to use this because I don't want to set curves/max things for STR,DEX,AGI, and INT. The game will work according to how they want to. :]

Quote from: OFFTOPICLol. OH SHIT IT'S ARSHES! No one's really scared of him when they look at his battler though XD He looks like a surprised girl in a guy's armor...
Title: Re: Stat Distribution System v1.0
Post by: JFloyd on March 26, 2007, 08:00:03 PM
I use the diablo2 one that's in the database i think.
Title: Re: Stat Distribution System v1.0
Post by: modern algebra on March 26, 2007, 08:04:11 PM
That's pretty damn cool Blizz. When I see things like this I always feel like I should just take the time to learn scripting. I made one of these out of events for my game using exp, but it's ridiculous looking  :(. And you make this great system in 3 hours. I'm so jealous  ;8
Title: Re: Stat Distribution System v1.0
Post by: Zeriab on March 26, 2007, 09:35:05 PM
<3
Title: Re: Stat Distribution System v1.0
Post by: Kaitenshin on March 26, 2007, 10:20:14 PM
ALL HAIL THE MIGHTY BLIZZARD AND BASK IN HIS GLORY!
Title: Re: Stat Distribution System v1.0
Post by: Blizzard on March 27, 2007, 12:16:18 PM
Quote from: modern algebra on March 26, 2007, 08:04:11 PM
That's pretty damn cool Blizz. When I see things like this I always feel like I should just take the time to learn scripting. I made one of these out of events for my game using exp, but it's ridiculous looking  :(. And you make this great system in 3 hours. I'm so jealous  ;8

Meh the system itself is quite simple. I did it in less than half an hour. About 90~120 minutes was taken by the scene itself and about 30~60 minutes for the debug. TOgether it took me 3 hours. I remember starting at 22:5X and finishing about 1:5X.
Title: Re: Stat Distribution System v1.0
Post by: Rune on March 31, 2007, 09:31:42 AM
Is there any way you can press a certain key to make the window appear?
It's just... i'm using your Nemesis Edition CMS and i'm having trouble replacing commands...
Thanks ;)
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on March 31, 2007, 09:51:00 AM
Quote from: Blizzard on March 26, 2007, 02:04:31 PM
LOL! Somebody needed the other day, so I made it in 3 hours. ^__^

3 hours?!?!?! Geez blizz... this woulda taken me weeks... T^T

anyway thx for the hasty script! =P
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on March 31, 2007, 10:16:45 AM
Quote from: Rune on March 31, 2007, 09:31:42 AM
Is there any way you can press a certain key to make the window appear?
It's just... i'm using your Nemesis Edition CMS and i'm having trouble replacing commands...
Thanks ;)

this is what i did..    if Input.trigger?(Input::L)
      $scene = Scene_Points.new
    end


*sorry for double post*
Title: Re: Stat Distribution System v1.0
Post by: Rune on March 31, 2007, 10:20:01 AM
Is that in the script itself or in a new script?
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on March 31, 2007, 10:23:42 AM
that would go in... scene_map search for if Input.trigger?(Input::B) and put that above it... or somewhere near it...
Title: Re: Stat Distribution System v1.0
Post by: Rune on March 31, 2007, 11:02:45 AM
Hehehe that's cool

*adds Blizzard to credit list...again*
*adds fieldmaster*
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on March 31, 2007, 11:06:59 AM
lol...  :-[  you don't really have to credit me, but i don't mind... ;8
Title: Re: Stat Distribution System v1.0
Post by: Rune on March 31, 2007, 01:16:18 PM
Meh... I credit everyone who helps me in even the slightest way ;)
Title: Re: Stat Distribution System v1.0
Post by: Irgna on March 31, 2007, 02:32:49 PM
How do I set it so it automatically calls it when you level up?
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on March 31, 2007, 07:41:19 PM
1 question, do you use an ABS or a standard battle system, or something else...? o.o
Title: Re: Stat Distribution System v1.0
Post by: Irgna on April 01, 2007, 01:02:03 AM
I'm going to be using a side-view battle system. I posted it a while back asking for help with it (I need to remember to edit that post since I figured it out), the topic should be something like "CMS Help."
Title: Re: Stat Distribution System v1.0
Post by: Blizzard on April 01, 2007, 11:41:01 AM
This system doesn't depend on the battle system.
Title: Re: Stat Distribution System v1.0
Post by: punishermark13 on April 01, 2007, 08:33:14 PM
Ya when is this supposed to pop up when ever you level up? because if it is that its not working


Edit: i learned your scripts now its actually freakin awsome.
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on April 01, 2007, 08:40:36 PM
It pops up when you call the "$scene = Scene_Points.new"

also to blizz, i asked that so I could know how to make it call up automatically after someone levels from a battle... o.o
Title: Re: Stat Distribution System v1.0
Post by: tSwitch on April 01, 2007, 09:46:13 PM
I might use this for a later project, but mebe not for Arkarian Legend
also, really really nice layout
Title: Re: Stat Distribution System v1.0
Post by: Karo Rushe on April 03, 2007, 02:07:20 AM
I have one word to say...and is that this Script goes beyond one's Expectations X_X

If I want an Item that can Add Point for it, all I have to do is Create A Common Event and a Call Script right? =D
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on April 03, 2007, 02:54:12 AM
yes, that's how you do it.
Title: Re: Stat Distribution System v1.0
Post by: Blizzard on April 03, 2007, 10:34:46 AM
Ok, if you want it to be called after level ups in battle, use this extra piece of script. Note that this extra here WILL corrupt all your old save games again.

# Game_System

class Game_System
 
  alias init_sss_extra initialize
  def initialize
    init_sss_extra
    reset_levels
  end
 
  def reset_levels
    @old_levels = []
    for i in 1...$data_actors.size
      @old_levels.push($game_actors[i].level)
    end
  end
 
  def test_levelup
    for i in 1...$data_actors.size
      if @old_levels[i-1] < $game_actors[i].level
        reset_levels
        return true
      end
    end
    return false
  end

end

# Scene_Battle

class Scene_Battle
 
  alias main_sss_extra main
  def main
    main_sss_extra
    $scene = Scene_Points.new if test_levelup
  end
 
end

# Scene_Map

class Scene_Map
 
  alias upd_sss_extra update
  def update
    upd_sss_extra
    test_levelup
  end
 
end




Tell me if it works, I just made it out of my head and didn't test it.
Note that it will NOT recognize level downs and that it will recognize the level ups of ALL actors. If a level is changed on the map, it won't call the scene.
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on April 03, 2007, 10:32:14 PM
I guess I will test it...


nope... doesn't work
Title: Re: Stat Distribution System v1.0
Post by: Blizzard on April 05, 2007, 07:23:40 PM
crap~

Ok, I'll fix it.
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on April 05, 2007, 09:48:23 PM
go you! ;D
Title: Re: Stat Distribution System v1.0
Post by: punishermark13 on April 07, 2007, 05:05:44 AM
Can i make it so when he kills monsters he gets points. then bosses give you more points
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on April 07, 2007, 03:57:03 PM
Hmm... if your monsters are all events than you could add this script code...

$game_actors[Y].remove_stat_points(Z)

to give points to "Y" actor... actually... i think I'll just let bliz think about this one... sorry i just don't feel like it... =)
Title: Re: Stat Distribution System v1.0
Post by: Viviatus on April 08, 2007, 05:16:28 PM
Oh my... you will never stop, will you? I have no idea how you do all this... You must have some sort of a time maschine, otherwise you'd be having a 30h day which is not possible.

Sorry to say that I can't use this one in my game... but you already know, I guess!
Title: Re: Stat Distribution System v1.0
Post by: Irgna on April 08, 2007, 09:04:41 PM
I like it, and plan to use it in my MMO. Mind if I edit it a bit?
Title: Re: Stat Distribution System v1.0
Post by: Kokowam on April 08, 2007, 09:18:53 PM
Lol. Blizzard just loves making scripts that corrupt old save files XD How does that even happen, though? Oh, and if I wanted to add this to the regular menu, how do I add it? I mean, I know how to add a "when" and stuff and everything (at least I think I do) but how do you add an arrow to the menu and make an option come out when you press down?
Title: Re: Stat Distribution System v1.0
Post by: feildmaster on April 09, 2007, 10:12:26 PM
it happens because a script is introduced that wasn't there before and it needed to be set originally (like in a new game..)... something like that... that's why it corrupts... =)

and technically.. you don't really... "need" to do that down menu thingy.... (it just looks better... =))

just add the right stuff... lets say, s7 = "Status Applier"

add s7 to the array with s1,s2,s3...

go down to "when 5..." and above the end add...
"when 6
     $scene = Scene_Points.new"

the bottom would look something like this...

when 5  # ?????
        # ?? SE ???
        $game_system.se_play($data_system.decision_se)
        # ????????????
        $scene = Scene_End.new
      when 6
        $game_system.se_play($data_system.decision_se) **************** (this was added by me...)
        $scene = Scene_Points.new
      end
      return


hope that helps...? >.>

and to irgna... i bet he wouldn't... i modded mine...
Title: Re: Stat Distribution System v1.0
Post by: Blizzard on April 10, 2007, 11:51:45 AM
I have one problem and two choices:

Problem:
I need to add some attribute/setting/option/feture to which set up MUST be saved. I can either created tons of extra saving lines like other scripters or I just save it along the operating class or Game_System. I COULD add a few lines to apply new attributes on the map, but I don't want to. It's unecessary complicating the script.
So I choose save fiel corruption due to new attributes. =P

BTW, update to v1.1b.