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  
Reply to this topicStart new topic
> Battle Skill/Item Resize, A smaller and better looking way of skill- and itemdisplay in battle.
Neosky5k
post Sep 26 2009, 02:38 PM
Post #21


Level 2
Group Icon

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




Oh MY god!!! thank you so freakin MUCH!!! You have no clue how that thing was bothering me. It was alll up in my way, lol.

now If you could make a quick addon that shrinks the help window a little bit, lol. Mines at the top of the screen, from one end to the other. I don't think it needs to be that wide, lol. So I was wondering if you could just make an addon to to allow me to resize, and maybe move?

Also, I saw you did a change the background script, is there a way to do that iwth Battle menus too? Like make the item and skill menu have an image background or something like that??
Go to the top of the page
 
+Quote Post
   
SojaBird
post Sep 27 2009, 02:44 AM
Post #22


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Hey,

Oke so for the battle help thing...here it comes
CODE
X, Y, W, H = 0, 0, 544, 56

class Window_Battle_Help < Window_Base
  
  def initialize(x, y, width)
    super(X, Y, W, H)
  end
  
  def set_text(text, align = 0)
    if text != @text or align != @align
      self.contents.clear
      self.contents.font.color = normal_color
      self.contents.draw_text(4, 0, self.width - 40, WLH, text, align)
      @text = text
      @align = align
    end
  end
  
end


class Scene_Battle < Scene_Base

def start_item_selection
    a = @actors[@actor_index]
    #hw = a.width * @actors.size
    #@help_window = Window_Battle_Help.new(@actors[0].vx, a.y, hw)
    @help_window = Window_Battle_Help.new(0, a.y, Graphics.width)
    @help_window.y = Graphics.height - a.height - @help_window.height
    x, y, w, h = a.vx, a.vy, a.width, a.height
    @item_window = Window_Item.new(x, y, w, h, 1)
    @item_window.help_window = @help_window
    a.visible = false
  end

end


Hope that works, didn't tried it myself.


Greatzz,
SojaBird.

ps. For the background thing, check that topic wink.gif


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
Neosky5k
post Sep 27 2009, 02:12 PM
Post #23


Level 2
Group Icon

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




this is going to sound so noobish, which is weird... But where should I place this? I set it in this script and at the end, and didn't work, then by itself and nothing... sad.gif

I figured out I had to change the beastirary's help window then found the real one under it, but I can't change it, lol. Oh well.... Maybe it's the battle system...
Go to the top of the page
 
+Quote Post
   
Mascarpone
post Sep 28 2009, 10:29 PM
Post #24


Level 1
Group Icon

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




By the way there's no text resizing so any skill with a long name gets crammed up into the MP cost or the skill adjacent to it.

might want to enable text resizing or make a way to have 1 column of skill instead of 2 who knows.
Go to the top of the page
 
+Quote Post
   
SojaBird
post Apr 18 2010, 02:09 AM
Post #25


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Whoops has been a long time and my email-service droped.

Anyways, so...
I might even redo this script...though I'm not sure if it's worth the effort.
Perhaps I'd better make a tutorial on how to find and change parts of scripts to make it useable for yourself.
Keep an eye on the Scriptology vids on youtube [link] to see if it's done allready.


Greatzz,
SojaBird


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
hnmitch
post May 5 2011, 03:15 PM
Post #26


Level 1
Group Icon

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




Sorry I know this post is old but I wanted to use this script with the abs so I tinkered around with it until I figured it out. All I ended up doing was changing:

Spoiler
CODE
@skill_window = Window_Skill.new(0, 416 - 128, 416, 128, @active_battler)


TO

CODE
@skill_window = Window_Skill.new(0, 416 - 128, 416, 128, @commander)



Hope this helps some people.

This post has been edited by hnmitch: May 5 2011, 03:16 PM
Go to the top of the page
 
+Quote Post
   
omegaskye
post May 10 2011, 07:20 PM
Post #27



Group Icon

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




Dude, it was a necro post, but you really helped me out. I was having the same problem. I am having another one though.

I'm using Tankentai + ABS, and the ABS gauges superimpose themselves over the small item window. Aside from that, it works perfectly.

Any ideas, or is this the wrong place to ask?
Go to the top of the page
 
+Quote Post
   

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 09:59 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker