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 Battle Icons, A small but handy script.
The Law G14
post Aug 30 2009, 01:14 PM
Post #1


Scripter FTW
Group Icon

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




Law's Battle Icons

Version 1.0
The Law G14
8/30/09


Introduction
This small little script I made basically allows the party command window in the battle screen to have icons. For example, next to skills, there would be a skill icon, and next to attack, there would be an attack icon and so on. Hope you guys enjoy the script smile.gif


Features

Allows the party command window to have icons.


Script

Attached File  Battle_Icons.txt ( 5.46K ) Number of downloads: 325


Compatibility

I don't think this would run into any compatibility issues, but if it does, feel free to report it to me.

Screenshot



Installation

Save FOUR icons in the icons section of your resource manager. The first icon, or the icon next to 'Attack' should be named Battle0, then the next icon, or the icon next to 'skill' should be Battle1, and so on.


FAQ

None as of now.

Terms and Conditions

Just credit it me where it's due smile.gif

Also, if you plan on hosting this script in other sites PLEASE TELL ME.

Special Thanks

Special Thanks to Blizzard for helping with the icon part of the script.


__________________________

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
   
Icalasari
post Aug 30 2009, 01:55 PM
Post #2


Level 5
Group Icon

Group: Member
Posts: 73
Type: Artist
RM Skill: Intermediate




This script looks awesome, Law! Odd how something so simple can enhance the appearance of a battle


__________________________
Go to the top of the page
 
+Quote Post
   
Holder
post Aug 30 2009, 01:57 PM
Post #3


Spoilers.
Group Icon

Group: Revolutionary
Posts: 4,204
Type: Developer
RM Skill: Advanced
Rev Points: 250




Wonderful to see you're moving into altering the battle system, you're progressing quickly.

Keep up the great work.


__________________________

 I'm running the Great North Run in September in aid of NACC. A condition my wife has in it's severe form.
Please sponsor me with whatever you can, thank you.
If you'd like to help spread the word please share the image and link to my fundraising page.

Go to the top of the page
 
+Quote Post
   
The Law G14
post Aug 30 2009, 04:05 PM
Post #4


Scripter FTW
Group Icon

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




@Icalasari: Hey, thanks! If you find any problems, feel free to report them smile.gif

@Holder: Thanks, Holder smile.gif It was actually the easiest script I've made so far since before, I was trying to add icons to the command window in the menu and Blizzard helped me out. All I did was apply the same logic for this command window and I found myself a decent script.

Any suggestions are welcome 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
   
Soul_Torn
post Sep 26 2009, 11:44 AM
Post #5


Level 3
Group Icon

Group: Member
Posts: 37
Type: Writer
RM Skill: Intermediate




Alright my issue is...
this script isn't compatible with the: Enu SBS Tanketai XP script...

*sounds like an utter newb*

is there a way to make it compatible?

Thanks,
Soul_Torn

This post has been edited by Soul_Torn: Sep 26 2009, 11:45 AM
Go to the top of the page
 
+Quote Post
   
The Law G14
post Sep 26 2009, 11:45 AM
Post #6


Scripter FTW
Group Icon

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




Hm, may I see Enu's battle script, or could you just link me to the page that I can get the script?


__________________________

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
   
Soul_Torn
post Sep 26 2009, 11:47 AM
Post #7


Level 3
Group Icon

Group: Member
Posts: 37
Type: Writer
RM Skill: Intermediate




QUOTE (The Law G14 @ Sep 26 2009, 12:45 PM) *
Hm, may I see Enu's battle script, or could you just link me to the page that I can get the script?


The Side View Battle Script:
http://www.rpgrevolution.com/forums/index....showtopic=25504

i don't know what the issue is again. XD.



the is the error message that pops up... it works fine when i use a clean game with no added scripts..>.>

This post has been edited by Soul_Torn: Sep 26 2009, 11:47 AM
Go to the top of the page
 
+Quote Post
   
The Law G14
post Sep 26 2009, 12:00 PM
Post #8


Scripter FTW
Group Icon

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




Alright, found out how to fix it, finally. Put my script under all your other scripts, though keep it above main and that should do the trick.


__________________________

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
   
