AP - Stat Distribution

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV

~ Stat Distribution~



 


For the latest updates please visit my blog. This is merely an introduction topic.


 


So here's my take on this popular system. With this plugin your actors gain Points upon levelling up that can be spent to increase your heroes' params. This is essentially Plug & Play but you should definitely take a look at all the plugin parameters. Instructions on how to use this plugin with Yanfly's Menu Manager can be found inside my plugin's help file.

For now there are two notetags that can be used in the noteboxes of Actors and Classes:


<Initial Points: x>


This notetag makes the Actor/Class start with x Distribution Points.
This notetag will ignore the default setting from the plugin parameters.
Actor notetags take priority over Class notetags.


<Level Points: x>


This notetag makes the Actor/Class gain x Distribution Points upon levelling up.
This notetag will ignore the default setting from the plugin parameters.
Actor notetags take priority over Class notetags.



Edit: While I do recommend a screen height of at least 768 for the stat distribution scene to look exactly like on the picture above, this plugin still works if your screen height is smaller. The scene will look like this:





 


Terms of Use, Download and some more words on Usage can all be found on my blog.


PS: I can't believe Brexit.
 
Last edited by a moderator:

Asuras

Villager
Member
Joined
May 17, 2016
Messages
28
Reaction score
17
First Language
English
Primarily Uses
Thanks for sharing this, just what I wanted for my game!
 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV
Glad you like it. :D
 
Last edited by a moderator:

Asuras

Villager
Member
Joined
May 17, 2016
Messages
28
Reaction score
17
First Language
English
Primarily Uses
Didn't have a change to fully play around with it yet. But is there away so when a character levels up. It displays how many points is gained. To give players an indication when they gain points.
 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV
I'll keep this in mind for the next update.
 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV
@Asuras


I updated the plugin. Check it out.
 

Fernyfer775

Veteran
Veteran
Joined
Oct 6, 2013
Messages
1,315
Reaction score
815
First Language
English
Is there a confirmation before a player puts the point into a certain stat, just in case they miss-click? 


It looks great though man, thanks for this.
 

Asuras

Villager
Member
Joined
May 17, 2016
Messages
28
Reaction score
17
First Language
English
Primarily Uses
@Asuras


I updated the plugin. Check it out.
@Alistair


 After a victory, a window pops up and it just says undefined over and over. I assume that message is suppose to give players an indication as to how many points to got upon level up?
 
Last edited by a moderator:

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV
@Asuras


I can't reproduce that behaviour.


1.png
 

Asuras

Villager
Member
Joined
May 17, 2016
Messages
28
Reaction score
17
First Language
English
Primarily Uses
Had to put it over all of Yanfly's plug-ins to work but the info flash by really quick. If I disable yanfly's aftervictory plug-in, it displays the next characters points 3 times on the character before.


 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV
@Fernyfer775


I think I can add this.


@Asuras


Hmm. It's hard to fix this because it's working for me. I've updated the plugin again, please redownload. Make sure that Victory Aftermath is updated as well (and don't forget double-clicking the plugins in the plugin manager). Place my plugin below Yanfly's plugins.
 

Asuras

Villager
Member
Joined
May 17, 2016
Messages
28
Reaction score
17
First Language
English
Primarily Uses
@Alistair


Thanks it works now. Could you add an option to disable the message if we want to add the message to a existing victory message such as Yanfly's? Could you provide the line of code that displays that message. So we (I) can try and added to yanfly's plugin?


Thanks!
 
Last edited by a moderator:

firestalker

Veteran
Veteran
Joined
Nov 18, 2015
Messages
345
Reaction score
41
First Language
English
Primarily Uses
RMMV
Can you make the distribution point a formula so that the amount gained isn't static?  Maybe even make so you can get more point under certain conditions?
 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV
@Alistair


Thanks it works now. Could you add an option to disable the message if we want to add the message to a existing victory message such as Yanfly's? Could you provide the line of code that displays that message. So we (I) can try and added to yanfly's plugin?


Thanks!


There is already an option to disable the message. The function that displays the amount of points gained is actor.displayDistributionPoints();

Can you make the distribution point a formula so that the amount gained isn't static?  Maybe even make so you can get more point under certain conditions?


I'm planning to do this in the next update.
 
Last edited by a moderator:

kl4ss1c

Villager
Member
Joined
Jun 9, 2016
Messages
14
Reaction score
0
Primarily Uses
any ideas on why this is happening?

apstatserror.png
 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV
Looks like another plugin changed the default width of Window_Command. The selection window of my plugin just calls the default function for the window width. I'll fix this with the next update.
 

Solis

Veteran
Veteran
Joined
Oct 24, 2015
Messages
376
Reaction score
84
First Language
English
Yeah, I have the same issue but mine looks slightly different; but I know it's b/c of another plugin I use  changes the default width. Is it possible to put four stats on left, and four stats on right?
 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV
The plugin has been updated:

 * V1.03


 * - You can now use formulas for notetags and the following plugin parameters:


 *   ~ Initial Points


 *   ~ Level-Up Points


 *   ~ Maximum Points


 *   ~ All the "Growth" Parameters (e.g. HP Growth)


 *   ~ All the "Points needed" Parameters (e.g. HP Points Needed)


 * - The command window width should no longer be altered by other plugins


 *


 * In formulas, you may use s[x] for switch x, v[x] for variable x and a or user


 * for the actor in question.
 

firestalker

Veteran
Veteran
Joined
Nov 18, 2015
Messages
345
Reaction score
41
First Language
English
Primarily Uses
RMMV
Is there new note tags for individual actors or classes?  so you can make a class/actor raise different stats at a different speed than the others?  what about making the points needed different each actor/class?


Just curious...  I wasn't sure on the changes.
 

Alistair

Treasure Hunter
Veteran
Joined
Jun 15, 2014
Messages
272
Reaction score
174
First Language
English
Primarily Uses
RMMV
I didn't add seperate notetags but you can use formulas like "user._classId === 2 ? 300 : 50" for the HP Growth Param.


My example means: If the actor's Class ID is equal to 2, HP will grow by 300 otherwise it'll grow by 50 points.


Class 2 could for example be the Warrior Class.


The same thing applies for the "Points Needed" parameters. You could make Warrior's pay less than other classes to increase HP: user._classId === 2 ? 1 : 2


In this example, Warriors will pay only 1 point to increase HP while other classes will have to pay 2 points.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

In the strangest turn of events, my animations now live in the characters folder, and my character images now live in the pictures folder. It's a complicated world, but weirdly a more resource efficient one. :LZSexcite:
Did you know that we use robotic spy animals to learn about how different species behave in the wild? We're only a step away from robotic spy humans, and then Terminator. :p
Not being able to do a commission/request after all and having to give back the money is so heartbreaking.

Sometimes I'm just way too eager to help people out and suddenly find myself in a very deep hole because I'm not gonna be able to finish it. I really hope I don't come across as unprofessional to these people and in general. =n="
Learning Action Sequences!

Forum statistics

Threads
98,046
Messages
948,823
Members
129,310
Latest member
eillajones309
Top