Help - Search - Members - Calendar
Full Version: Need help with "HUD"
RPG RPG Revolution Forums > Scripting > Script Development and Support
gtrviper143
I am using Requiem HUD and I would like to learn how to move the ITem text box and the item name over more towards the middle because I am also using Jet10985 Day/Night system and where the text that says [ mon. time] the two boxs are clashing with each other. I have attached a photo to show what i am trying to say. Thanks for any help.
Titanhex
Open up your script editor. Go down to Vampyr HUD. Jump to the initialize for the "Skills Base" and "Items Base"

In there you'll see a self.x = and self.y =

At the end of the line, put a + or - # enough pixels to where you want it (window resolution is like 512x446)

Here is an example of what I did:

def initialize(viewport)
super(viewport)
@bg = Cache.system("Skills Base")
self.x = Graphics.width-@bg.width-90
self.y = Graphics.height-@bg.height-(Font_Size/2)-70
self.bitmap = Bitmap.new(@bg.width, @bg.height+(Font_Size/2))
self.bitmap.font.name = Font_Name
self.bitmap.font.size = Font_Size
refresh
end
gtrviper143
So I would do the same for the "class Requiem_HUD1"??
Titanhex
Whatever one displays the HUD is the one you want to adjust the x and y of, specifically for the HUDs you want moved.

I use SBABS instead of Requim. But they have similarities, especially in the HUD. So you should be able to use what I've said as a guideline to do what you need to do.

I imagine the class Requiem_HUD1 is similar to the class Vampyr_HUD1, without going into too much detail. It should be the same process.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.