Ultimate Stat Distribution Script Updated 1.2

Frozen_Phoenix

Veteran
Veteran
Joined
Nov 15, 2014
Messages
133
Reaction score
75
First Language
Portuguese
Primarily Uses
RMMV
Actors will gain stat points whenever they level up or when you want to give
them via script call: $gameActors[id].gainStats(amount)


Those points can be used to increase the actor's stats via a custom scene.
To call the scene use the call: SceneManager.sceneDistribution(actor)


Example: SceneManager.sceneDistribution($gameParty.members()[0])



Holding shift while increasing the attributes will increase them faster.


You can press x/esc to swap between the increase/decrease options.


You can now choose which stats to draw/increase


You can add extra parameters like crit chance and evasion.


Put the following tags to determine how much the param/stat will increase per
stat point spent:

<ihp: amount>
<imp: amount>
<iatk: amount>
<idef: amount>
<imat: amount>
<imdf: amount>
<iagi: amount>
<iluk: amount>



For extra parameters:

<ihit: amount>
<ieva: amount>
<icri: amount>
<icev: amount>
<imev: amount>
<imrf: amount>
<icnt: amount>
<ihrg: amount>
<imrg: amount>
<itrg: amount>



Feel free to use for free/comercial games, just give credit.



Enjoy


Print:



Edit by Zarsla with more features: https://www.dropbox.com/s/v3rryhchtnoc0ef/StatDistribution.js?dl=0


Download (Updated 31/03/2016):

-Fixed bug of max hp value displaying 999 on screen even when the actual value was higher
-Added option to add custom limits for parameters, those can be different for each actor
-Added option to limit how much points you can spend on the same parameter each level
-Added party option, press Q/W to swap between party members
-Can now put tags in the actor's note box as well
 
Last edited:

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,933
Reaction score
1,325
First Language
English
Primarily Uses
RMMV
Can we use formulas that use variables and other numbers so it won't just be increased by a static amount?
 
Last edited by a moderator:

Moe_Lester13

Veteran
Veteran
Joined
Nov 22, 2015
Messages
72
Reaction score
11
First Language
English
This looks awesome. Just two questions,


Are we able to redistribute in case of error?  


Secondly, are we able to remove stats we are not using from this scene?


Keep up the great work :)
 

Frozen_Phoenix

Veteran
Veteran
Joined
Nov 15, 2014
Messages
133
Reaction score
75
First Language
Portuguese
Primarily Uses
RMMV
This looks awesome. Just two questions,


Are we able to redistribute in case of error?  


Secondly, are we able to remove stats we are not using from this scene?


Keep up the great work :)




No, you can't =/


But I will add those features when I update it
 

byBibo

Veteran
Veteran
Joined
Sep 27, 2015
Messages
99
Reaction score
210
First Language
French
Cool plug-in long waited! :D

One question though, is it possible to distribute the points to other parameters (Extraparameters, special parameters, or new "basic parameters" going with luck and all)?
 

Frozen_Phoenix

Veteran
Veteran
Joined
Nov 15, 2014
Messages
133
Reaction score
75
First Language
Portuguese
Primarily Uses
RMMV
Cool plug-in long waited! :D

One question though, is it possible to distribute the points to other parameters (Extraparameters, special parameters, or new "basic parameters" going with luck and all)?


Nope, but I'm going to update this tomorrow and will add this (and other features).
 

Lear

Veteran
Veteran
Joined
Aug 12, 2012
Messages
59
Reaction score
11
Primarily Uses
Hey Frozen,
great looking plugin here!
Is there any chance I could persuade a request (or two)?

1) The ability to "reset" (for lack of a better word) the points distributed.
 (example, a level 4 character with say, 30 points to distribute spends 25 of them. Later on, decides he wants to redo his characters points, and finds a certain npc or item that 'resets' his character points to a total of 30.)

2) Possibly along with the ByBibo request, is there any possibility of allowing variables to be displayed and boosted?

Whether the above is possible or not, thanks a lot for this awesome script!
 

Frozen_Phoenix

Veteran
Veteran
Joined
Nov 15, 2014
Messages
133
Reaction score
75
First Language
Portuguese
Primarily Uses
RMMV
Hey Frozen,
great looking plugin here!
Is there any chance I could persuade a request (or two)?

1) The ability to "reset" (for lack of a better word) the points distributed.
 (example, a level 4 character with say, 30 points to distribute spends 25 of them. Later on, decides he wants to redo his characters points, and finds a certain npc or item that 'resets' his character points to a total of 30.)

2) Possibly along with the ByBibo request, is there any possibility of allowing variables to be displayed and boosted?

Whether the above is possible or not, thanks a lot for this awesome script!


Yeah I'm going to add the ability to reset and remove stats not used in game today. Maybe add variables and extra stats like crit/evasion.
 

Lear

Veteran
Veteran
Joined
Aug 12, 2012
Messages
59
Reaction score
11
Primarily Uses
Thanks for your work, Frozen! Greatly appreciative of this! :)
 

Knightmare

Knight of the Night
Veteran
Joined
Mar 14, 2012
Messages
1,210
Reaction score
287
First Language
English
Primarily Uses
RMMV
This is a great script and all but for some reason after I distribute the points and exit the scene with the "exit" option when I go to check my status it does not register the points I used during the distribution scene.  For instance let's say I give 10 points to HP to gain 50 HP it will show that I gained 50 HP in the distribution scene itself but when I leave the scene it does not update the points in game.  Tried it on a fresh project and still get this error.  Hopefully it's an easy fix. 


Also is it or would it be possible to call the scene for all actors at the same time?  For instance have the distribution scene called where I can cycle through all actors by pushing q or w so I can distribute for multiple people at once for when multiple people gain levels?  Or even a way to call the scene for anyone who levels up in the victory scene?  I understand some of this may be hard to implement so I won't expect anything.  Thanks for making the script it will be very useful. 
 
Last edited by a moderator:

Frozen_Phoenix

Veteran
Veteran
Joined
Nov 15, 2014
Messages
133
Reaction score
75
First Language
Portuguese
Primarily Uses
RMMV
This is a great script and all but for some reason after I distribute the points and exit the scene with the "exit" option when I go to check my status it does not register the points I used during the distribution scene.  For instance let's say I give 10 points to HP to gain 50 HP it will show that I gained 50 HP in the distribution scene itself but when I leave the scene it does not update the points in game.  Tried it on a fresh project and still get this error.  Hopefully it's an easy fix. 


Also is it or would it be possible to call the scene for all actors at the same time?  For instance have the distribution scene called where I can cycle through all actors by pushing q or w so I can distribute for multiple people at once for when multiple people gain levels?  Or even a way to call the scene for anyone who levels up in the victory scene?  I understand some of this may be hard to implement so I won't expect anything.  Thanks for making the script it will be very useful. 




My bad, when I updated the script I forgot to add the part to increase the actor's real stats lol, will fix it now.
 

Ignatios

Developer
Member
Joined
Feb 25, 2016
Messages
4
Reaction score
0
First Language
English
Primarily Uses
I am having issues...I have the tags on the actor, when I allocate points the stat being affected becomes NaN, and I crash when trying to open the menu....Any ideas why?
 

BloodletterQ

Chaotic Neutral Assassin
Veteran
Joined
Aug 15, 2012
Messages
1,532
Reaction score
1,176
First Language
English
Primarily Uses
N/A
I wonder if we can set it so that we can only raise each stat once per level so that we don't become overpowered.
 

Frozen_Phoenix

Veteran
Veteran
Joined
Nov 15, 2014
Messages
133
Reaction score
75
First Language
Portuguese
Primarily Uses
RMMV
I am having issues...I have the tags on the actor, when I allocate points the stat being affected becomes NaN, and I crash when trying to open the menu....Any ideas why?


Sorry for late reply, you have to put the tags in the class notebox. 
 

Jexxes

Villager
Member
Joined
Feb 9, 2015
Messages
6
Reaction score
0
First Language
Swedish
Primarily Uses
Love this! Exactly what I need and can't wait to try it out tommorow! 
Any plans on implementing a way to increase a certain variable? 

I want to do it like in Might and Magic where you add these stat points to skills (example Sword skill) and then gain the ability to level them up. 


Thanks for a great script! 
 

Vandeliar

Veteran
Veteran
Joined
Oct 31, 2013
Messages
68
Reaction score
6
First Language
German
Primarily Uses
Hey Dude.


First of all, it's ah very nice Plugin.


Are you still updating it ?


1. Problem:


Because i get some erros from the script call: $gameActors[id].gainStats(amount)


2. Question:


Can you make it, that i can see all members from the party or switch party members with the PageUp / PageDown button in the Window ??


Npc.png


Error.png

console.png
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

There are only a few days left in our Spooktober Spooktacular Game Jam! Hope you are working hard to get your game in!
Where do i have to play Heisei Pistol Show the same creator that made Re: Kinder Parun
I really get the feeling I should be doing regular YouTube videos whenever I make something cool in my game, instead of waiting for massive changes. But not going to lie... I always feel like it's never quite enough to merit an update, until it's a drastic change. :kaoswt:
Going to submit to this game jam...struggling with the time crunch...
Have to keep compromising...
Just released a new OST for my game and a new place to purchase it!

Ah, things to do when you finish a game.

Forum statistics

Threads
104,551
Messages
1,007,064
Members
136,034
Latest member
Floof
Top