Soul_Torn
post Sep 26 2009, 12:04 PM
Post #9


Level 3
Group Icon

Group: Member
Posts: 37
Type: Writer
RM Skill: Intermediate




QUOTE (The Law G14 @ Sep 26 2009, 01:00 PM) *
Alright, found out how to fix it, finally. Put my script under all your other scripts, though keep it above main and that should do the trick.


Thats how it is... and i still get that error message. O.o
Go to the top of the page
 
+Quote Post
   
The Law G14
post Sep 26 2009, 12:21 PM
Post #10


Scripter FTW
Group Icon

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




Yeah, I figured it out! Alright, first of all, replace the old Battle Icons script you have with this:

CODE
#------------------------------------------------------------------------------
#==============================================================================
#==============================================================================
#=========================*Law's Battle Icons*=================================
#=========================Author: The Law G14==================================
#============================Version 1.0=======================================
#==============================================================================
#------------------------------------------------------------------------------
#===============================================================================
# ** Window_Command_Battle
#-------------------------------------------------------------------------------
# This window takes care of the icon pictures.
#-------------------------------------------------------------------------------
class Window_Command_Battle < Window_Selectable
  #-----------------------------------------------------------------------------
  # * Object Initialization
  #-----------------------------------------------------------------------------
  attr_reader :continue
  #-----------------------------------------------------------------------------
  # * Object Initialization
  #-----------------------------------------------------------------------------
  def initialize(index, continue)
    commands = [$data_system.words.attack, $data_system.words.skill, $data_system.words.guard,
                $data_system.words.item]
    super(0, 0, 160, commands.size * 32 + 32)
    @item_max = commands.size
    @commands = commands
    self.contents = Bitmap.new(width - 32, @item_max * 32)
    refresh
    self.index = 0
  end
  #-----------------------------------------------------------------------------
  # * Draw Item
  #-----------------------------------------------------------------------------
  def draw_item(i, color)
    self.contents.fill_rect(0, i*32, 148, 32, Color.new(0, 0, 0, 0))
    bitmap = RPG::Cache.icon("Battle#{i}")
    opacity = (color == normal_color ? 255 : 128)
    self.contents.blt(4, 4 + i*32, bitmap, Rect.new(0, 0, 24, 24), opacity)
    self.contents.font.color = color
    self.contents.draw_text(32, i*32, 148, 32, @commands[i])
  end  
end
#-------------------------------------------------------------------------------
# * Refresh
#-------------------------------------------------------------------------------
def refresh
  self.contents.clear
  for i in 0...@item_max
    draw_item(i, normal_color)
  end
end


Next, on line 51 of the Sideview 2 script, replace that line with this:

CODE
@actor_command_window = Window_Command_Battle.new(160, [s1, s2, s3, s4])


That should work 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
   
Soul_Torn
post Sep 26 2009, 12:26 PM
Post #11


Level 3
Group Icon

Group: Member
Posts: 37
Type: Writer
RM Skill: Intermediate




DId it.
got this:


it only does this when i go to use the commands.
like it shows up, then crashes when i go to make the attack.

This post has been edited by Soul_Torn: Sep 26 2009, 12:33 PM
Go to the top of the page
 
+Quote Post
   
The Law G14
post Sep 26 2009, 12:34 PM
Post #12


Scripter FTW
Group Icon

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




Alright here's the new script, replace it with the old Battle Icons script:

