Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > General Discussion > Help ! ? ! ?
User Name
Password

Reply
 
Thread Tools Display Modes
Old 11-08-2002, 04:29 PM   #1
DJPrez
A Ghoul
 
Join Date: Sep 2002
Posts: 15
Default /viewport function

I would have loved to have found out earlier how to use this function. When I looked at the Quartz UI I could not imagine how people used it because you couldn't see the ground!

Can someone please explain to me how to use this function?

I have downloaded Xym_UI_30 mod and it states the viewing area is 1000X750 on a res of 1280X1024.

How do I enter this to get it to work?

/viewport # # #### ###?

Thank you!
DJPrez is offline   Reply With Quote
Old 11-08-2002, 05:28 PM   #2
Cairenn
Credendo Vides
 
Cairenn's Avatar
 
Join Date: Jul 2002
Posts: 3,866
Interface Author - Click to view interfaces
Default Re: /viewport function

Quote:
Originally posted by DJPrez
I would have loved to have found out earlier how to use this function. When I looked at the Quartz UI I could not imagine how people used it because you couldn't see the ground!

Can someone please explain to me how to use this function?

I have downloaded Xym_UI_30 mod and it states the viewing area is 1000X750 on a res of 1280X1024.

How do I enter this to get it to work?

/viewport # # #### ###?

Thank you!


Okay, here's the low down

When you type the /viewport command, it tells you it wants 4 numbers: x; y; w and h.

x = where you want the viewing area to start from the left of the screen
y = where you want the viewing area to start from the top of the screen

So, 0,0 would mean that it starts in the very top farthest left corner of your screen.

w = how wide you want the viewing area to be from x
h = how high you want the viewing area to be from y

So, 1280X1024 means that your viewing area would be 1280 pixels wide and 1024 pixels high

Put it together, and you get:
/viewport 0 0 1280 1024

This is telling your computer to start drawing the viewing area at the top left corner and to make it 1280 wide and 1024 high.

If you put in a view port of
/viewport 0 0 1000 750

it would be telling your computer that it wants it to start drawing the viewing area at the top left corner, but to only make it 1000 pixels wide and 750 pixels high. This would let you put stuff down the right hand side of the screen and across the bottom, without them hiding the viewing area at all.

Now, say you wanted to put some stuff down the left hand side of the screen, and across the top, but again, you don't want to have it hide stuff on the screen. Let's say that the items you are putting down the right hand side are 20 pixels wide, and the ones across the top are 24 pixels high. What you would type is:

/viewport 20 24

That tells it to move over 20 pixels and down 24.

But you still need the last two numbers, right?

You figure that out by taking the width and height of your screen and subtracting the two amounts above.

So, if you have a viewing area that is 1280 wide by 1024 high, yoou would go:

1280 wide minus 20 (the amount you are moving it over) = 1260
and
1024 high minus 24 (the amount you have moved it down) = 1000

Which means that your complete command line would be

/viewport 20 24 1260 1000

Make sense?
__________________
"My friends, love is better than anger. Hope is better than fear. Optimism is better than despair. So let us
be loving, hopeful and optimistic. And we’ll change the world."


Co-Founder & Admin: MMOUI
FaceBook Profile, Page, Group
Avatar Image by RafM

Last edited by Cairenn : 11-08-2002 at 05:35 PM.
Cairenn is offline   Reply With Quote
Old 11-09-2002, 10:30 AM   #3
DJPrez
A Ghoul
 
Join Date: Sep 2002
Posts: 15
Default

That sounds great!! If it would have worked for me

I had tried that and I thought I was doing something wrong.

When the UI indicated that it had a viewing area 1000X750 I input this:

/viewport 280 294 1000 750

1280X1024 res - 1000X750 viewing

= 280 & 294

Did I do it correctly?

It didn't line up at all. I tried all kinds of combinations and it still didn't work.

I would love to try all the other UI's out there now that I passed up because I didn't like the way they fit on my screen, but I just can't seem to grasp what to do.

Maybe an entire catergory could be started for newbies with /viewport coordinates for each of the UI's.?.?.?

I hope I'm not the only one out there that didn't know about this /viewport


Thanks so much for helping me out!! I greatly appreciate it.
DJPrez is offline   Reply With Quote
Old 11-09-2002, 10:46 AM   #4
Cairenn
Credendo Vides
 
Cairenn's Avatar
 
Join Date: Jul 2002
Posts: 3,866
Interface Author - Click to view interfaces
Default

Quote:
Originally posted by DJPrez
That sounds great!! If it would have worked for me

I had tried that and I thought I was doing something wrong.

When the UI indicated that it had a viewing area 1000X750 I input this:

/viewport 280 294 1000 750

1280X1024 res - 1000X750 viewing

= 280 & 294

Did I do it correctly?


You did do it correctly ... sort of.

What you did, was tell it to start 280 pixels in from the left, and 294 pixels down from the top. That would mean that you would be lining everything up along the left hand side of your screen, and across the top.

Most folks that tell you to use a viewport, will either give you all 4 coordinates, or only give you 2. If they only give you 2, the chances are that they intended their UI to run down the right hand side and across the bottom.

What you needed to do was type:

/viewport 0 0 1000 750

While you didn't do anything *wrong* (in fact, you had it completely right, if you wanted it down the left and across the top), you were setting it to run exactly opposite to the intention of the creator.
Cairenn is offline   Reply With Quote
Old 11-09-2002, 10:48 AM   #5
wildtiger
A Ghoul
 
Join Date: Aug 2002
Server: E'CI
Posts: 19
Default

i use that skin for my chanter and i used the ini file that came with it
wildtiger is offline   Reply With Quote
Old 11-09-2002, 10:59 AM   #6
Cairenn
Credendo Vides
 
Cairenn's Avatar
 
Join Date: Jul 2002
Posts: 3,866
Interface Author - Click to view interfaces
Default

Quote:
Originally posted by wildtiger
i use that skin for my chanter and i used the ini file that came with it

It includes the ini file? Well that's easy then.

All you have to do is rename the UI_XXX_YY.ini file that came with it (where XXX = your character name, and YY = your server number) and copy it into your main EQ directory, replacing the one that is already there.

Not only will it automatically set up your /viewport, but it'll also place all the pieces of the UI in the same place that the Mod author shows them in, on their screenshot.
Cairenn is offline   Reply With Quote
Old 11-09-2002, 01:55 PM   #7
DJPrez
A Ghoul
 
Join Date: Sep 2002
Posts: 15
Default

ok kewl I did replace the ini file with the one tat came with the UI. I thought I had to do the /viewport thingy.

So, with that said I am going to try the Quartz UI now. But I also like Verts stuff too,, he doesn't tell you what the values are for viewport,,, does anyone know? Or is there a place where most of these questions about coordinates have been answered?


Thanks again.

Last edited by DJPrez : 11-09-2002 at 02:33 PM.
DJPrez is offline   Reply With Quote
Old 11-09-2002, 02:41 PM   #8
Cairenn
Credendo Vides
 
Cairenn's Avatar
 
Join Date: Jul 2002
Posts: 3,866
Interface Author - Click to view interfaces
Default

As with most of the mods ... if you know who did it, ask them. Usually the fastest way to get a correct response specific to that particular skin. G'luck.
Cairenn is offline   Reply With Quote
Reply




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 05:13 AM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI