Group: Local Mod
Posts: 1,348
Type: Scripter
RM Skill: Skilled
Rev Points: 5
Law’s Custom Status Screen
Version 1.1 The Law G14 1/25/10
Introduction
I made this script off of looking at a Tales of Vesperia Status Screen that Satouryu showed me. It basically has the information in the normal status screen along with a picture of your character and a changeable background. Hope you guys like it
Features
-Changeable Background -A picture that you choose of the character in the status screen -The ability to change the opacity of the windows -The ability to directly change the positions of the contents in the status screen.
You can customize your script in the customization module found on lines 15 to 52.
Compatibility
This script may run into problems with scripts that edit or change the status screen.
Screenshots
Installation
Just change whatever you’d like in the customization module found on lines 15 to 52 and then save the pictures you’ll need for your actors. To do this, name the files of your pictures as the actor ID and then add a ‘B’ to it and then save it in your pictures folder. For example, the first actor of the database would be named in the picture folder ‘1B’.
Terms and Conditions
Just credit me where it is due.
Special Thanks
Satouryu for giving me the picture of the Tales of Vesperia Status Screen to work off of.
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
This is almost like what I've been trying to rearrange for my game just revirced with the player on the other side and stats above and gear below in one line rather then two.
Group: Local Mod
Posts: 1,348
Type: Scripter
RM Skill: Skilled
Rev Points: 5
Hey, thanks for the nice comments guys
@Taiine: In the next verison of the script, I could try add something to the customization module in which you could directly change the position of each window and the battler. Do you think that could help you out?
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
Group: Local Mod
Posts: 1,348
Type: Scripter
RM Skill: Skilled
Rev Points: 5
@Cupski: Glad you like it
Also, Version 1.1 is out!
In the customizatin module, you can now directly change the positions of the actor battler, the equipment window, the status window, and the name window. Hope you guys like it
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
Group: Member
Posts: 51
Type: Writer
RM Skill: Undisclosed
i had a little trouble putting this in (im way new at this),
i copied the script into Window_Status_Law, changed the call on Scene_Status to Window_NewStatus but when i look at someones status ingame it has a black background (i exported all the battlers and the title to pictures) and i can only see there stats, equipment and the name and the picture are not there
This post has been edited by gimis: Feb 8 2010, 02:10 PM
Group: Local Mod
Posts: 1,348
Type: Scripter
RM Skill: Skilled
Rev Points: 5
Well, first of all, you're not supposed to edit any of the default scripts, just make a new tab in your script editor by right-clicking and then pressing insert and then plasting the script in the space to the right. Next, save the pictures that you want of your character as their ID + the letter B so that your first actor's picture would be named 1B. Then save those pictures in the pictures folder of your recourse manager. Also, you need to name what picture you want to find as your background in the customization module at the beginning of the script. Also, be sure to place my script below the rest of all your other scripts.
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
Group: +Gold Member
Posts: 1,529
Type: Scripter
RM Skill: Undisclosed
At the start of the code (after the customization), it has Window_Base, if you change that to:
CODE
#============================================================================== # ** Window_Base #------------------------------------------------------------------------------ # This class is for all in-game windows. #==============================================================================
class Window_Base < Window #-------------------------------------------------------------------------- # * Draw Actor Battler #-------------------------------------------------------------------------- def draw_actor_battler(actor, x, y) plus = "A" for i in 0...$game_variables[1] plus.next! end bitmap = RPG::Cache.picture(actor.id.to_s + plus) self.contents.blt(x, y, bitmap, Rect.new(0,0,400,480)) end end
What it will do, is it will look at the in-game variable #1 ( because of the $game_variables[1], to look at the variable #2, change it to $game_variables[2], and so on), and when the variable is as 0, for actor #1 it will look for the picture 1A, when the variable is 2, it will look for 1B, and when the variable is 3, it will look for 1C.
Where the 1 is the actor's ID, and the letter is taken from the (variable #1)th letter in the alphabet.
So if you were looking at actor #8, and your in-game variable #1 is set to 4, it will look for the picture 8D, and you can use this to change faces as the game progresses.
__________________________
K.I.S.S. Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.
Group: Member
Posts: 5
Type: Developer
RM Skill: Skilled
I have a game where every 20 levels the battler image is evented to change as well as the class of the character, is there away i can incorporate this into both the custom status and custom menu scripts?
__________________________
"Oh yes i do believe in fate and destiny and all that rubbish, but i also believe a man has the ability to change it, and the speed at which he races forth to meet it." Anonymous
Group: Local Mod
Posts: 1,348
Type: Scripter
RM Skill: Skilled
Rev Points: 5
@soilderoffilth: Change lines 54 to 68 to:
CODE
#============================================================================== # ** Window_Base #------------------------------------------------------------------------------ # This class is for all in-game windows. #==============================================================================
class Window_Base < Window #-------------------------------------------------------------------------- # * Draw Actor Battler # actor : actor # x : draw spot x-coordinate # y : draw spot y-coordinate #-------------------------------------------------------------------------- def draw_actor_battler(actor, x, y) bitmap = RPG::Cache.character(actor.battler_name, actor.battler_hue) cw = bitmap.width ch = bitmap.height src_rect = Rect.new(0, 0, cw, ch) self.contents.blt(x, y, bitmap, src_rect) end end
It will track the battler of your actor instead of drawing a picture from your files.
@Phantom0x0: That's because you need to put the pictures in your graphics folder so that the script knows what picture to draw for that actor. For example, for Actor 1, their picture in the Graphics/Pictures directory would be "1B"
This post has been edited by The Law G14: Jul 1 2011, 08:13 AM
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
Group: Member
Posts: 47
Type: Developer
RM Skill: Beginner
Ok, so I run into this problem, There is no backdrop to my status window. I've got it set to "001-Title01" and all that comes up is a black screen. I DO NOT have the illegal version of RMXP so I don't know what is going wrong here maybe you can help.
__________________________
S.P.O.R.D.<- Military acronym meaning Steaming Pile of Rectal Discharge.
Group: Local Mod
Posts: 1,348
Type: Scripter
RM Skill: Skilled
Rev Points: 5
Hey! First of all, you'll need to check if the "001-Title01" image is actually the image that it should be and not something else. After checking that, where is your script placed in your Script Directory? For now leave it at the bottom, right above "Main" and see if anything changes. Finally, can you post your script up to see if anything is different?
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One