Change which race interface is used with triggers?

Zerox

Ultra Cool Member
Reaction score
28
Hey guys. I just had an idea that I have no idea if its possible or not. But is it possible to change what racial UI you can get through triggers? I'll explain my situation.

I'm designing a UI for a map where there are 3 factions of characters. But only 2 teams. So the 2 teams can be composed of mixed factions. But what I would like to do is I would like to design a UI for each faction separately.

In the begining of the map there are 3 taverns each featuring a hero for a different faction. I would like to make it so that when a player chooses a hero of a specific faction it changes their UI interface to that faction.

So for example:

Players start out with the Human UI defaultly just as the map starts nothing different there. But upon choosing their hero it changes the UI to that of another race or in this case faction.

So say the player chooses a hero from the demon faction it will then give them the orc interface/UI which was reskinned to fit the demons.

I can try to explain more if necessary. But is this even possible? I think it would have to be done through something like changing the player properties through triggers so they aren't static like they are in the WE's defaults.

I'll give +rep to anyone who can help me.

Thanks,

Zerox:thup:
 

Komaqtion

You can change this now in User CP.
Reaction score
469
No... Unfortunately it's not :(

You'll either have to go with an "Allround" UI, stick with the default :(
 

Zerox

Ultra Cool Member
Reaction score
28
So its not doable easily then I guess. WC3: The game of many work arounds.

I'm sure its possible. It may just not have been figured out yet.
 

Never_Quit

New Member
Reaction score
16
surely there is some kind of jass that you could post at the heading of the map to prep the ui for change using tga/blp imports...

perhaps somehow assign each player's UI paths to a particular private variable then change and update ingame :rolleyes:
 

Romek

Super Moderator
Reaction score
964
There is no way of replacing the UI textures in-game.
There's a difficult workaround for reskinning units, which involves the War Club ability; though nothing of the sort for any other textures.

> surely there is some kind of jass that you could post at the heading of the map to prep the ui for change using tga/blp imports...
JASS cannot solve world hunger.
 

Zerox

Ultra Cool Member
Reaction score
28
There isn't a "discovered" way to do so. What if I added a stand alternate with different textures used for duplicated geosets that only showed when playing the stand alternate animation?

This sounds reasonable to me. Only issue is finding a way to order the UI model to use the stand alternate animation. Hmm...

Any ideas on this or on how to change the race directly? Or maybe even just a method for changing the model used for the UI?
 

Romek

Super Moderator
Reaction score
964
> There isn't a "discovered" way to do so.
There isn't a "discovered" way of teleporting from England to China either.
I assume we're talking about things that are currently possible, at this current time.

> This sounds reasonable to me. Only issue is finding a way to order the UI model to use the stand alternate animation. Hmm...
It's not possible to modify, change or interact with the UI model in any way.
 

Zerox

Ultra Cool Member
Reaction score
28
Its unlikely. But unexplored territory is always unexplored. Whats this method you mentioned for the War Club ability for units?

Maybe I can use that to change the paths for a dummy unit that is using the interface model and thereby possibly changing the interface. I know it may be impossible but I don't know what the method is but maybe it can help me out.
 

Never_Quit

New Member
Reaction score
16
from what I understand UI is loaded at the map load screen. therefore, any changes that would have to be made would have to be done before the game starts
 

Zerox

Ultra Cool Member
Reaction score
28
from what I understand UI is loaded at the map load screen. therefore, any changes that would have to be made would have to be done before the game starts

I know there are those triggers that let you "pre-load" stuff. But I never saw a need or reason to use them so I don't know if they could do anything in this situation. Do you think they could do anything?
 

Joccaren

You can change this now in User CP.
Reaction score
54
Not sure if this is possible but create a 'skin' over the parts of the UI you want changed using an image. I know it is possible to display an image over the whole screen, if you can make it cover just part of the screen or have the part that you don't want to cover anything transparent, you could do a weak workaround.

Pros: Basically gets what you want done done.
Cons: Doesn't display the pressing of buttons, Doesn't show green border when action is being used.
 

Romek

Super Moderator
Reaction score
964
You won't be edit to edit the model in-game, trust me.
You won't be able to remove the model either to use a dynamic one.

> if you can make it cover just part of the screen
Fade Filters? They automatically cover only part of the screen. Unfortunately, it's the part without UI.
 

Viikuna

No Marlo no game.
Reaction score
265
You can see through alphaed UI texture right?

You could just use some transparent skeleton UI, which has all the basic stuff like those buttons and all, and then do some custom unit models like in this DGUI system ( link ) and periodicly move them behind your UI.

It just requires you to use some camera system thingy ( you need to move that UI unit to cameras position when camera is moved ), which kinda sucks, though.
 

Zerox

Ultra Cool Member
Reaction score
28
You can see through alphaed UI texture right?

You could just use some transparent skeleton UI, which has all the basic stuff like those buttons and all, and then do some custom unit models like in this DGUI system ( link ) and periodicly move them behind your UI.

It just requires you to use some camera system thingy ( you need to move that UI unit to cameras position when camera is moved ), which kinda sucks, though.

Interesting you may be onto something there. I'll have to give it a try thanks.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top