Help on how to change battle status skin? (Solved)

scarletjon

Villager
Member
Joined
Mar 7, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
I've looked just about alot of places for several hours now with a mix of trial an error, and I know I've seen this done years back before MV via scripts, but how to do you customize the battle status skin (e.g. that's highlighted in red) in Ace? In the image it's set to windowskin default based off the window.png I have in my system's folder. Any help is much appreciated. 


battlestatus.png
 
Last edited by a moderator:

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
You need a script for that. It is not something you can do with events.
 

scarletjon

Villager
Member
Joined
Mar 7, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
You need a script for that. It is not something you can do with events.
I got that part,it's script-related, but I'm trying to figure out what, or rather how to do the modification in the default battle status.
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
If you are asking where to look to change that then you can take a look at the Scene_Battle and every related window class (the ones related to all the windows created in that class). Once you're there and you decided WHICH window you want to change, create a new window skin, name it as you like (in my example it will be "Window2") and then add this to the initialize method in the window class you want to change:


self.windowskin = Cache.system("Window2")


The most important thing is to add it AFTER the line containing "super".


EDIT: code corrected.
 
Last edited by a moderator:

scarletjon

Villager
Member
Joined
Mar 7, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
This very much did the trick, thank you so much! 


Do you think I can use the same code put underneath supers for the rest of the selections like (e.g. party command, etc)? 

Code:
self.windowskin = Cache.system("Window2")
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
Since windowskin is defined in Window and that class is a parent for Window_Base (and every other window class inherits from Window_Base one way or another) you can use it in EVERY window class.


Be aware of the fact that if you change it for a class, every child class inherits that new skin!


Example: if you change it for the Window_Selectable class every window class related to Window_Selectable (Window_Command, for example) will have the new skin unless you specify something different in that specific class. In which case you have to specify the new skin in every related class you don't want to share the skin with Window_Selectable.
 

scarletjon

Villager
Member
Joined
Mar 7, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
I'll keep this in mind, thank you so much for the help and advice! 
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top