Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

2 Pages V   1 2 >  
Closed TopicStart new topic
> Law's Custom Skill Screen, Just like the title says.
The Law G14
post Oct 5 2009, 05:31 PM
Post #1


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Law’s Custom Skill Screen

Version 1.0
The Law G14
10/5/09


Introduction

Hey everyone, it’s me, Law, with another script smile.gif This script edits the skill screen and basically changes the whole interface. It shows your equipment, hp, sp, state and face graphic along with your skills of course. Enjoy biggrin.gif


Features

-Shows face graphic of character

-Changes whole Skill screen interface

-Shows player’s equipment


Script

Attached File  Custom_Skill_Screen.txt ( 5.79K ) Number of downloads: 374



Compatibility

This script will probably run into problems with scripts that edit the skill screen.


Screenshot




Installation

Import all the face graphics of the playable characters in your game and name them as '1' for the first character, '2' for your second character, '3' for your third cahracter and so on. Be sure to know that '1' is the first actor in actors tab of the database.


FAQ

None as of now.


Terms and Conditions

Just credit me where it is due smile.gif

Special Thanks

Special thanks to Loki333’s personalized status screen for helping me show the player’s current equipment.

This post has been edited by The Law G14: Nov 14 2009, 09:27 AM


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Zeffa
post Oct 7 2009, 02:34 PM
Post #2


Level 8
Group Icon

Group: Revolutionary
Posts: 130
Type: Artist
RM Skill: Intermediate




I'm liking the many custom menu screens you've been making.

If you ever want me to test for bugs let me know, I'm sure I'll try and report on the ones I'm interested in anyway.

biggrin.gif


__________________________
Illustrator/GraphicDesigner, if you want somert... Like an illustration or a logo? Just ask! (Nothing too crazy though) ;)
For the love, the art, the game, the metal and the sex... And thanks for the freebies.


Out Now!
Awaiting reviews and feedback.

Current Project: Exodus: Escape Fort Bullwark
Engine: RMXP
Completion: Chapter One, 100%
Release Date: Out now, Winter 2009
Download Link: Via MediaFire

Exodus Full Game Thread
Exodus Forum Topic
Exodus Screen Gallery
Go to the top of the page
 
+Quote Post
   
The Law G14
post Oct 7 2009, 02:45 PM
Post #3


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Thanks for comments Zef, I was begining to feel that everyone thought this script was useless lol biggrin.gif

If you have any questions, please post biggrin.gif

QUOTE
If you ever want me to test for bugs let me know, I'm sure I'll try and report on the ones I'm interested in anyway


That'd be cool, thanks man smile.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Chibichan
post Oct 11 2009, 11:36 AM
Post #4


Tuna with Bacon!
Group Icon

Group: Revolutionary
Posts: 524
Type: None
RM Skill: Undisclosed




Another one bites the dust! Wow Law, you are really getting good! Here's an idea: Why not try making a script that lets the player choose a certain number of skills to use? Like choosing 5 out of 20 skills a chracter has for battle. I'm sure you're capable of it , but i'm just giving you ideas...


__________________________

Go to the top of the page
 
+Quote Post
   
The Law G14
post Oct 11 2009, 11:40 AM
Post #5


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Thanks for the comments Chibichan smile.gif

So your saying like before battle the player would choose 5 skills or something out of their list of skills to use in battle?


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Chibichan
post Oct 11 2009, 11:45 AM
Post #6


Tuna with Bacon!
Group Icon

Group: Revolutionary
Posts: 524
Type: None
RM Skill: Undisclosed




Yep yep yep! You're probably thinking before the battle starts, which might be cool, but i meant from the menu. This might be easy for you because you have a lot of menu scripts...There's something like it for VX, but it can probably be done in XP. I've got plenty of ideas for scripts, but i dont really know how to script (that might change soon), but ive got plenty of ideas if you run dry.


__________________________

Go to the top of the page
 
+Quote Post
   
The Law G14
post Oct 11 2009, 11:52 AM
Post #7


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Hey, would you mind giving a link to the vx script? Just curious to see how the maker of the vx script pulled this off smile.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Chibichan
post Oct 11 2009, 12:20 PM
Post #8


Tuna with Bacon!
Group Icon

Group: Revolutionary
Posts: 524
Type: None
RM Skill: Undisclosed




I believe this is it. Tell me if it's not, but I'm pretty sure it is.


__________________________

Go to the top of the page
 
+Quote Post
   
The Law G14
post Oct 11 2009, 12:27 PM
Post #9


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Hm, sounds like a good idea, thanks Chibichan smile.gif Though I don't think I'll be able to do it as good as Yanfly lol.


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Chibichan
post Oct 11 2009, 12:31 PM
Post #10


Tuna with Bacon!
Group Icon

Group: Revolutionary
Posts: 524
Type: None
RM Skill: Undisclosed




I know, I just realized that.... It looked really complicated, too...


__________________________

Go to the top of the page
 
+Quote Post
   
The Law G14
post Oct 11 2009, 12:34 PM
Post #11


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




I think I'll be able to pull it off, I'll see if I can start working on it soon smile.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Chibichan
post Oct 11 2009, 12:35 PM
Post #12


Tuna with Bacon!
Group Icon

Group: Revolutionary
Posts: 524
Type: None
RM Skill: Undisclosed




Great! Glad I could help!


__________________________

Go to the top of the page
 
+Quote Post
   
The Law G14
post Nov 14 2009, 09:28 AM
Post #13


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Updated the script. The skill screen now displays your class and and I made the windows fit perfectly in the screen, now. Before there was a gap underneath the windows.

Enjoy smile.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
skip258
post Dec 13 2009, 04:42 PM
Post #14


Level 2
Group Icon

Group: Member
Posts: 15
Type: None
RM Skill: Undisclosed




This is so close to what i was looking for. Don't get me wrong, this is amazing. I was wondering is it possible to modify this script so that instead of using gold, you use a separate type of "points" to spend that you could get from winning battles. like in Final fantasy tactics where you get experience after a battle and also you get "job points" to spend on learning a skill.

I know this might be pushing it too far but is it also possible to make it so that each character earns "job points" individually based on their performance in battle (lets say an attack will give you 2 JP, a miss will give you none, a skill attack that hits gives you 3. using an item gives you 1) etc. and Job points earned during battles by each character can only be spent on learning skills for that specific character.

I was just wondering about those possibilities, i hope you don't take it as me not being happy with this script. I think this script is awesome. Hope to hear from you soon Law.
Go to the top of the page
 
+Quote Post
   
The Law G14
post Dec 13 2009, 06:06 PM
Post #15


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Well the script idea you've proposed sounds very interesting though the only problem is that I can't just modify the script to fit this script idea since they're kinda alot different since normally, you get skills by leveling up, but with this, you spend Job Points. You would probably need a new script to fit this request of yours which I'd do if I wasn't so busy. Maybe in a couple of weeks I could try to sort out this script idea smile.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Bigace
post Jan 2 2010, 08:52 AM
Post #16


The King of Spades
Group Icon

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate




Nice custom script law, however it runs problems witn Enu Sideview Battle System - Individual Battle Commands Script. Oh-well sweat.gif whoops.gif


__________________________



Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

QUOTE ('Exiled One')
"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."
Go to the top of the page
 
+Quote Post
   
The Law G14
post Jan 2 2010, 09:09 AM
Post #17


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Would you mind posting up Enu's script? I could try to make my script and Enu's script compatible if you'd like smile.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Bigace
post Jan 2 2010, 12:39 PM
Post #18


The King of Spades
Group Icon

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate




Here's the whole battle system: Enu Tanketai SBS Script


__________________________



Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

QUOTE ('Exiled One')
"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."
Go to the top of the page
 
+Quote Post
   
The Law G14
post Jan 3 2010, 12:21 PM
Post #19


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Alright, got it to work. Replace my custom skill screen with this:

CODE
#==============================================================================
# ** Window_Skill
#------------------------------------------------------------------------------
#  This window displays usable skills on the skill and battle screens.
#==============================================================================

class Window_Skill < Window_Selectable
  #--------------------------------------------------------------------------
  # * Object Initialization
  #     actor : actor
  #--------------------------------------------------------------------------
  def initialize(actor, skill_command_type = '')
    super(300, 64, 340, 412)
    @actor = actor
    @skill_command_type = skill_command_type
    @column_max = 1
    refresh
    self.index = 0
    # If in battle, move window to center of screen
    # and make it semi-transparent
    if $game_temp.in_battle
      self.y = 64
      self.height = 256
      self.back_opacity = 160
    end
  end
   #--------------------------------------------------------------------------
  # * Acquiring Skill
  #--------------------------------------------------------------------------
  def skill
    return @data[self.index]
  end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    if self.contents != nil
      self.contents.dispose
      self.contents = nil
    end
    @data = []
    for i in 0...@actor.skills.size
      skill = $data_skills[@actor.skills[i]]
      if skill != nil
        @data.push(skill)
      end
    end
    # If item count is not 0, make a bit map and draw all items
    @item_max = @data.size
    if @item_max > 0
      self.contents = Bitmap.new(width - 32, row_max * 32)
      for i in 0...@item_max
        draw_item(i)
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Draw Item
  #     index : item number
  #--------------------------------------------------------------------------
  def draw_item(index)
    skill = @data[index]
    if @actor.skill_can_use?(skill.id)
      self.contents.font.color = normal_color
    else
      self.contents.font.color = disabled_color
    end
    y = index / 1 * 32
    x = 4 + index % 1 * (288 + 32)
    rect = Rect.new(x, y, self.width / @column_max - 32, 32)
    self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
    bitmap = RPG::Cache.icon(skill.icon_name)
    opacity = self.contents.font.color == normal_color ? 255 : 128
    self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 24, 24), opacity)
    self.contents.draw_text(x + 28, y, 204, 32, skill.name, 0)
    self.contents.draw_text(x + 200, y, 48, 32, skill.sp_cost.to_s, 2)
  end
  #--------------------------------------------------------------------------
  # * Help Text Update
  #--------------------------------------------------------------------------
  def update_help
    @help_window.set_text(self.skill == nil ? "" : self.skill.description)
  end
end

#==============================================================================
# ** Window_SkillStatus
#------------------------------------------------------------------------------
#  This window displays the skill user's status on the skill screen.
#==============================================================================

class Window_SkillStatus < Window_Base
  #--------------------------------------------------------------------------
  # * Object Initialization
  #     actor : actor
  #--------------------------------------------------------------------------
  def initialize(actor)
    super(0, 64, 300, 412)
    self.contents = Bitmap.new(width - 32, height - 32)
    @actor = actor
    refresh
  end
  #--------------------------------------------------------------------------
  # * Draw Face Graphic
  #     actor : actor
  #     x : draw spot x-coordinate
  #     y : draw spot y-coordinate
  #--------------------------------------------------------------------------
  def draw_actor_face_graphic(actor, x, y)
     bitmap = RPG::Cache.picture(actor.name)
     self.contents.blt(x, y, bitmap, Rect.new(0, 0, bitmap.width, bitmap.height))
   end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    self.contents.font.color = system_color
    self.contents.draw_text(15, 140, 100, 100,"State:", 2)
    draw_actor_face_graphic(@actor, 10, 50)
    draw_actor_name(@actor, 30, 10)
    draw_actor_state(@actor, 125, 174)
    draw_actor_hp(@actor, 120, 60)
    draw_actor_sp(@actor, 120, 110)
    self.contents.font.color = system_color
    self.contents.draw_text(10,220,90,22,"Weapon:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_weapons[@actor.weapon_id],110,220)
    self.contents.font.color = system_color
    self.contents.draw_text(10,250,90,22,"Shield:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_armors[@actor.armor1_id],110,250)
    self.contents.font.color = system_color
    self.contents.draw_text(10,280,90,22,"Helmet:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_armors[@actor.armor2_id],110,280)
    self.contents.font.color = system_color
    self.contents.draw_text(10,310,90,22,"Armor:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_armors[@actor.armor3_id],110,310)
    self.contents.font.color = system_color
    self.contents.draw_text(-10,340,110,22,"Accessory:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_armors[@actor.armor4_id],110,330)
  end
end


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"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

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Bigace
post Jan 3 2010, 01:03 PM
Post #20


The King of Spades
Group Icon

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate




QUOTE (The Law G14 @ Jan 3 2010, 03:21 PM) *
Alright, got it to work. Replace my custom skill screen with this:

[Show/Hide] Custom Skills
CODE
#==============================================================================
# ** Window_Skill
#------------------------------------------------------------------------------
#  This window displays usable skills on the skill and battle screens.
#==============================================================================

class Window_Skill < Window_Selectable
  #--------------------------------------------------------------------------
  # * Object Initialization
  #     actor : actor
  #--------------------------------------------------------------------------
  def initialize(actor, skill_command_type = '')
    super(300, 64, 340, 412)
    @actor = actor
    @skill_command_type = skill_command_type
    @column_max = 1
    refresh
    self.index = 0
    # If in battle, move window to center of screen
    # and make it semi-transparent
    if $game_temp.in_battle
      self.y = 64
      self.height = 256
      self.back_opacity = 160
    end
  end
   #--------------------------------------------------------------------------
  # * Acquiring Skill
  #--------------------------------------------------------------------------
  def skill
    return @data[self.index]
  end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    if self.contents != nil
      self.contents.dispose
      self.contents = nil
    end
    @data = []
    for i in 0...@actor.skills.size
      skill = $data_skills[@actor.skills[i]]
      if skill != nil
        @data.push(skill)
      end
    end
    # If item count is not 0, make a bit map and draw all items
    @item_max = @data.size
    if @item_max > 0
      self.contents = Bitmap.new(width - 32, row_max * 32)
      for i in 0...@item_max
        draw_item(i)
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Draw Item
  #     index : item number
  #--------------------------------------------------------------------------
  def draw_item(index)
    skill = @data[index]
    if @actor.skill_can_use?(skill.id)
      self.contents.font.color = normal_color
    else
      self.contents.font.color = disabled_color
    end
    y = index / 1 * 32
    x = 4 + index % 1 * (288 + 32)
    rect = Rect.new(x, y, self.width / @column_max - 32, 32)
    self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
    bitmap = RPG::Cache.icon(skill.icon_name)
    opacity = self.contents.font.color == normal_color ? 255 : 128
    self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 24, 24), opacity)
    self.contents.draw_text(x + 28, y, 204, 32, skill.name, 0)
    self.contents.draw_text(x + 200, y, 48, 32, skill.sp_cost.to_s, 2)
  end
  #--------------------------------------------------------------------------
  # * Help Text Update
  #--------------------------------------------------------------------------
  def update_help
    @help_window.set_text(self.skill == nil ? "" : self.skill.description)
  end
end

#==============================================================================
# ** Window_SkillStatus
#------------------------------------------------------------------------------
#  This window displays the skill user's status on the skill screen.
#==============================================================================

class Window_SkillStatus < Window_Base
  #--------------------------------------------------------------------------
  # * Object Initialization
  #     actor : actor
  #--------------------------------------------------------------------------
  def initialize(actor)
    super(0, 64, 300, 412)
    self.contents = Bitmap.new(width - 32, height - 32)
    @actor = actor
    refresh
  end
  #--------------------------------------------------------------------------
  # * Draw Face Graphic
  #     actor : actor
  #     x : draw spot x-coordinate
  #     y : draw spot y-coordinate
  #--------------------------------------------------------------------------
  def draw_actor_face_graphic(actor, x, y)
     bitmap = RPG::Cache.picture(actor.name)
     self.contents.blt(x, y, bitmap, Rect.new(0, 0, bitmap.width, bitmap.height))
   end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    self.contents.font.color = system_color
    self.contents.draw_text(15, 140, 100, 100,"State:", 2)
    draw_actor_face_graphic(@actor, 10, 50)
    draw_actor_name(@actor, 30, 10)
    draw_actor_state(@actor, 125, 174)
    draw_actor_hp(@actor, 120, 60)
    draw_actor_sp(@actor, 120, 110)
    self.contents.font.color = system_color
    self.contents.draw_text(10,220,90,22,"Weapon:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_weapons[@actor.weapon_id],110,220)
    self.contents.font.color = system_color
    self.contents.draw_text(10,250,90,22,"Shield:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_armors[@actor.armor1_id],110,250)
    self.contents.font.color = system_color
    self.contents.draw_text(10,280,90,22,"Helmet:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_armors[@actor.armor2_id],110,280)
    self.contents.font.color = system_color
    self.contents.draw_text(10,310,90,22,"Armor:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_armors[@actor.armor3_id],110,310)
    self.contents.font.color = system_color
    self.contents.draw_text(-10,340,110,22,"Accessory:",2)
    self.contents.font.color = normal_color
    draw_item_name($data_armors[@actor.armor4_id],110,330)
  end
end


Thx man everything works perfectly now.


__________________________



Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

QUOTE ('Exiled One')
"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."
Go to the top of the page
 
+Quote Post
   

2 Pages V   1 2 >
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2013 - 07:42 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker