HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Interface Crop Issue

07-04-2009, 08:52 PM#1
Archian
I was testing the UI I'm making. When I noticed this error (?)

The top of the UI is cropped out. I've made a red line to show this.

Is that normal? Havn't really made that many UI's before.. Is there just a damn limit like that? Or is there a way to fix this?

The UI was based on the Human UI (if that's any help)...
Attached Images
File type: jpgInterfacewip.jpg (292.5 KB)
07-04-2009, 09:02 PM#2
EvilNoodle
Umm just try resize it? :S

edit: I'll doubt you'll find anything in the gameplay constants or anywhere else so...
07-04-2009, 11:30 PM#3
Archian
I'm not sure that's gonna work.
07-04-2009, 11:37 PM#4
Deathcom3s
I think there may be a limit on height, though i've never tried it myself. Try comparing it the normal human UI and see if it cuts off at the top of the bricks.
07-04-2009, 11:47 PM#5
Callahan
Well the UI is a model (a bunch of planes) so your texture must goes outside the UW.
Either resize the texture or modify UI's model wich I don't know if it's possible.
07-04-2009, 11:51 PM#6
Archian
Really? Just resize it?

In that case; is there any specific dimensions like there is with textures e.g. 256x256 - 512x512 - 1024X1024 etc.?

(I don't have Warcraft with me right here)
07-04-2009, 11:59 PM#7
Michael Peppers
HumanUITile01.blp, HumanUITile02.blp and HumanUITile03.blp are 512x512
HumanUITile03-InventoryCover.blp is 256x512 (the one that hides the inventory)
HumanUITile04.blp is 64x512 (the rightmost little part of the UI)

This is what I've seen... however Callahan is right, the model indeed ends there... probably stretching it a bit and modifying the UVmap accordingly should work

EDIT: Bad news... the Interface extent seems hardcoded in the game, I modified the model in order to make it taller, but it works only for the inventory-cover part... because it doesn't reach that limit normally.

But... I found a workaround... it's a bit silly and you'd have to modify your texture in order to use that (and you'd have to increase its quality in order to be shown well), so I won't tell it unless the others don't find another way to do that...
07-05-2009, 01:15 AM#8
Callahan
Quote:
Originally Posted by Archian
Really? Just resize it?

In that case; is there any specific dimensions like there is with textures e.g. 256x256 - 512x512 - 1024X1024 etc.?

(I don't have Warcraft with me right here)
Not resize the whole resolution but only that part that goes out of the UW.
Just make that part fit in the UW.
The UW is something like this :

Zoom (requires log in)
Attached Images
File type: jpgUIUWpic.jpg (39.6 KB)
07-05-2009, 08:57 AM#9
Archian
Okay, I see. That's wired, though. In the picture you posted, the limit seems to be higher? Try compare it to the image I posted, and you'll notice something is off.. I didn't raise the UI that much.. Hmm...
07-05-2009, 10:38 AM#10
Michael Peppers
Quote:
Originally Posted by Michael Peppers
EDIT: Bad news... the Interface extent seems hardcoded in the game, I modified the model in order to make it taller, but it works only for the inventory-cover part... because it doesn't reach that limit normally.

That part of the model won't be shown even if it is mapped correctly...

Also, I suppose that your UI fits that UVmap, more or less.

So I don't think it'll work but that's worth a try anyway.

Care to see my solution? I'll post a testmap when I can.
07-05-2009, 11:52 AM#11
Archian
Nawh that's okay, I'll just adjust the UI. Lower it a bit and such..
07-05-2009, 03:02 PM#12
Archian
Okay, so I lowered the UI a little and now they show up just fine.
Except for a black line that suddenly appear -_-*

Another thing, though. Why can't I get this part to work? (outlined below)
Click image for larger version

Name:	uitest.jpg
Views:	96
Size:	390.1 KB
ID:	44134

I used the path UI\Console\Human\HumanUITile4.blp
Attached Images
File type: jpguitest.jpg (390.1 KB)
07-05-2009, 03:06 PM#13
Michael Peppers
Quote:
Originally Posted by Archian
I used the path UI\Console\Human\HumanUITile4.blp

The correct path is: "UI\Console\Human\HumanUITile04.blp" :)
07-05-2009, 03:16 PM#14
Archian
That didn't work either...
07-05-2009, 03:57 PM#15
Callahan
I think you must resize the texture to 512² and not 64*512.