Author Topic: [XP] Stat Distribution System  (Read 43332 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19856
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
[XP] Stat Distribution System
« on: January 09, 2008, 11:18:49 PM »
Stat Distribution System
Authors: Blizzard
Version: 2.2b
Type: Actor Attribute Modifier
Key Term: Actor Add-on

Introduction

This script will allow you to distribute points to character stats instead of increasing the stats the usual way.

This work is protected by the following license:
Quote
Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
( http://creativecommons.org/licenses/by-nc-sa/3.0/ )

You are free:

to Share - to copy, distribute and transmit the work
to Remix - to adapt the work

Under the following conditions:

Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial. You may not use this work for commercial purposes.

Share alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

- For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.

- Any of the above conditions can be waived if you get permission from the copyright holder.

- Nothing in this license impairs or restricts the author's moral rights.

Features

  • distribute points between different stats
  • extra scene for point distribution with confirmation window at the end
  • calls the "caller scene" automatically when finished
  • add points by easily pressing RIGHT/LEFT
  • hold Q to add 10 points at once
  • hold W to add 100 points at once
  • a Stat Distribution System that actually works like it should...
v1.1b
  • added option to call the Points Scene after a fight with level ups
  • customizable icon position and opacity
v1.2b
  • improved coding and made code shorter
  • rewritten conditions using classic syntax to avoid RGSS conditioning bug
v1.3b
  • improved coding
  • fixed bug with AUTOMATIC_CALL after battle
  • new AUTOMATIC_MAP_CALL works on the map as well (that means it's fully compatible with Blizz-ABS)
v1.33b
  • improved coding
  • improved compatiblity
  • fixed a little glitch
v2.0
  • improved coding and overworked system (corrupts old savegames with older version of this system!)
  • new design
  • new support for HP and SP
  • now possible to configure multiple points for one stat
v2.01
  • fixed bug with display of remaining DP
v2.1
  • fixed bug with calculation of DP allowance
v2.2
  • added possibility of using negative number in X_DP_COST values for inverted exchange rates
v2.2b
  • fixed a few small bugs when using inverted exchange rates

Screenshots




Demo

Stat Distribution System

Script

Just make a new script above main and paste this code into it.
Script Download

Instructions

Inside the script in the first comment.

Compatibility

99% compatible with SDK v1.x. 80% compatible with SDK 2.x. WILL corrupt your old savegames. Might cause problems with custom leveling up systems. 99% compatibility with everything else.

Credits and Thanks

  • Blizzard

Author's Notes

If you find any bugs, please report them here:
http://forum.chaos-project.com

That's it! N-Joy! =D
« Last Edit: April 11, 2013, 04:36:53 PM by Blizzard »
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Galatea

  • Transcended Spirit
  • ***
  • Posts: 126
  • LV: 8
  • Gender: Male
  • Im Listening. . . *Chuckles*
    • View Profile
Re: Stat Distribution System
« Reply #1 on: January 10, 2008, 05:16:15 PM »
OMG! Your a genius! Thx!

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19856
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Stat Distribution System
« Reply #2 on: January 10, 2008, 06:52:44 PM »
Lol, the script's been existing for like 10 months. xD
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Spoofus

  • CP's Lovable Turtle
  • Astral Trancist
  • *****
  • Posts: 798
  • LV: 19
  • Gender: Male
    • View Profile
Re: Stat Distribution System
« Reply #3 on: January 14, 2008, 09:58:23 PM »
lol has it really?  ??? i been using the heck out of it in my game it fits what i need just perfect


My Blog site I am working on: http://spoofus.weebly.com/

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19856
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Stat Distribution System
« Reply #4 on: January 14, 2008, 10:31:19 PM »
You should try my other scripts, too. There are many useful scripts amongst them.
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: Stat Distribution System
« Reply #5 on: January 15, 2008, 04:46:03 AM »
Does this script automatically up the character's SP and HP, and you just add stats to everything else??

Offline Nortos

  • Has earned a custom title
  • Chaos User
  • ******
  • Posts: 1303
  • LV: 20
  • Gender: Male
  • Celestial Bomb my Digital Ass
    • View Profile
Re: Stat Distribution System
« Reply #6 on: January 15, 2008, 04:56:04 AM »
yeah you don't do hp/sp
(click to show/hide)
Nortos's Stealth System
UltaFlame's Storyline Service
Blizz ABS - The Ultimate ABS!
My Resources

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: Stat Distribution System
« Reply #7 on: January 15, 2008, 05:01:14 AM »
Then I think I might use this...
It actually gives the user the ability to optimize their own characters as they see fit.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19856
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Stat Distribution System
« Reply #8 on: January 15, 2008, 11:48:59 AM »
Yeah, it allows a system similar to Diablo 2 or MMOs like RO.
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Nortos

  • Has earned a custom title
  • Chaos User
  • ******
  • Posts: 1303
  • LV: 20
  • Gender: Male
  • Celestial Bomb my Digital Ass
    • View Profile
Re: Stat Distribution System
« Reply #9 on: January 15, 2008, 12:47:43 PM »
goes well with the job system and ABS makes Diablo 2 style :P
(click to show/hide)
Nortos's Stealth System
UltaFlame's Storyline Service
Blizz ABS - The Ultimate ABS!
My Resources

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19856
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Stat Distribution System
« Reply #10 on: October 19, 2008, 03:14:38 PM »
Nobody likes my SDS. ._.
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Stat Distribution System
« Reply #11 on: October 20, 2008, 06:00:30 AM »
No, I think just less people are finding bugs with it than previous scripts. I personally use this, and it's the best one in my opinion.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19856
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Stat Distribution System
« Reply #12 on: October 20, 2008, 11:43:55 AM »
LOL! Yeah, one of the reasons why I made this was because so many people complained about other buggy scripts. Did you know that the basic system for v1.0 took me a bit more than half an hour and the rest of the script around 2.5 hours? I practically made v1.0 of this script in 3 hours. o.o
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Stat Distribution System
« Reply #13 on: October 20, 2008, 04:09:59 PM »
That's a short amount of time, right? XD Yeah, I've used other ones, and in my opinion they suck :P

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19856
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Stat Distribution System
« Reply #14 on: October 20, 2008, 05:25:20 PM »
It's scarily short. Do you think you could pull off a system like this in 3 hours? :xD:
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Stat Distribution System
« Reply #15 on: October 20, 2008, 05:31:02 PM »
I figured it was short. But I thought maybe its a long time for the scripting god, XD

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [XP] Stat Distribution System
« Reply #16 on: January 13, 2009, 11:22:22 PM »
Again...This is a beautiful script...
*adds to his game*

But like...
What would be the best way to call the scene from the map??
What would be your choice or method??
« Last Edit: January 13, 2009, 11:37:17 PM by Calintz16438 »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19856
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Stat Distribution System
« Reply #17 on: January 14, 2009, 04:33:01 PM »
I'd make a parallel process common event that checks for button input (i.e. A which is SHIFT) to call it via the script call I described in the instructions. And I think I would definitely turn on the option to call it automatically after a battle when necessary.
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [XP] Stat Distribution System
« Reply #18 on: January 15, 2009, 01:37:17 AM »
Haha...
I'm a genius!! I'm glad I thought of it =)

Lol, but that's what I was thinking.
I figure I'll make it a common event so I can turn it on at the beginning of the game, and presto!!

Zinx10

  • Guest
Re: [XP] Stat Distribution System
« Reply #19 on: January 16, 2009, 01:36:31 AM »
Nice script!