• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Another Custom UI Problem

Status
Not open for further replies.
Level 16
Joined
Mar 27, 2011
Messages
1,349
This issue is looking at the inventory of shops. When your hero is next to a shop, you can see
the hero's items in the shop's inventory. Like this:

attachment.php


There are units that all players have control of. You can use other player's units with shared
control on to shop for you. So when the hero moves away, the turrets next to command centre
(as shown on picture) are then shopping for all players and the inventory buttons are greened out
as shown below (which means a missing texture I think).

attachment.php


So I haven't changed one of the "Game Interface" images, and therefore no image is disaplayed,
replacing the inventory. Does anyone know what line in the "Game - Interface" I need to change
to fix the green icon problem?
 

Attachments

  • Normal Inventory.jpg
    Normal Inventory.jpg
    79.4 KB · Views: 382
  • Broken Inventory.jpg
    Broken Inventory.jpg
    79.4 KB · Views: 483
Level 16
Joined
Mar 27, 2011
Messages
1,349
I'm not asking how to import DISBTN a icon to fix a green icon. This is not about icons. I've been on the
forums for a while, I get it. People asking about green icons for their spells and items is annoying. This is
different...

Btw, I have downloaded the slot filler texture. It's path: war3mapImported\Industrial-inventory-slotfiller.blp
I also used your path as mentioned within the import manager with no success.

This is an image of the "Game - Interface"

attachment.php

I don't think I've imported it wrong. So why is it showing green?

Note: It only appears green when another player's unit shops for you (when you give shared units). When there
is nobody at the shop, it looks fine. When your own hero is at the shop, it also looks fine. This shop sells units
as well as items, and therefore any unit can purchase the units from the shop (it doesn't have to be a hero).


Edit: When you look at a shop, the hero's items appear in the shop's inventory for display purposes. So, when
a unit (with no items) browses a shop, the shop tries to display the unit's items in the shop's inventory. This
would create an error (unknown icon - green icon) causing the display problem? Seems logical, but how do I fix
that?!
 

Attachments

  • Inventory.jpg
    Inventory.jpg
    214.8 KB · Views: 349
Level 16
Joined
Mar 27, 2011
Messages
1,349
Hmm, I removed the slot filler and replaced it with it's default texture.

The problem is gone now, and the default texture doesn't look too bad.

attachment.php


The default texture suits the custom UI so I'm happy to leave it.
Although I don't know what was wrong with the custom slotfiller texture.

Thanks for the help, +rep
 

Attachments

  • Fixed Inventory.jpg
    Fixed Inventory.jpg
    78.6 KB · Views: 347
Status
Not open for further replies.
Top