| 07-04-2009, 08:52 PM | #1 |
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)... |
| 07-04-2009, 09:02 PM | #2 |
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 |
I'm not sure that's gonna work. |
| 07-04-2009, 11:37 PM | #4 |
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 |
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 |
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 |
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, 08:57 AM | #9 |
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 | |
Quote:
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 |
Nawh that's okay, I'll just adjust the UI. Lower it a bit and such.. |
| 07-05-2009, 03:02 PM | #12 |
| 07-05-2009, 03:06 PM | #13 | |
Quote:
The correct path is: "UI\Console\Human\HumanUITile04.blp" :) |
| 07-05-2009, 03:16 PM | #14 |
That didn't work either... |
| 07-05-2009, 03:57 PM | #15 |
I think you must resize the texture to 512² and not 64*512. |
