I'm looking to hide the upgrade levels on the icons of my weapons, life armor and shield armor. I'm dreadful at customizing the game UI and I was hoping someone could help me by briefly explaining how I should make this happen.
So, anyone that can help me out with removing the black frame used for the upgrade levels on the life/weapon icons? It's not the number of the upgrade or the icon that I mind, its the black frame which holds the upgrade number (on the bottom right of the icon). Is there a way to remove that frame around the icons from my map?
You should be able to remove it either using triggers to link to that UI element or by creating a UI modification file for that particular element.
Specifically I think "EquipmentIcon" template is responsible for all the weapon and armor icons and their looks. At least for heroes this should be the case.
Actually the Upgrade number frame is a part of the whole background image of the equipment stuff, you need to modify and re-import the dds file directly to Assets\Textures\btn-border-equipment.dds
by "modify and re-import" you mean 'remove'? Given I just want the borders gone. Can someone give me a brief breakdown on how to achieve this? I'm not certain how to reach this file within the map editor.
Open up the console window and type in "browse", without the quotation marks. Search for the file name ( btn-border-equipment in this case) -> right click -> export file. Open up an image editor that can modify dds files (such as paint.net ) remove the little square. Open import editor, import modified file of the same name to the location, Assets\Textures and save. Alternatively you can use the ui editor to set the visible Val to false for the border.
It doesnt work, neither does trying to "offset" it offscreen. Is there something I'm not doing right? I'd love some more help on this.
Edit: changing the icons via import does potentially work, but would still leave the "upgrade level numbers", which goes by the name "LevelLabel" in the UI-editor under EquipmentIcons, so I would prefer to learn how to actually hide the frame and label, instead of just changing the image
You directing it to the wrong place <Frame type='Frame' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneUnit/EquipmentPanel' file='GameUI'> that gives you the unit info panel equipment panel (icon label and background frame) just reference one more deep into equipment icon label or border.
Apparentely I need some proper handholding. I feel like I'm close, but I can't get it quite right. It keeps saying it can't find the thing I'm linking to, which is probably to me not getting the path quite right.
Any chance you could give me the paths for both the border and the label? I think I'm missing one step in between. This is my current code.
Alas, While i've been giving you advice based upon the theory i can see from paper, in actuality it doesn't work. What i've discovered is that within unitinfopane panel there are actually references to 6 different equipment icon templates, so that when you try to reference them within the info pane it results in errors due to not knowing which one is being referred to. So unfortunately you cannot modify it (believe me i tried hiding it, moving it, etc).
Edit: I also crashed the game several times trying to modify it.
Alright, I'll try to find another way, atleast I cán hide the border by changing the image to something else. Perhaps I can find another way to remove the upgrade level on the base weapons.
Nonetheless, thanks alot for all your help, it's much appreciated and taught me a little about the UI editor.
You could instead of giving them the next upgrade, make it a new upgrade or make it modify the original on the spot. Then it wouldn't increase the number, but you'd still get the effects.
I'm not entirely sure what you mean. By now I've fixed the border image, I've removed it by replacing the image with a transparant one. The only thing left for me would be to remove the "0" in the life/shield/weapon icon box, would your method help me with this?
hmm in that case my method won't do much. You could try seeing if theres a box to uncheck that makes it a normal upgrade an not a levelable upgrade. It's been a while since I've done this, so I've forgotten where things are a bit.
Tried modifying the template and them replacing the existing ones with new "modified" templates (so you do not need to reference them, you are instead replacing them)? Are they even templates as they might be hard-coded?
Perhaps you can go into a bit more depth to explain? I'd be grateful if your suggestion is an actual solution.
The problem I'm having is actually referencing the right UI elements, can you replace UI elements without referring to them? Unless you know how to reference the UI-element for the Life/Shield/Weapon Upgrade Level number and the number only.
Thanks for the response thusfar
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey,
I'm looking to hide the upgrade levels on the icons of my weapons, life armor and shield armor. I'm dreadful at customizing the game UI and I was hoping someone could help me by briefly explaining how I should make this happen.
Many thanks in advance!
go to the upgrade and remove the lvl and icon change
None of my units have upgrades though. Is there a way to not show the upgrade levels on the icons by default?
So, anyone that can help me out with removing the black frame used for the upgrade levels on the life/weapon icons? It's not the number of the upgrade or the icon that I mind, its the black frame which holds the upgrade number (on the bottom right of the icon). Is there a way to remove that frame around the icons from my map?
You should be able to remove it either using triggers to link to that UI element or by creating a UI modification file for that particular element.
Specifically I think "EquipmentIcon" template is responsible for all the weapon and armor icons and their looks. At least for heroes this should be the case.
Actually the Upgrade number frame is a part of the whole background image of the equipment stuff, you need to modify and re-import the dds file directly to Assets\Textures\btn-border-equipment.dds
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Hey, thanks for the responses.
by "modify and re-import" you mean 'remove'? Given I just want the borders gone. Can someone give me a brief breakdown on how to achieve this? I'm not certain how to reach this file within the map editor.
Thanks in advance
Open up the console window and type in "browse", without the quotation marks. Search for the file name ( btn-border-equipment in this case) -> right click -> export file. Open up an image editor that can modify dds files (such as paint.net ) remove the little square. Open import editor, import modified file of the same name to the location, Assets\Textures and save. Alternatively you can use the ui editor to set the visible Val to false for the border.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
When I try to hide the equipment icon border with
It doesnt work, neither does trying to "offset" it offscreen. Is there something I'm not doing right? I'd love some more help on this.
Edit: changing the icons via import does potentially work, but would still leave the "upgrade level numbers", which goes by the name "LevelLabel" in the UI-editor under EquipmentIcons, so I would prefer to learn how to actually hide the frame and label, instead of just changing the image
You directing it to the wrong place <Frame type='Frame' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneUnit/EquipmentPanel' file='GameUI'> that gives you the unit info panel equipment panel (icon label and background frame) just reference one more deep into equipment icon label or border.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Apparentely I need some proper handholding. I feel like I'm close, but I can't get it quite right. It keeps saying it can't find the thing I'm linking to, which is probably to me not getting the path quite right.
Any chance you could give me the paths for both the border and the label? I think I'm missing one step in between. This is my current code.
I'm away from my comp for now, but I'll see what I can toss together later.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Cheers, thanks alot for taking the time
Alas, While i've been giving you advice based upon the theory i can see from paper, in actuality it doesn't work. What i've discovered is that within unitinfopane panel there are actually references to 6 different equipment icon templates, so that when you try to reference them within the info pane it results in errors due to not knowing which one is being referred to. So unfortunately you cannot modify it (believe me i tried hiding it, moving it, etc).
Edit: I also crashed the game several times trying to modify it.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Alright, I'll try to find another way, atleast I cán hide the border by changing the image to something else. Perhaps I can find another way to remove the upgrade level on the base weapons.
Nonetheless, thanks alot for all your help, it's much appreciated and taught me a little about the UI editor.
You could instead of giving them the next upgrade, make it a new upgrade or make it modify the original on the spot. Then it wouldn't increase the number, but you'd still get the effects.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
Hey fishy,
I'm not entirely sure what you mean. By now I've fixed the border image, I've removed it by replacing the image with a transparant one. The only thing left for me would be to remove the "0" in the life/shield/weapon icon box, would your method help me with this?
Thanks in advance
@Pecula: Go
hmm in that case my method won't do much. You could try seeing if theres a box to uncheck that makes it a normal upgrade an not a levelable upgrade. It's been a while since I've done this, so I've forgotten where things are a bit.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
Tried modifying the template and them replacing the existing ones with new "modified" templates (so you do not need to reference them, you are instead replacing them)? Are they even templates as they might be hard-coded?
Perhaps you can go into a bit more depth to explain? I'd be grateful if your suggestion is an actual solution.
The problem I'm having is actually referencing the right UI elements, can you replace UI elements without referring to them? Unless you know how to reference the UI-element for the Life/Shield/Weapon Upgrade Level number and the number only.
Thanks for the response thusfar