Couple questions on stats.

Status
Not open for further replies.

flipwon

Veteran
Veteran
Joined
May 11, 2013
Messages
59
Reaction score
0
First Language
English
Primarily Uses
I've been trying to re-arrange how they're displayed within the status screen, but I can't figure out how they're lined up in window_status.. Mind you I don't understand any of it :p

Also is there a way to change how the stats behave? For instance ATK raises maxhp, and maxhp raises atk?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
How they line up in the screen and how they behave are two completely different things. What are you trying to achieve? Why would you want to make ATK raise maxhp and vice versa? Why can't you just do that via the parameter curves on the class?
 

flipwon

Veteran
Veteran
Joined
May 11, 2013
Messages
59
Reaction score
0
First Language
English
Primarily Uses
How they line up in the screen and how they behave are two completely different things. What are you trying to achieve? Why would you want to make ATK raise maxhp and vice versa? Why can't you just do that via the parameter curves on the class?
Well I'd like to combine a couple of them, while making others useless (relatively speaking.. used in formulas per say) That said I have found a temporary work around for how they behave just now actually.

Now I'm more concerned about how they're listed (which order their listed, specifically)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Now I'm more concerned about how they're listed (which order their listed, specifically)
It depends on which ones you want to rearrange - but in a limited way that is possible even without scripts...
ATK, MAT, DEF and MDF have absolutely no function outside the damage formula. That means as long as you're consistent with their use, you can give them any name and any function in your custom damage formula. If you replace the default damage formula in all skills, you can even switch function of ATK and DEF and then rename them in the terms tab of the database.


The other parameters unfortunately have special functions in the engine - to switch those you need to rewrite the scripts for the status- and perhaps battlescreens.
 

flipwon

Veteran
Veteran
Joined
May 11, 2013
Messages
59
Reaction score
0
First Language
English
Primarily Uses
It depends on which ones you want to rearrange - but in a limited way that is possible even without scripts...

ATK, MAT, DEF and MDF have absolutely no function outside the damage formula. That means as long as you're consistent with their use, you can give them any name and any function in your custom damage formula. If you replace the default damage formula in all skills, you can even switch function of ATK and DEF and then rename them in the terms tab of the database.

The other parameters unfortunately have special functions in the engine - to switch those you need to rewrite the scripts for the status- and perhaps battlescreens.
So essentially the best way to do this is just change their names in the order I want and keep track. Changing the order of appearance in the status screen is too difficult? 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
No, it's quite easy to just change the order of appearance.


Window_Status, line 95 has this:

6.times {|i| draw_actor_param(@actor, x, y + line_height * i, i + 2) }That draws parameters 2-7 (ATK, DEF, MAT, MDF, AGI, LUK) in that order
If you want to draw them in reverse order, say, it would be 7, 6, 5, 4, 3, 2 - you could do this instead:

6.times {|i| draw_actor_param(@actor, x, y + line_height * i, [7, 6, 5, 4, 3, 2]) }Just put numbers into that array according to the order you want to draw them. From the help file:
0: Maximum hit points


1: Maximum magic points


2: Attack power


3: Defense power


4: Magic attack power


5: Magic defense power


6: Agility


7: Luck
If you only want to draw 4 of them, change 6.times to 4.times and make sure your array only has 4 numbers. Drawing MORE would be an issue, because the window is only large enough to hold 6.
 
Last edited by a moderator:

flipwon

Veteran
Veteran
Joined
May 11, 2013
Messages
59
Reaction score
0
First Language
English
Primarily Uses
What would I do without you Shaz??

You can close this kind sir.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.


(ps, I'm not a 'sir' ;) )
 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top