CODE
#------------------------------------------------------------------------------
#==============================================================================
#==============================================================================
#=========================*Law's Battle Icons*=================================
#=========================Author: The Law G14==================================
#============================Version 1.0=======================================
#==============================================================================
#------------------------------------------------------------------------------
#===============================================================================
# ** Window_Command_Battle
#-------------------------------------------------------------------------------
# This window takes care of the icon pictures.
#-------------------------------------------------------------------------------
class Window_Command_Battle < Window_Selectable
  #-----------------------------------------------------------------------------
  # * Object Initialization
  #-----------------------------------------------------------------------------
  attr_reader :continue
  attr_accessor :commands
  #-----------------------------------------------------------------------------
  # * Object Initialization
  #-----------------------------------------------------------------------------
  def initialize(index, continue)
    commands = [$data_system.words.attack, $data_system.words.skill, $data_system.words.guard,
                $data_system.words.item]
    super(0, 0, 160, commands.size * 32 + 32)
    @item_max = commands.size
    @commands = commands
    self.contents = Bitmap.new(width - 32, @item_max * 32)
    refresh
    self.index = 0
  end
  #-----------------------------------------------------------------------------
  # * Draw Item
  #-----------------------------------------------------------------------------
  def draw_item(i, color)
    self.contents.fill_rect(0, i*32, 148, 32, Color.new(0, 0, 0, 0))
    bitmap = RPG::Cache.icon("Battle#{i}")
    opacity = (color == normal_color ? 255 : 128)
    self.contents.blt(4, 4 + i*32, bitmap, Rect.new(0, 0, 24, 24), opacity)
    self.contents.font.color = color
    self.contents.draw_text(32, i*32, 148, 32, @commands[i])
  end  
end
#-------------------------------------------------------------------------------
# * Refresh
#-------------------------------------------------------------------------------
def refresh
  self.contents.clear
  for i in 0...@item_max
    draw_item(i, normal_color)
  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
   
Soul_Torn
post Sep 26 2009, 12:37 PM
Post #13


Level 3
Group Icon

Group: Member
Posts: 37
Type: Writer
RM Skill: Intermediate




Sorry for being such a bother.
Thanks! It finally works! biggrin.gif
Awesome script by the way... cool.gif
Now the equip menu is acting up again. xD.
wow...

This post has been edited by Soul_Torn: Sep 26 2009, 12:37 PM
Go to the top of the page
 
+Quote Post
   
The Law G14
post Sep 26 2009, 12:40 PM
Post #14


Scripter FTW
Group Icon

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




Nope, you weren't a bother at all, I like helping out smile.gif

If you have any more questions please ask biggrin.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
   
carnie_natas
post Oct 2 2009, 02:29 PM
Post #15


~Noctem~Shinai~
Group Icon

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




QUOTE (The Law G14 @ Sep 26 2009, 01:40 PM) *
Nope, you weren't a bother at all, I like helping out smile.gif

If you have any more questions please ask biggrin.gif



i have a question law,why are you such a pimp????? (lol)

law has some of the best scripts ive seen thus far,no lie....maybe not some of the most complex,but some of the most needed options for a game,law provides to us,and no one else does it this good


__________________________
Light one up!
You can run.....But you'll only die tired!
Go to the top of the page
 
+Quote Post
   
The Law G14
post Oct 2 2009, 03:39 PM
Post #16


Scripter FTW
Group Icon

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




Woah, thanks alot man, your comments mean a bunch to me smile.gif

Best scripts....? That has made my day biggrin.gif

If you have any questions about the script, please dont hesitate to ask biggrin.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
   
BlackMask
post Oct 3 2009, 01:46 PM
Post #17


Level 27
Group Icon

Group: Revolutionary
Posts: 621
Type: Mapper
RM Skill: Skilled




Why is it when i ever i end up needing a script you've already made it!!!!
you are an Uber Pimp and I wish you great luck in you life
-Edit this script owns so much


__________________________
My Dragons ~ Dragon Adopters









Go to the top of the page
 
+Quote Post
   
The Law G14
post Oct 3 2009, 05:13 PM
Post #18


Scripter FTW
Group Icon

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




Wow, you're too kind man, thank you very much!

Please tell me if you find any errors 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
   
carnie_natas
post Oct 3 2009, 08:34 PM
Post #19


~Noctem~Shinai~
Group Icon

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




of course it does,all of law's scripts shine!


__________________________
Light one up!
You can run.....But you'll only die tired!
Go to the top of the page
 
+Quote Post
   
BrokenCrowe
post Oct 4 2009, 07:53 PM
Post #20


Level 4
Group Icon

Group: Member
Posts: 56
Type: Developer
RM Skill: Intermediate




Sorry if i sound "bad"

but your icon script isn't compatible with the Minkoff's battle system

the script/ demo thingie can be found here:
http://www.rpgrevolution.com/forums/index....showtopic=30753
xD

Thanks,
Brokencrowe


__________________________

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: 25th May 2013 - 05:11 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker