Jump to content
jhbae0117

Display parameters in ranks (as in D,C,B,A,S...)

Recommended Posts

This script doesn't rewrite entire parameter system.

It is merely an eye illusion. All parameters are still kept in numerical value.

Only those displayed on menu are altered to appear as ranks.

 

 

Download Script

 

 

 

paramrank1.jpgparamrank2.jpg

 

 

 

This script overwrites :

Window_EquipStatus   draw_current_param / draw_new_param
Window_Base              draw_actor_param
Window_StatusItem     draw_actor_param / draw_general_parameters

This script must go above any script that alias those methods
It is compatible with Yanfly's Core engine and Status menu,

but likely to crash with any other scripts that overwrites above methods.


Configurations :

StatMax = #number
Configure the max value of parameter. Default system has it limited on 999.

If you have made any change to its maximum value through script, change this value.

Also, change this if you are planning to keep parameters in lower numbers (below certain amount for entire playthrough) 

DivideEql = true or false
Decide whether you want ranks to be calculated evenly.

If set true, param ranks are given by dividing StatMax by number of ranks.

If set false, you should configure RankValue.

 

NoMatch    = "X"
If parameter is higher than StatMax, or go beyond the limit set in RankValue,

this kicks in to prevent nil error or infinite loop.

RankArray = ["C", "B", "A"]

Ranks to display. Default is set to display D ~ SSS ranks.

You may put as many as you want.

DO NOT place ,(comma) after the last item.

Ranks are ordered in lower to higher value.

RankValue = [#number, #number, #number]
Change this if you do not wish to use automatic calculation.

Corresponding ranks in RankArray are displayed if parameter is less than or equal to value in this array.

Number of item must match with RankArray, and again, DO NOT place ,(comma) after the last item.

Value must be ordered from lower to higher value.

 

Example)
RankArray = ["D","C","B","A","S"]
RankValue = [1, 2, 3, 4, 5]

STR  1 => D
DEF  5 => S
MAT  3 => B
MDF  2 => C

 

 

 

My first script :)

Hope this script help you in whatever you are making.

 

There is no known error so far.

Please notify me with any problem or issues.

Edited by jhbae0117

Share this post


Link to post
Share on other sites

Hello, jhbae0117. Welcome to forum
This is actually a good first script. Good job  :D

I hope you soon release other scripts. I'm looking forward for it

Share this post


Link to post
Share on other sites

Hello, jhbae0117. Welcome to forum

This is actually a good first script. Good job  :D

I hope you soon release other scripts. I'm looking forward for it

 

Thank you for your kind words TheoAllen!

 

Hope I can make more complex scripts soon  :P

Share this post


Link to post
Share on other sites

Pretty good for a first script! I wish my first one was as good xD

 

Good luck with future projects/scripts and welcome to the forums!

Share this post


Link to post
Share on other sites

Oooh! Nice! This would be an excellent addition to a game focused around a magic/battle school or something; grades instead of numbers~ Awesome first script! And welcome~ Can't wait to see what else you come up with!  :)

Share this post


Link to post
Share on other sites

Pretty good for a first script! I wish my first one was as good xD

 

Good luck with future projects/scripts and welcome to the forums!

 

 

What more can I say? Good work and welcome!

 

 

Oooh! Nice! This would be an excellent addition to a game focused around a magic/battle school or something; grades instead of numbers~ Awesome first script! And welcome~ Can't wait to see what else you come up with!  :)

 

Thank you all for your warm welcome! I really appreciate it  :D

Share this post


Link to post
Share on other sites

Alt 10026 will make a star ☆, incase you like that instead of SSS and such

 

Also, I have different rates for Attack params and Def Params...is there a way I can split the script in two, so the ranking is correct. I tried adding be to everything but that no worky.

Thoughts?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted