Explain in more detail: I have my custom health and energy bars made through layouts, but I want also display the number of passengers in transport, as it done in a standard bars for bunkers or medivacs . Can it be done for custom bars?
Is it possible to get number of workers that gather specified unit with resource?
There is a number of harvesters u can see when selecting mineral or geyser during game, i just need to get this number.
My problem is half solved now, but solution is very strange. Ill tell u step by step what i found.
At first i tried to understand: what data type is my attribute and what function takes my attribute from lobby. Attribute is string type and function is: lv_string1 = GameAttributePlayerValue("1", PlayerGroupLoopCurrent());
Then i did discovery: this function only works during offline launching in my map. I did many tests but they have not solved the problem. And then i found tip in dependencies menu:"-The optional local file will be used within the editor and during single player testing in game. This will override the Battle.net file." What can be different in my files and battle.net files? My mod used Liberty(Mod), Liberty(Campaign) and Liberty Story(Campaign) standard mods before. I added Liberty Multi(Mod) and GameAttributePlayerValue function started to working in battle.net.
The problem now is that i receive message when entering dependencies menu: "Conflict standard dependencies exist: Liberty Multi(Mod) can`t be used together with Liberty Story (Campaign). Significant data problems may occur. Use dependencies anyway?"
Question is: what damage can my map has from this dependencies conflict? may be someone can find solution without using Liberty Multi (Mod)?
The problem is switch always falls to Default. No matter what i select in lobby - it always show me Names Default messages. I tried to use if-then else, use numbers instead of Picked Player, check or not check "Locked When Public" option - nothing changes.
I just want to hook up one attribute and cant do it =(. Help please.
Has anyone posted on the SC2 forums about this? Would they even change something like this? The whole 4th race idea is kind of thrown out the window if you replace one of them. I guess you could just make a custom "lobby" when the game starts where everyone chooses races.
I did like this. And even did tons of works in layouts and triggers with interface. I just thought that do it using races will be better.
Post my question about races on US forum please. May be its just bug and blizz dont know about it. Im on EU.
Is there a way to change text styles in tooltips? I only found way to change command card tooltip, but there is also too much different tooltip frames in UI.
@Dzuke911: Go
It might not be an element that you can hide. Try moving it offscreen instead. Something like move to bottom with a y offset of -200. If that doesn't work, I don't know.
But experience bar is still showing on non heroic units. Where is mistake? It is showing even if i just create trigger: "Any unit is selected->hide ExpBar", without any conditions.
0
Explain in more detail: I have my custom health and energy bars made through layouts, but I want also display the number of passengers in transport, as it done in a standard bars for bunkers or medivacs . Can it be done for custom bars?
0
what frame should i use to display custom transport bar for medivacs or bunkers?
0
Is it possible to get number of workers that gather specified unit with resource?
There is a number of harvesters u can see when selecting mineral or geyser during game, i just need to get this number.
0
My problem is half solved now, but solution is very strange. Ill tell u step by step what i found.
At first i tried to understand: what data type is my attribute and what function takes my attribute from lobby. Attribute is string type and function is: lv_string1 = GameAttributePlayerValue("1", PlayerGroupLoopCurrent());
Then i did discovery: this function only works during offline launching in my map. I did many tests but they have not solved the problem. And then i found tip in dependencies menu:"-The optional local file will be used within the editor and during single player testing in game. This will override the Battle.net file." What can be different in my files and battle.net files? My mod used Liberty(Mod), Liberty(Campaign) and Liberty Story(Campaign) standard mods before. I added Liberty Multi(Mod) and GameAttributePlayerValue function started to working in battle.net.
The problem now is that i receive message when entering dependencies menu: "Conflict standard dependencies exist: Liberty Multi(Mod) can`t be used together with Liberty Story (Campaign). Significant data problems may occur. Use dependencies anyway?"
Question is: what damage can my map has from this dependencies conflict? may be someone can find solution without using Liberty Multi (Mod)?
0
I set up my attribute like this:
After that i could select Random/Alliance/Horde in lobby
Than i created simple trigger running on map initialization (messages are for testing purposes, Players = players group with all active players):
The problem is switch always falls to Default. No matter what i select in lobby - it always show me Names Default messages. I tried to use if-then else, use numbers instead of Picked Player, check or not check "Locked When Public" option - nothing changes.
I just want to hook up one attribute and cant do it =(. Help please.
0
I did like this. And even did tons of works in layouts and triggers with interface. I just thought that do it using races will be better.
Post my question about races on US forum please. May be its just bug and blizz dont know about it. Im on EU.
0
I know i can create new race in data editor. But how can i make it selectable in game lobby for UI changing purposes?
0
I have simply layout with custom image
How can i get access to "BlackBackground1" to change its texture via triggers?
0
Thank you Ahli634!!! It is exactly what i need.
Also i can replace all fonts using this method, and don`t need to dig into layouts to do this.
0
Is there a way to change text styles in tooltips? I only found way to change command card tooltip, but there is also too much different tooltip frames in UI.
0
Bump. Still need help!!!
0
Thx, now it works almost fine.
0
I created two triggers:
ExpBar is global dialog item variable.
But experience bar is still showing on non heroic units. Where is mistake? It is showing even if i just create trigger: "Any unit is selected->hide ExpBar", without any conditions.
0
Ok, i can do that, but how to hookup experience bar?
0
Veterancy with hidden flag does not change anything in the unit`s interface.