Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Need help with "HUD", Need Help
gtrviper143
post Sep 17 2011, 12:42 PM
Post #1


Level 2
Group Icon

Group: Member
Posts: 20
Type: Artist
RM Skill: Beginner




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.
Attached File(s)
Attached File  snap_shot.jpg ( 125.57K ) Number of downloads: 14
 
Go to the top of the page
 
+Quote Post
   
Titanhex
post Sep 17 2011, 02:26 PM
Post #2


Guru of Water
Group Icon

Group: Revolutionary
Posts: 1,096
Type: None
RM Skill: Masterful
Rev Points: 5




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


__________________________
Go to the top of the page
 
+Quote Post
   
gtrviper143
post Sep 17 2011, 06:55 PM
Post #3


Level 2
Group Icon

Group: Member
Posts: 20
Type: Artist
RM Skill: Beginner




So I would do the same for the "class Requiem_HUD1"??
Go to the top of the page
 
+Quote Post
   
Titanhex
post Sep 18 2011, 02:09 AM
Post #4


Guru of Water
Group Icon

Group: Revolutionary
Posts: 1,096
Type: None
RM Skill: Masterful
Rev Points: 5




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 post has been edited by Titanhex: Sep 18 2011, 02:09 AM


__________________________
Go to the top of the page
 
+Quote Post
   

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: 17th June 2013 - 09:59 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker