Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Mixxth on December 06, 2011, 04:58:34 am

Title: [RESOLVED]Need to know how to edit a core script for char status...
Post by: Mixxth on December 06, 2011, 04:58:34 am
Hey guys... I'm aware sometimes the questions I ask require to much thinking lol... >.> but in this case I don't think that's the case...

I just want to know if anyone knows what exactly I would edit to make the word "State:" appear before "[Normal]" in the status window...
I thought it was in "window_status"... if it is then I'm oblivious because I could only find "draw_actor_state(@actor, 96, 64)" which simply
is the coordinates for the "[Normal]" I figure I have to add something and that's where I'll seek advice rather then mess with scripts heh, any help as per usual would be greatly appreciated! :^_^':
Title: Re: Need to know how to edit a core script for char status...
Post by: winkio on December 06, 2011, 08:52:57 am
to change the text, modify the make_battler_state_text method in Window_Base
Title: Re: Need to know how to edit a core script for char status...
Post by: Mixxth on December 06, 2011, 01:00:21 pm
Forgive me winkio... but I believe in window_base the "make_battler_state_text" simply changes the state from "[Normal]" to something else, that part of the script is fine, I like normal and then a display of state changes as they occur.. the problem I'm having is I want to "add" text before the "[Normal]" to define what it is to players so it would read something like:

State: [Normal]
Or
State: [Poisoned]

Rather then

[Normal]
Or
[Poisoned]

I want to essentially *add* the "state:" to the beginning, and for all I know... that's done in "Window_Base" -> "make_battler_state_text" or it's done in the individual's "Window_skill" & "Window_status", either way I have no idea how to "add" text that was never there in the first place lol atm I can only modify scripts haha >.<
Title: Re: Need to know how to edit a core script for char status...
Post by: ForeverZer0 on December 06, 2011, 02:12:54 pm
Umm, the string that says "[Normal]", change it to say "State: [Normal]'".

In the section that adds the name of states, make it so that it is "State: " + original text.
Title: Re: Need to know how to edit a core script for char status...
Post by: winkio on December 06, 2011, 02:28:44 pm
or change line 74 from

return text


to

return "State: " + text
Title: Re: Need to know how to edit a core script for char status...
Post by: Mixxth on December 06, 2011, 02:39:12 pm
And those 2 answers are why this website is my rmxp bible >.>, thanks guys problem solved :)