Personalized Status Screen, Updated to v1.3 |
|
|
|
|
Jun 4 2008, 08:10 PM
|

Google it before asking stupid questions!!!

Group: Revolutionary
Posts: 134
Type: Event Designer
RM Skill: Masterful

|
IntroductionThis script was originally made by AlwayzConfused heavily edited by myself. So please credits to both if you use this script. Alright I have two versions of this script, one that I prefer uses third party scripts in conjunction with it but there is also the standalone script. What do this script do? Well it overwrites scene_status to give you a more visually appealing and more customizable status screen. You have room to write up a description or background for each character, general character statistics such as Age, Height, Weight, Etc. Alright, this is still a WIP but it is fully functional, so let me know what you guys think. Special NoteOne of the scripts requires some of Sandgolem's counter scripts from Gamebaker.com. The scripts required for that one are: RMXP Actor Critical Counter RMXP Actor Death Counter RMXP Actor Kill Counter RMXP Actor Miss Counter RMXP Attacks Used Counter RMXP Items Used Counter These scripts can be found HEREThe ScriptsWell here is version 1, it requires Sandgolem's Counter Scripts. [Show/Hide] Version 1 (Recommended, Sandgolem Scripts Required) CODE =begin ================================================================================
It is best advised to look at the comments(green text) to make sure you get the most out of this script. Please give credit to either my real or username. This script was made by: CreationAsylum Username:Alwayzconfuzed Real Name: Zach Dronet *****June 5, 2007***** More description spaced added - Thanks for the idea leon *****June 10, 2007***** Equipment Slot names added - Noticed they weren't there ^-^ *****May 25, 2008*****
******************************************************************************** #==============================================================================# This script was heavily edited by: CreationAsylum Username: Loki333 Rmxp.Org Username: Loki Darkheart RpgRevolution Username: Loki333 Real Name: Jessey Laws *****June 3, 2008***** v1.2 More description space added. Cleaned up alignments and positioning issues. Added face picture option. Added option to use characterset instead of battler. *****August 19, 2008***** v1.3 Added option to use a custom picture instead of a battler. #==============================================================================# ******************************************************************************** =end #===============================================================================
#Creates the Inforormation Window #===============================================================================
#=====================================OPTIONS==================================# BATTLER = 1 #When "1" displays a battler graphic in the left window. #When "2" displays the character set in the left window. #When "3" displays the picture from the pictures folder. FACEPICTURE = true #When true it displays a face picture next to the biography. #This allows for less biography space but looks nice. #To use facesets create a folder in your pictures folder #named Faces. Name the facesets identical to what the #characterset for the actor is named. #=====================================OPTIONS==================================# class Window_Stats < Window_Base
def initialize(actor) super(0,0,160,480) self.contents = Bitmap.new(width - 32, height - 32) self.contents.font.name = "Book Antiqua" self.contents.font.size = 15 @actor = actor refresh end
alias edit_draw_parameter draw_actor_parameter def draw_actor_parameter(actor, x, y, type) case type when 0 parameter_name = $data_system.words.atk parameter_value = @actor.atk when 1 parameter_name = $data_system.words.pdef parameter_value = @actor.pdef when 2 parameter_name = $data_system.words.mdef parameter_value = @actor.mdef when 3 parameter_name = $data_system.words.str parameter_value = @actor.str when 4 parameter_name = $data_system.words.dex parameter_value = @actor.dex when 5 parameter_name = $data_system.words.agi parameter_value = @actor.agi when 6 parameter_name = $data_system.words.int parameter_value = @actor.int when 7 parameter_name = "Evasion" parameter_value = @actor.eva when 10 parameter_name = "Critical Hits" parameter_value = @actor.sg_crits.to_i.to_s when 14 parameter_name = "Deaths" parameter_value = @actor.sg_deaths.to_i.to_s when 12 parameter_name = "Kills" parameter_value = @actor.sg_kills.to_i.to_s when 11 parameter_name = "Level" parameter_value = @actor.level when 8 parameter_name = "Hits" parameter_value = @actor.sg_attacks.to_i - @actor.sg_misses.to_i when 9 parameter_name = "Misses" parameter_value = @actor.sg_misses.to_i.to_s when 13 parameter_name = "Items Used" parameter_value = @actor.sg_items.to_i.to_s end
self.contents.font.color = system_color self.contents.draw_text(x, y, 120, 32, parameter_name) self.contents.font.color = normal_color self.contents.draw_text(x + 90, y, 36, 32, parameter_value.to_s, 2) end
def refresh self.contents.clear x = 0 y = 0 self.contents.font.color = text_color(6) self.contents.draw_text(x+38,y+130,150,20,"Battle Stats") self.contents.draw_text(x+27,y,150,20,"Character Stats") #Positioning of Text for left window draw_actor_parameter(@actor,x,y+20,0) draw_actor_parameter(@actor,x,y+33,1) draw_actor_parameter(@actor,x,y+46,2) draw_actor_parameter(@actor,x,y+59,3) draw_actor_parameter(@actor,x,y+72,4) draw_actor_parameter(@actor,x,y+85,5) draw_actor_parameter(@actor,x,y+98,6) draw_actor_parameter(@actor,x,y+111,7) draw_actor_parameter(@actor,x,y+137,8) draw_actor_parameter(@actor,x,y+150,9) draw_actor_parameter(@actor,x,y+163,10) draw_actor_parameter(@actor,x,y+7,11) draw_actor_parameter(@actor,x,y+176,12) draw_actor_parameter(@actor,x,y+189,13) draw_actor_parameter(@actor,x,y+202,14) #OPTIONS if BATTLER == 1 if @actor.id == 1 draw_actor_battler(@actor,x+20,y+240) #Change the position of Actor 1's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 2 draw_actor_battler(@actor,x,y+200) #Change the position of Actor 2's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 3 draw_actor_battler(@actor,x,y+220) #Change the position of Actor 3's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 4 draw_actor_battler(@actor,x,y+220) #Change the position of Actor 4's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 5 draw_actor_battler(@actor,x,y+220) #Change the position of Actor 5's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 6 draw_actor_battler(@actor,x,y+220) #Change the position of Actor 6's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 7 draw_actor_battler(@actor,x+30,y+250) #Change the position of Actor 7's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 8 draw_actor_battler(@actor,x+20,y+280) #Change the position of Actor 8's battler here. Useful for when your battlers are not all the same size. end end
if BATTLER == 2 draw_actor_graphic(@actor, x+64, y+400) end
#OPTIONS - Change the X and Y offsets here when using a picture in the status screen. if BATTLER == 3 if @actor.id == 1 draw_actor_photo(@actor,x+20,y+240) #Change the position of Actor 1's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 2 draw_actor_photo(@actor,x,y+200) #Change the position of Actor 2's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 3 draw_actor_photo(@actor,x,y+220) #Change the position of Actor 3's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 4 draw_actor_photo(@actor,x,y+220) #Change the position of Actor 4's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 5 draw_actor_photo(@actor,x,y+220) #Change the position of Actor 5's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 6 draw_actor_photo(@actor,x,y+220) #Change the position of Actor 6's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 7 draw_actor_photo(@actor,x+30,y+250) #Change the position of Actor 7's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 8 draw_actor_photo(@actor,x+20,y+280) #Change the position of Actor 8's picture here. Useful for when your pictures are not all the same size. end end
end def draw_actor_battler(actor, x, y) bitmap = RPG::Cache.battler(@actor.battler_name, @actor.battler_hue) self.contents.blt(x, y, bitmap, Rect.new(0, 0, 400, 480)) end end
#===============================================================================
#Creates the window that displays what is equipped #===============================================================================
class Window_Equiped < Window_Base
def initialize(actor) super(160,0,480,128) self.contents = Bitmap.new(width - 32, height - 32) self.contents.font.name = "Book Antiqua" self.contents.font.size = 18 @actor = actor refresh end
def refresh self.contents.clear x = 0 y = 0 self.contents.font.color = system_color self.contents.draw_text(0,12,70,22,"Weapon",2) self.contents.font.color = normal_color draw_item_name($data_weapons[@actor.weapon_id],x+80,y+7) self.contents.font.color = system_color self.contents.draw_text(0,36,70,22,"Shield",2) self.contents.font.color = normal_color draw_item_name($data_armors[@actor.armor1_id],x+80,y+31) self.contents.font.color = system_color self.contents.draw_text(0,60,70,22,"Head",2) self.contents.font.color = normal_color draw_item_name($data_armors[@actor.armor2_id],x+80,y+55) self.contents.font.color = system_color self.contents.draw_text(200,24,70,22,"Chest",2) self.contents.font.color = normal_color draw_item_name($data_armors[@actor.armor3_id],x+280,y+19) self.contents.font.color = system_color self.contents.draw_text(200,48,70,22,"Relic",2) self.contents.font.color = normal_color draw_item_name($data_armors[@actor.armor4_id],x+280,y+43) end end
#===============================================================================
#Creates the window that displays the character's Information #===============================================================================
class Window_Actorinfo < Window_Base
def initialize(actor) super(160,128,480,352) self.contents = Bitmap.new(width - 32, height - 32) self.contents.font.name = "Book Antiqua" self.contents.font.size = 20 @actor = actor refresh end def refresh self.contents.clear x = 0 y = 0 draw_actor_description(@actor,x,y) end
def draw_actor_description(actor,x,y) #------------------------------------------------------------------------------- #OPTIONS #Insert the description you want inside the quotation marks #Must make a variable(letter) for each character that will at any point be in #your party. #If the actor is in slot "001:" that means that is character 1 #If the actor is in slot "002:" that means that is character 2 #And it contiues like that. #Recommend: No more then 108 characters - including spaces. #There are markers showing to the right for those who dont count spaces like me #^-^ ^-^ ^-^ ^-^ ^-^ ^-^ #Here a couple points that give you the best description without tight letters #or you can have longer description. #The "V" represent the markers for either choice. #----------------------------------------------------------------------Non-tight letters V,2x amount of description V a1 = "And just as a demonstration you have quite a few" #Character One 1st line a2 = "lines to say what you need to say about any given" #Character One 2nd line a3 = "character. This is just to give some background" #Character One 3rd line a4 = "story to your characters. Another line is added " #Character One 4th line a5 = "right here. Type whatever comes to mind in here." #Character One 5th line b1 = "And just as a demonstration you have quite a few" #Character Two 1st line b2 = "lines to say what you need to say about any given" #Character Two 2nd line b3 = "character. This is just to give some background" #Character Two 3rd line b4 = "story to your characters. Another line is added " #Character Two 4th line b5 = "right here. Type whatever comes to mind in here." #Character Two 5th line c1 = "And just as a demonstration you have quite a few" #Character Three 1st line c2 = "lines to say what you need to say about any given" #Character Three 2nd line c3 = "character. This is just to give some background" #Character Three 3rd line c4 = "story to your characters. Another line is added " #Character Three 4th line c5 = "right here. Type whatever comes to mind in here." #Character Three 5th line d1 = "And just as a demonstration you have quite a few" #Character Four 1st line d2 = "lines to say what you need to say about any given" #Character Four 2nd line d3 = "character. This is just to give some background" #Character Four 3rd line d4 = "story to your characters. Another line is added " #Character Four 4th line d5 = "right here. Type whatever comes to mind in here." #Character Four 5th line e1 = "And just as a demonstration you have quite a few" #Character Five 1st line e2 = "lines to say what you need to say about any given" #Character Five 2nd line e3 = "character. This is just to give some background" #Character Five 3rd line e4 = "story to your characters. Another line is added " #Character Five 4th line e5 = "right here. Type whatever comes to mind in here." #Character Five 5th line f1 = "And just as a demonstration you have quite a few" #Character Six 1st line f2 = "lines to say what you need to say about any given" #Character Six 2nd line f3 = "character. This is just to give some background" #Character Six 3rd line f4 = "story to your characters. Another line is added " #Character Six 4th line f5 = "right here. Type whatever comes to mind in here." #Character Six 5th line g1 = "And just as a demonstration you have quite a few" #Character Seven 1st line g2 = "lines to say what you need to say about any given" #Character Seven 2nd line g3 = "character. This is just to give some background" #Character Seven 3rd line g4 = "story to your characters. Another line is added " #Character Seven 4th line g5 = "right here. Type whatever comes to mind in here." #Character Seven 5th line h1 = "And just as a demonstration you have quite a few" #Character Eight 1st line h2 = "lines to say what you need to say about any given" #Character Eight 2nd line h3 = "character. This is just to give some background" #Character Eight 3rd line h4 = "story to your characters. Another line is added " #Character Eight 4th line h5 = "right here. Type whatever comes to mind in here." #Character Eight 5th line
#----------------------------------------------------------------------Non-tight letters ^,2x amount of description ^ #Edit the personal stuff bout your char in the "if" statements to best fit #your game. #Dont edit anymore then said unless you have more then 8 characters. #Must also make one of these for each character that will at any point be in #your party. #---------OPTIONS---------------------------------------------------------------------- if actor.id == 1 age = "17" race = "Human" height = "5'11''" weight = "190 lbs." if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,a1) self.contents.draw_text(110,10,540,32,a2) self.contents.draw_text(110,30,540,32,a3) self.contents.draw_text(110,50,540,32,a4) self.contents.draw_text(110,70,540,32,a5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,a1) self.contents.draw_text(0,10,540,32,a2) self.contents.draw_text(0,30,540,32,a3) self.contents.draw_text(0,50,540,32,a4) self.contents.draw_text(0,70,540,32,a5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight)
end if actor.id == 2 age = "23" race = "Braxion" height = "6'2''" weight = "215 lbs." if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,b1) self.contents.draw_text(110,10,540,32,b2) self.contents.draw_text(110,30,540,32,b3) self.contents.draw_text(110,50,540,32,b4) self.contents.draw_text(110,70,540,32,b5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,b1) self.contents.draw_text(0,10,540,32,b2) self.contents.draw_text(0,30,540,32,b3) self.contents.draw_text(0,50,540,32,b4) self.contents.draw_text(0,70,540,32,b5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 3 age = " " race = " " height = " " weight = " " if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,c1) self.contents.draw_text(110,10,540,32,c2) self.contents.draw_text(110,30,540,32,c3) self.contents.draw_text(110,50,540,32,c4) self.contents.draw_text(110,70,540,32,c5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,c1) self.contents.draw_text(0,10,540,32,c2) self.contents.draw_text(0,30,540,32,c3) self.contents.draw_text(0,50,540,32,c4) self.contents.draw_text(0,70,540,32,c5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 4 age = " " race = " " height = " " weight = " " if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,d1) self.contents.draw_text(110,10,540,32,d2) self.contents.draw_text(110,30,540,32,d3) self.contents.draw_text(110,50,540,32,d4) self.contents.draw_text(110,70,540,32,d5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,d1) self.contents.draw_text(0,10,540,32,d2) self.contents.draw_text(0,30,540,32,d3) self.contents.draw_text(0,50,540,32,d4) self.contents.draw_text(0,70,540,32,d5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 5 age = " " race = " " height = " " weight = " " if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,e1) self.contents.draw_text(110,10,540,32,e2) self.contents.draw_text(110,30,540,32,e3) self.contents.draw_text(110,50,540,32,e4) self.contents.draw_text(110,70,540,32,e5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,e1) self.contents.draw_text(0,10,540,32,e2) self.contents.draw_text(0,30,540,32,e3) self.contents.draw_text(0,50,540,32,e4) self.contents.draw_text(0,70,540,32,e5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 6 age = " " race = " " height = " " weight = " " if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,f1) self.contents.draw_text(110,10,540,32,f2) self.contents.draw_text(110,30,540,32,f3) self.contents.draw_text(110,50,540,32,f4) self.contents.draw_text(110,70,540,32,f5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,f1) self.contents.draw_text(0,10,540,32,f2) self.contents.draw_text(0,30,540,32,f3) self.contents.draw_text(0,50,540,32,f4) self.contents.draw_text(0,70,540,32,f5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 7 age = "325" race = "Celestial" height = "5'8''" weight = "115 lbs." if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,g1) self.contents.draw_text(110,10,540,32,g2) self.contents.draw_text(110,30,540,32,g3) self.contents.draw_text(110,50,540,32,g4) self.contents.draw_text(110,70,540,32,g5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,g1) self.contents.draw_text(0,10,540,32,g2) self.contents.draw_text(0,30,540,32,g3) self.contents.draw_text(0,50,540,32,g4) self.contents.draw_text(0,70,540,32,g5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 8 age = "12" race = "Human" height = "4'3''" weight = "90 lbs." if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,h1) self.contents.draw_text(110,10,540,32,h2) self.contents.draw_text(110,30,540,32,h3) self.contents.draw_text(110,50,540,32,h4) self.contents.draw_text(110,70,540,32,h5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,h1) self.contents.draw_text(0,10,540,32,h2) self.contents.draw_text(0,30,540,32,h3) self.contents.draw_text(0,50,540,32,h4) self.contents.draw_text(0,70,540,32,h5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end end end
#===============================================================================
#Creates the scene for the status screen #===============================================================================
class Scene_Status
def initialize(actor_index = 0, equip_index = 0) @actor_index = actor_index end
def main # Get actor @actor = $game_party.actors[@actor_index] # Make status window @stats_window = Window_Stats.new(@actor) @actorinfo_window = Window_Actorinfo.new(@actor) @equiped_window = Window_Equiped.new(@actor) # Execute transition Graphics.transition # Main loop loop do # Update game screen Graphics.update # Update input information Input.update # Frame update update # Abort loop if screen is changed if $scene != self break end end # Prepare for transition Graphics.freeze # Dispose of windows @stats_window.dispose @actorinfo_window.dispose @equiped_window.dispose end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update # If B button was pressed if Input.trigger?(Input::B) # Play cancel SE $game_system.se_play($data_system.cancel_se) # Switch to menu screen $scene = Scene_Menu.new(3) return end # If R button was pressed if Input.trigger?(Input::R) # Play cursor SE $game_system.se_play($data_system.cursor_se) # To next actor @actor_index += 1 @actor_index %= $game_party.actors.size # Switch to different status screen $scene = Scene_Status.new(@actor_index) return end # If L button was pressed if Input.trigger?(Input::L) # Play cursor SE $game_system.se_play($data_system.cursor_se) # To previous actor @actor_index += $game_party.actors.size - 1 @actor_index %= $game_party.actors.size # Switch to different status screen $scene = Scene_Status.new(@actor_index) return end end end class Window_Base < Window def draw_actor_face(actor, x, y) bitmap = RPG::Cache.picture("Faces/" + actor.character_name) self.contents.blt(x, y, bitmap, Rect.new(0,0,96,96)) end def draw_actor_photo(actor, x, y) bitmap = RPG::Cache.picture(actor.character_name) self.contents.blt(x, y, bitmap, Rect.new(0,0,400,480)) end end And here is version 2, no additional scripts are required. CODE =begin ================================================================================
It is best advised to look at the comments(green text) to make sure you get the most out of this script. Please give credit to either my real or username. This script was made by: CreationAsylum Username:Alwayzconfuzed Real Name: Zach Dronet *****June 5, 2007***** More description spaced added - Thanks for the idea leon *****June 10, 2007***** Equipment Slot names added - Noticed they weren't there ^-^ *****May 25, 2008*****
******************************************************************************** #==============================================================================# This script was heavily edited by: CreationAsylum Username: Loki333 Rmxp.Org Username: Loki Darkheart RpgRevolution Username: Loki333 Real Name: Jessey Laws *****June 3, 2008***** v1.2 More description space added. Cleaned up alignments and positioning issues. Added face picture option. Added option to use characterset instead of battler. *****August 19, 2008***** v1.3 Added option to use a custom picture instead of a battler. #==============================================================================# ******************************************************************************** =end #===============================================================================
#Creates the Inforormation Window #===============================================================================
#=====================================OPTIONS==================================# BATTLER = 1 #When "1" displays a battler graphic in the left window. #When "2" displays the character set in the left window. #When "3" displays the picture from the pictures folder. FACEPICTURE = true #When true it displays a face picture next to the biography. #This allows for less biography space but looks nice. #To use facesets create a folder in your pictures folder #named Faces. Name the facesets identical to what the #characterset for the actor is named. #=====================================OPTIONS==================================# class Window_Stats < Window_Base
def initialize(actor) super(0,0,160,480) self.contents = Bitmap.new(width - 32, height - 32) self.contents.font.name = "Book Antiqua" self.contents.font.size = 20 @actor = actor refresh end
alias edit_draw_parameter draw_actor_parameter def draw_actor_parameter(actor, x, y, type) case type when 0 parameter_name = $data_system.words.atk parameter_value = @actor.atk when 1 parameter_name = $data_system.words.pdef parameter_value = @actor.pdef when 2 parameter_name = $data_system.words.mdef parameter_value = @actor.mdef when 3 parameter_name = $data_system.words.str parameter_value = @actor.str when 4 parameter_name = $data_system.words.dex parameter_value = @actor.dex when 5 parameter_name = $data_system.words.agi parameter_value = @actor.agi when 6 parameter_name = $data_system.words.int parameter_value = @actor.int when 7 parameter_name = "Evasion" parameter_value = @actor.eva when 8 parameter_name = "Level" parameter_value = @actor.level end
self.contents.font.color = system_color self.contents.draw_text(x, y, 120, 32, parameter_name) self.contents.font.color = normal_color self.contents.draw_text(x + 90, y, 36, 32, parameter_value.to_s, 2) end
def refresh self.contents.clear x = 0 y = 0 self.contents.font.color = text_color(6)
self.contents.draw_text(x+10,y,150,20,"Character Stats") #Positioning of Text for left window draw_actor_parameter(@actor,x,y+44,0) draw_actor_parameter(@actor,x,y+64,1) draw_actor_parameter(@actor,x,y+84,2) draw_actor_parameter(@actor,x,y+104,3) draw_actor_parameter(@actor,x,y+124,4) draw_actor_parameter(@actor,x,y+144,5) draw_actor_parameter(@actor,x,y+164,6) draw_actor_parameter(@actor,x,y+184,7) draw_actor_parameter(@actor,x,y+24,8) #OPTIONS if BATTLER == 1 if @actor.id == 1 draw_actor_battler(@actor,x+20,y+240) #Change the position of Actor 1's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 2 draw_actor_battler(@actor,x,y+200) #Change the position of Actor 2's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 3 draw_actor_battler(@actor,x,y+220) #Change the position of Actor 3's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 4 draw_actor_battler(@actor,x,y+220) #Change the position of Actor 4's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 5 draw_actor_battler(@actor,x,y+220) #Change the position of Actor 5's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 6 draw_actor_battler(@actor,x,y+220) #Change the position of Actor 6's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 7 draw_actor_battler(@actor,x+30,y+250) #Change the position of Actor 7's battler here. Useful for when your battlers are not all the same size. end if @actor.id == 8 draw_actor_battler(@actor,x+20,y+280) #Change the position of Actor 8's battler here. Useful for when your battlers are not all the same size. end end
if BATTLER == 2 draw_actor_graphic(@actor, x+64, y+400) end
#OPTIONS - Change the X and Y offsets here when using a picture in the status screen. if BATTLER == 3 if @actor.id == 1 draw_actor_photo(@actor,x+20,y+240) #Change the position of Actor 1's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 2 draw_actor_photo(@actor,x,y+200) #Change the position of Actor 2's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 3 draw_actor_photo(@actor,x,y+220) #Change the position of Actor 3's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 4 draw_actor_photo(@actor,x,y+220) #Change the position of Actor 4's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 5 draw_actor_photo(@actor,x,y+220) #Change the position of Actor 5's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 6 draw_actor_photo(@actor,x,y+220) #Change the position of Actor 6's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 7 draw_actor_photo(@actor,x+30,y+250) #Change the position of Actor 7's picture here. Useful for when your pictures are not all the same size. end if @actor.id == 8 draw_actor_photo(@actor,x+20,y+280) #Change the position of Actor 8's picture here. Useful for when your pictures are not all the same size. end end
end def draw_actor_battler(actor, x, y) bitmap = RPG::Cache.battler(@actor.battler_name, @actor.battler_hue) self.contents.blt(x, y, bitmap, Rect.new(0, 0, 400, 480)) end end
#===============================================================================
#Creates the window that displays what is equipped #===============================================================================
class Window_Equiped < Window_Base
def initialize(actor) super(160,0,480,128) self.contents = Bitmap.new(width - 32, height - 32) self.contents.font.name = "Book Antiqua" self.contents.font.size = 18 @actor = actor refresh end
def refresh self.contents.clear x = 0 y = 0 self.contents.font.color = system_color self.contents.draw_text(0,12,70,22,"Weapon",2) self.contents.font.color = normal_color draw_item_name($data_weapons[@actor.weapon_id],x+80,y+7) self.contents.font.color = system_color self.contents.draw_text(0,36,70,22,"Shield",2) self.contents.font.color = normal_color draw_item_name($data_armors[@actor.armor1_id],x+80,y+31) self.contents.font.color = system_color self.contents.draw_text(0,60,70,22,"Head",2) self.contents.font.color = normal_color draw_item_name($data_armors[@actor.armor2_id],x+80,y+55) self.contents.font.color = system_color self.contents.draw_text(200,24,70,22,"Chest",2) self.contents.font.color = normal_color draw_item_name($data_armors[@actor.armor3_id],x+280,y+19) self.contents.font.color = system_color self.contents.draw_text(200,48,70,22,"Relic",2) self.contents.font.color = normal_color draw_item_name($data_armors[@actor.armor4_id],x+280,y+43) end end
#===============================================================================
#Creates the window that displays the character's Information #===============================================================================
class Window_Actorinfo < Window_Base
def initialize(actor) super(160,128,480,352) self.contents = Bitmap.new(width - 32, height - 32) self.contents.font.name = "Book Antiqua" self.contents.font.size = 20 @actor = actor refresh end def refresh self.contents.clear x = 0 y = 0 draw_actor_description(@actor,x,y) end
def draw_actor_description(actor,x,y) #------------------------------------------------------------------------------- #OPTIONS #Insert the description you want inside the quotation marks #Must make a variable(letter) for each character that will at any point be in #your party. #If the actor is in slot "001:" that means that is character 1 #If the actor is in slot "002:" that means that is character 2 #And it contiues like that. #Recommend: No more then 108 characters - including spaces. #There are markers showing to the right for those who dont count spaces like me #^-^ ^-^ ^-^ ^-^ ^-^ ^-^ #Here a couple points that give you the best description without tight letters #or you can have longer description. #The "V" represent the markers for either choice. #----------------------------------------------------------------------Non-tight letters V,2x amount of description V a1 = "And just as a demonstration you have quite a few" #Character One 1st line a2 = "lines to say what you need to say about any given" #Character One 2nd line a3 = "character. This is just to give some background" #Character One 3rd line a4 = "story to your characters. Another line is added " #Character One 4th line a5 = "right here. Type whatever comes to mind in here." #Character One 5th line b1 = "And just as a demonstration you have quite a few" #Character Two 1st line b2 = "lines to say what you need to say about any given" #Character Two 2nd line b3 = "character. This is just to give some background" #Character Two 3rd line b4 = "story to your characters. Another line is added " #Character Two 4th line b5 = "right here. Type whatever comes to mind in here." #Character Two 5th line c1 = "And just as a demonstration you have quite a few" #Character Three 1st line c2 = "lines to say what you need to say about any given" #Character Three 2nd line c3 = "character. This is just to give some background" #Character Three 3rd line c4 = "story to your characters. Another line is added " #Character Three 4th line c5 = "right here. Type whatever comes to mind in here." #Character Three 5th line d1 = "And just as a demonstration you have quite a few" #Character Four 1st line d2 = "lines to say what you need to say about any given" #Character Four 2nd line d3 = "character. This is just to give some background" #Character Four 3rd line d4 = "story to your characters. Another line is added " #Character Four 4th line d5 = "right here. Type whatever comes to mind in here." #Character Four 5th line e1 = "And just as a demonstration you have quite a few" #Character Five 1st line e2 = "lines to say what you need to say about any given" #Character Five 2nd line e3 = "character. This is just to give some background" #Character Five 3rd line e4 = "story to your characters. Another line is added " #Character Five 4th line e5 = "right here. Type whatever comes to mind in here." #Character Five 5th line f1 = "And just as a demonstration you have quite a few" #Character Six 1st line f2 = "lines to say what you need to say about any given" #Character Six 2nd line f3 = "character. This is just to give some background" #Character Six 3rd line f4 = "story to your characters. Another line is added " #Character Six 4th line f5 = "right here. Type whatever comes to mind in here." #Character Six 5th line g1 = "And just as a demonstration you have quite a few" #Character Seven 1st line g2 = "lines to say what you need to say about any given" #Character Seven 2nd line g3 = "character. This is just to give some background" #Character Seven 3rd line g4 = "story to your characters. Another line is added " #Character Seven 4th line g5 = "right here. Type whatever comes to mind in here." #Character Seven 5th line h1 = "And just as a demonstration you have quite a few" #Character Eight 1st line h2 = "lines to say what you need to say about any given" #Character Eight 2nd line h3 = "character. This is just to give some background" #Character Eight 3rd line h4 = "story to your characters. Another line is added " #Character Eight 4th line h5 = "right here. Type whatever comes to mind in here." #Character Eight 5th line
#----------------------------------------------------------------------Non-tight letters ^,2x amount of description ^ #Edit the personal stuff bout your char in the "if" statements to best fit #your game. #Dont edit anymore then said unless you have more then 8 characters. #Must also make one of these for each character that will at any point be in #your party. #---------OPTIONS---------------------------------------------------------------------- if actor.id == 1 age = "17" race = "Human" height = "5'11''" weight = "190 lbs." if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,a1) self.contents.draw_text(110,10,540,32,a2) self.contents.draw_text(110,30,540,32,a3) self.contents.draw_text(110,50,540,32,a4) self.contents.draw_text(110,70,540,32,a5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,a1) self.contents.draw_text(0,10,540,32,a2) self.contents.draw_text(0,30,540,32,a3) self.contents.draw_text(0,50,540,32,a4) self.contents.draw_text(0,70,540,32,a5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight)
end if actor.id == 2 age = "23" race = "Braxion" height = "6'2''" weight = "215 lbs." if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,b1) self.contents.draw_text(110,10,540,32,b2) self.contents.draw_text(110,30,540,32,b3) self.contents.draw_text(110,50,540,32,b4) self.contents.draw_text(110,70,540,32,b5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,b1) self.contents.draw_text(0,10,540,32,b2) self.contents.draw_text(0,30,540,32,b3) self.contents.draw_text(0,50,540,32,b4) self.contents.draw_text(0,70,540,32,b5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 3 age = " " race = " " height = " " weight = " " if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,c1) self.contents.draw_text(110,10,540,32,c2) self.contents.draw_text(110,30,540,32,c3) self.contents.draw_text(110,50,540,32,c4) self.contents.draw_text(110,70,540,32,c5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,c1) self.contents.draw_text(0,10,540,32,c2) self.contents.draw_text(0,30,540,32,c3) self.contents.draw_text(0,50,540,32,c4) self.contents.draw_text(0,70,540,32,c5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 4 age = " " race = " " height = " " weight = " " if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,d1) self.contents.draw_text(110,10,540,32,d2) self.contents.draw_text(110,30,540,32,d3) self.contents.draw_text(110,50,540,32,d4) self.contents.draw_text(110,70,540,32,d5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,d1) self.contents.draw_text(0,10,540,32,d2) self.contents.draw_text(0,30,540,32,d3) self.contents.draw_text(0,50,540,32,d4) self.contents.draw_text(0,70,540,32,d5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 5 age = " " race = " " height = " " weight = " " if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,e1) self.contents.draw_text(110,10,540,32,e2) self.contents.draw_text(110,30,540,32,e3) self.contents.draw_text(110,50,540,32,e4) self.contents.draw_text(110,70,540,32,e5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,e1) self.contents.draw_text(0,10,540,32,e2) self.contents.draw_text(0,30,540,32,e3) self.contents.draw_text(0,50,540,32,e4) self.contents.draw_text(0,70,540,32,e5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 6 age = " " race = " " height = " " weight = " " if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,f1) self.contents.draw_text(110,10,540,32,f2) self.contents.draw_text(110,30,540,32,f3) self.contents.draw_text(110,50,540,32,f4) self.contents.draw_text(110,70,540,32,f5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,f1) self.contents.draw_text(0,10,540,32,f2) self.contents.draw_text(0,30,540,32,f3) self.contents.draw_text(0,50,540,32,f4) self.contents.draw_text(0,70,540,32,f5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 7 age = "325" race = "Celestial" height = "5'8''" weight = "115 lbs." if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,g1) self.contents.draw_text(110,10,540,32,g2) self.contents.draw_text(110,30,540,32,g3) self.contents.draw_text(110,50,540,32,g4) self.contents.draw_text(110,70,540,32,g5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,g1) self.contents.draw_text(0,10,540,32,g2) self.contents.draw_text(0,30,540,32,g3) self.contents.draw_text(0,50,540,32,g4) self.contents.draw_text(0,70,540,32,g5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end if actor.id == 8 age = "12" race = "Human" height = "4'3''" weight = "90 lbs." if FACEPICTURE == true draw_actor_face(@actor, 0, 0) self.contents.font.color = text_color(6) self.contents.draw_text(110,-10,540,32,h1) self.contents.draw_text(110,10,540,32,h2) self.contents.draw_text(110,30,540,32,h3) self.contents.draw_text(110,50,540,32,h4) self.contents.draw_text(110,70,540,32,h5) else self.contents.font.color = text_color(6) self.contents.draw_text(0,-10,540,32,h1) self.contents.draw_text(0,10,540,32,h2) self.contents.draw_text(0,30,540,32,h3) self.contents.draw_text(0,50,540,32,h4) self.contents.draw_text(0,70,540,32,h5) end
self.contents.font.name = "Book Antiqua" self.contents.font.size = 30 self.contents.font.color = system_color self.contents.draw_text(0,96,90,32,"Name") self.contents.draw_text(90,96,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,96,440,32,actor.name) self.contents.font.color = system_color self.contents.draw_text(0,128,90,32,"Class") self.contents.draw_text(90,128,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,128,440,32,@actor.class_name) self.contents.font.color = system_color self.contents.draw_text(0,160,90,32,"Race") self.contents.draw_text(90,160,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,160,440,32,race) self.contents.font.color = system_color self.contents.draw_text(0,224,90,32,"Height") self.contents.draw_text(90,224,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,224,440,32,height) self.contents.font.color = system_color self.contents.draw_text(0,192,90,32,"Age") self.contents.draw_text(90,192,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,192,440,32,age) self.contents.font.color = system_color self.contents.draw_text(0,256,90,32,"Weight") self.contents.draw_text(90,256,90,32,":") self.contents.font.color = normal_color self.contents.draw_text(106,256,440,32,weight) end end end
#===============================================================================
#Creates the scene for the status screen #===============================================================================
class Scene_Status
def initialize(actor_index = 0, equip_index = 0) @actor_index = actor_index end
def main # Get actor @actor = $game_party.actors[@actor_index] # Make status window @stats_window = Window_Stats.new(@actor) @actorinfo_window = Window_Actorinfo.new(@actor) @equiped_window = Window_Equiped.new(@actor) # Execute transition Graphics.transition # Main loop loop do # Update game screen Graphics.update # Update input information Input.update # Frame update update # Abort loop if screen is changed if $scene != self break end end # Prepare for transition Graphics.freeze # Dispose of windows @stats_window.dispose @actorinfo_window.dispose @equiped_window.dispose end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update # If B button was pressed if Input.trigger?(Input::B) # Play cancel SE $game_system.se_play($data_system.cancel_se) # Switch to menu screen $scene = Scene_Menu.new(3) return end # If R button was pressed if Input.trigger?(Input::R) # Play cursor SE $game_system.se_play($data_system.cursor_se) # To next actor @actor_index += 1 @actor_index %= $game_party.actors.size # Switch to different status screen $scene = Scene_Status.new(@actor_index) return end # If L button was pressed if Input.trigger?(Input::L) # Play cursor SE $game_system.se_play($data_system.cursor_se) # To previous actor @actor_index += $game_party.actors.size - 1 @actor_index %= $game_party.actors.size # Switch to different status screen $scene = Scene_Status.new(@actor_index) return end end end class Window_Base < Window def draw_actor_face(actor, x, y) bitmap = RPG::Cache.picture("Faces/" + actor.character_name) self.contents.blt(x, y, bitmap, Rect.new(0,0,96,96)) end def draw_actor_photo(actor, x, y) bitmap = RPG::Cache.picture(actor.character_name) self.contents.blt(x, y, bitmap, Rect.new(0,0,400,480)) end end What has changed?v1.2 -More description space added. -Cleaned up alignments and positioning issues. -Added Battle Stats section(Sandgolem Scripts Required Version). -Added face picture option. -Added option to use characterset instead of battler. v1.3 -Added the option to use a custom picture instead of a battler or character set inside your status screen. InstallationAbove Main and below default scripts. Thanks for your time any criticism and comments are welcome as well as ideas to implement.
__________________________
|
|
|
|
|
|
|
|
|
Jun 24 2008, 08:47 AM
|

The 15-year old Swedish Meatball

Group: Revolutionary
Posts: 280
Type: Developer
RM Skill: Advanced

|
It doesn't work for me. I'm using Blizzard's StormTronics CMS. Could that be the problem?
__________________________
 Stay tuned for more information about Fairytale. To stay updated on all my project videos, visit my YouTube page!QUOTE (JoRu) Life is a game!
|
|
|
|
|
|
|
|
|
Jun 24 2008, 11:51 PM
|

Google it before asking stupid questions!!!

Group: Revolutionary
Posts: 134
Type: Event Designer
RM Skill: Masterful

|
Okay for this you have to do a little bit of editting to the script. Its really simple though. Find this block in the script. CODE a1 = "And just as a demonstration you have quite a few" #Character One 1st line a2 = "lines to say what you need to say about any given" #Character One 2nd line a3 = "character. This is just to give some background" #Character One 3rd line a4 = "story to your characters. Another line is added " #Character One 4th line a5 = "right here. Type whatever comes to mind in here." #Character One 5th line b1 = "And just as a demonstration you have quite a few" #Character Two 1st line b2 = "lines to say what you need to say about any given" #Character Two 2nd line b3 = "character. This is just to give some background" #Character Two 3rd line b4 = "story to your characters. Another line is added " #Character Two 4th line b5 = "right here. Type whatever comes to mind in here." #Character Two 5th line c1 = "And just as a demonstration you have quite a few" #Character Three 1st line c2 = "lines to say what you need to say about any given" #Character Three 2nd line c3 = "character. This is just to give some background" #Character Three 3rd line c4 = "story to your characters. Another line is added " #Character Three 4th line c5 = "right here. Type whatever comes to mind in here." #Character Three 5th line d1 = "And just as a demonstration you have quite a few" #Character Four 1st line d2 = "lines to say what you need to say about any given" #Character Four 2nd line d3 = "character. This is just to give some background" #Character Four 3rd line d4 = "story to your characters. Another line is added " #Character Four 4th line d5 = "right here. Type whatever comes to mind in here." #Character Four 5th line e1 = "And just as a demonstration you have quite a few" #Character Five 1st line e2 = "lines to say what you need to say about any given" #Character Five 2nd line e3 = "character. This is just to give some background" #Character Five 3rd line e4 = "story to your characters. Another line is added " #Character Five 4th line e5 = "right here. Type whatever comes to mind in here." #Character Five 5th line f1 = "And just as a demonstration you have quite a few" #Character Six 1st line f2 = "lines to say what you need to say about any given" #Character Six 2nd line f3 = "character. This is just to give some background" #Character Six 3rd line f4 = "story to your characters. Another line is added " #Character Six 4th line f5 = "right here. Type whatever comes to mind in here." #Character Six 5th line g1 = "And just as a demonstration you have quite a few" #Character Seven 1st line g2 = "lines to say what you need to say about any given" #Character Seven 2nd line g3 = "character. This is just to give some background" #Character Seven 3rd line g4 = "story to your characters. Another line is added " #Character Seven 4th line g5 = "right here. Type whatever comes to mind in here." #Character Seven 5th line h1 = "And just as a demonstration you have quite a few" #Character Eight 1st line h2 = "lines to say what you need to say about any given" #Character Eight 2nd line h3 = "character. This is just to give some background" #Character Eight 3rd line h4 = "story to your characters. Another line is added " #Character Eight 4th line h5 = "right here. Type whatever comes to mind in here." #Character Eight 5th line The text in quotation marks you can change freely you may have to experiment with the length of each line to get the right look and so you don't cut off text but that's up to you to figure out. Also, for the faceset you don't import it through RPG Maker, you open your project folder and put it in the faces folder. If you import it through the program it only puts it in the Graphics>>Pictures Folder. If you open up you graphics section of your project you will see what I mean.
This post has been edited by Loki333: Jun 24 2008, 11:59 PM
__________________________
|
|
|
|
|
|
|
|
|
Jun 25 2008, 02:43 AM
|

Google it before asking stupid questions!!!

Group: Revolutionary
Posts: 134
Type: Event Designer
RM Skill: Masterful

|
Okay post the line of code you changed on here and i'll be able to tell you what you did wrong and get that fixed. The ages and such find these lines of code CODE if actor.id == 1 age = "17" race = "Human" height = "5'11''" weight = "190 lbs." The actor.id == is telling you which character in the database the following information is for. So you can change that for the first character in the database and look for the corresponding number for the rest.
This post has been edited by Loki333: Jun 25 2008, 02:43 AM
__________________________
|
|
|
|
|
|
|
|
|
Jun 25 2008, 12:32 PM
|

Because Tomorrow Will Surely Come...

Group: Revolutionary
Posts: 1,137
Type: None
RM Skill: Skilled

|
Uh oh... I've accidently moved this thread to request section when moving pile of thread that posted in the wrong section. Sorry for the inconveniences. *moved it back* cheers, puppeto4.
__________________________
|
|
|
|
|
|
|
|
|
Jul 23 2008, 10:03 PM
|

Level 3

Group: Member
Posts: 40
Type: Developer
RM Skill: Masterful

|
Its realy cool. But i could not use it because i would have to take off my good & evil script.
__________________________
*working*
|
|
|
|
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
RPG RPG Revolution is an Privacy
Policy and Legal
|
|