I found out that the Warp Gate Button is kinda "hardcoded" into the 'Warp Gate - Train (WarpGate)' ability. You can give this ability to any unit and don't even have to edit the Command Card. If you do that, you will be able to select this unit with the hotkey 'W'.
Is this true? It is not possible to copy/duplicate it? Because I need it for at least 2 different units.
Quote:
It's really easy to do (once you know how, of course!) via triggers... You'll simply have to hide the frame of the UI displaying the warp gates icon. In order to do this:
set a Map Initialization trigger with the action "UI - Show/Hide UI Frame"
set the action parameters like this: "Hide Pylon Button for (All players)"
The Pylon Button is the part where warp gates (and ONLY warp gates) are displayed when you own at least one). It works 100%, I used it in my Sand Worm Survival map to hide the super warp gates respawning killed units... :)
Not looking to hide it, just looking to change the button to locate at least 2 different units
Quote:
For the description, search your text editor. It should be somewhere in there.
For the icon, you can have a look at the assets.txt file and eventually import an override file.
Where is assets.txt file? And how to "import an override file"?
Unfortunately, it is indeed hardcorded. The workaround I can recommend is having a dummy invisible hero unit that shows a hero icon (like raynor does in the sp campaign), and then set a trigger that when said unit is selected, it will select all the buildings you want.
necro bumb with solution:
all you need to do is to copy past this UI-Code in a new frame and then hookup the button and use the "button pressed" event
the last part changes the icon for the idle worker button (from drone to queen, i have used the queen wireframe image, resized to 40x40 and added to drone button)
I wanted to create a structure that have Warp Gate Like abilities, namely, barrack with Orbital Strike.
I use Info - Cooldown - Time Use instead of Info - Time.
Then I linked all CDs with Info - Cooldown - Link.
I am stuck on 1 problem, how to create that Button that is located on the bottom right of screen, right above the command slots?
@dragooness: Go what button? I don't play protoss much, the only one I can remember is the cancel button.
@SoulFilcher: Go
The Select Warp Gate button, that will count the number of Warp Gate not in CD and display them.
According to some.
Is this true? It is not possible to copy/duplicate it? Because I need it for at least 2 different units.
Not looking to hide it, just looking to change the button to locate at least 2 different units
Where is assets.txt file? And how to "import an override file"?
Guess it is "hardcoded" into the "Ability > Warp Train".
Having 2 different Warp Train ability on different unit/structure does not create 2 different Select All Warp Gate button.
Anyway to duplicate/alter the button?
Unfortunately, it is indeed hardcorded. The workaround I can recommend is having a dummy invisible hero unit that shows a hero icon (like raynor does in the sp campaign), and then set a trigger that when said unit is selected, it will select all the buildings you want.
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
necro bumb with solution:
all you need to do is to copy past this UI-Code in a new frame and then hookup the button and use the "button pressed" event
the last part changes the icon for the idle worker button (from drone to queen, i have used the queen wireframe image, resized to 40x40 and added to drone button)
that's how it looks like: