Hello guys!
I know there are other threats with a similar problem, but i never read any solution...
My question is, how can i change the resource icon of for example minerals, i already tried to overwrite
I've successfully exported the icon I want to use and imported it back in using Import Manager. Then renamed it to the name of the icon I want to replace it with and set the path to the same as well. However, it appears to have no effect.
Actually, resolved I think. Check in another forum and I guess even if you change the icons correctly it may not appear when testing. So it only shows up in online games. Very odd.
I would like to add that in order for me to be able to export the DDS icons, I had to trick the exporter by deleting the default "..*" at the end of the filename and adding ".tga" (so for example changing "icon-name.dds..*" to "icon-name.dds.tga"). If I skipped this step I would receive an error stating "Invalid file name." Then I went to the exported location and removed the .tga file extension and was able to successfully import them into the editor.
Edit: also, when renaming the files, make sure to save after renaming each one else the editor freaks out and starts swapping files around.
Is this all normal? At this rate I'm wondering if my version's wonked..
Ok, so here's the Definitive Guide to creating a Custom Resource Icon.
[Optional] Find the .dds icon you want in the Archive Browser and Export it. This can be done by going to the Data Editor, setting the Data Type to "Buttons," clicking on any value (e.g. "Hold Fire (Ghost)") and clicking Browse next to the Icon on the right side. Make sure your Data Editor is in Table View (it's one on the Orange icons - hover your mouse over one to see its name).
Import your .dds icon via the Import Manager (F9). The game expects 3 icons (1 for each race).
Rename each race's custom resource icon to "icon-health-<race>.dds" (e.g. "icon-health-zerg.dds"). Save after each rename.
Right-click on the icon and select "Move files..." and in New Path type "Assets/Textures/" (May need to save after each move ~ I did it out of habit).
There you go! I've noticed that when testing the document, I still see the old health icon; however, when I publish the map I see the correct one. I also see the updated icon when browsing in the archive browser.
If anyone knows of a better way other than overwriting the health icon, please let me know :)
Here's a better way, thanks to Helral for figuring it out. This method doesn't overwrite any icons, instead it modifies the paths that point to the icons in the Assets.txt:
1) Create an empty Assets.txt file and add any of the following lines you wish to modify:
2) Change the texture path for the icons you want to modify.
For example, if you want to change the icon for Terrazine and Custom Resource for all races to "icon-customterrazineicon-race.dds" and "icon-customresourceicon-race.dds", add the following lines to the empty Assets.txt:
If you wish to modify any other assets, the default Assets.txt can be found in "patch.sc2archive/mods/liberty.sc2mod/base.sc2data/GameData/Assets.txt". You can open .sc2archive files using any MPQ editor.
3) Import the Assets.txt to "Base.SC2Data\GameData\" Import Path in your map using the Import Manager.
Anyone who wants to replace the ingame UI resources, displayed at the top of their screen.. Just import your new (.dds format) image file with (64x64pixels) named as "icon-mineral-nobg"(for example) set your "File Path:" to "Assets\Textures\" and press save.. todah! your mineral image will now show the picture you have imported.
the texture names are:
icon-mineral-nobg =Minerals
icon-gas-protoss-nobg.dds =Protoss Gas
icon-gas-terran_nobg.dds =Terran Gas
OR
icon-gas-terran-nobg.dds =Terran Gas
icon-gas-zerg_nobg.dds =Zerg Gas
OR
icon-gas-zerg-nobg.dds =Zerg Gas
icon-supply-protoss_nobg.dds =Protoss Supply
icon-supply-terran_nobg.dds =Terran Supply
icon-supply-zerg_nobg.dds =Zerg Supply
Assets\Textures\icon-biomass-nobg.dds =(Unknown)
Assets\Textures\icon-energy-nobg.dds =Energy AKA Terrazine (Hidden by Default)
icon-health-nobg.dds =Custom Resource (Hidden by Default)
icon-highyieldmineral-nobg.dds =Rich Mineral Field > Listed last because it is not apart of the ingame UI. But if you would like to replace this texture, you would use this name to do it. The same applies to all names listed previously. Simply Import any file, with size and format listed above, using any of the names and the "Assets\Textures\" file path and all should be well ;)
Hello guys! I know there are other threats with a similar problem, but i never read any solution... My question is, how can i change the resource icon of for example minerals, i already tried to overwrite
Assets/Textures/icon-mineral.dds Assets/Textures/icon-mineral-zerg.dds Assets/Textures/icon-mineral-terran.dds Assets/Textures/icon-mineral-protoss.dds
but how to do this if "-" are not allowed in the import manager?!
anyone?
Bump. I'd like to see if anyone knows as well.
I've successfully exported the icon I want to use and imported it back in using Import Manager. Then renamed it to the name of the icon I want to replace it with and set the path to the same as well. However, it appears to have no effect.
Any ideas?
Actually, resolved I think. Check in another forum and I guess even if you change the icons correctly it may not appear when testing. So it only shows up in online games. Very odd.
I would like to add that in order for me to be able to export the DDS icons, I had to trick the exporter by deleting the default "..*" at the end of the filename and adding ".tga" (so for example changing "icon-name.dds..*" to "icon-name.dds.tga"). If I skipped this step I would receive an error stating "Invalid file name." Then I went to the exported location and removed the .tga file extension and was able to successfully import them into the editor.
Edit: also, when renaming the files, make sure to save after renaming each one else the editor freaks out and starts swapping files around.
Is this all normal? At this rate I'm wondering if my version's wonked..
Ok, so here's the Definitive Guide to creating a Custom Resource Icon.
There you go! I've noticed that when testing the document, I still see the old health icon; however, when I publish the map I see the correct one. I also see the updated icon when browsing in the archive browser.
If anyone knows of a better way other than overwriting the health icon, please let me know :)
Here's a better way, thanks to Helral for figuring it out. This method doesn't overwrite any icons, instead it modifies the paths that point to the icons in the Assets.txt:
1) Create an empty Assets.txt file and add any of the following lines you wish to modify:
2) Change the texture path for the icons you want to modify.
For example, if you want to change the icon for Terrazine and Custom Resource for all races to "icon-customterrazineicon-race.dds" and "icon-customresourceicon-race.dds", add the following lines to the empty Assets.txt:
If you wish to modify any other assets, the default Assets.txt can be found in "patch.sc2archive/mods/liberty.sc2mod/base.sc2data/GameData/Assets.txt". You can open .sc2archive files using any MPQ editor.
3) Import the Assets.txt to "Base.SC2Data\GameData\" Import Path in your map using the Import Manager.
Anyone who wants to replace the ingame UI resources, displayed at the top of their screen.. Just import your new (.dds format) image file with (64x64pixels) named as "icon-mineral-nobg"(for example) set your "File Path:" to "Assets\Textures\" and press save.. todah! your mineral image will now show the picture you have imported. the texture names are: icon-mineral-nobg =Minerals icon-gas-protoss-nobg.dds =Protoss Gas icon-gas-terran_nobg.dds =Terran Gas OR icon-gas-terran-nobg.dds =Terran Gas icon-gas-zerg_nobg.dds =Zerg Gas OR icon-gas-zerg-nobg.dds =Zerg Gas icon-supply-protoss_nobg.dds =Protoss Supply icon-supply-terran_nobg.dds =Terran Supply icon-supply-zerg_nobg.dds =Zerg Supply Assets\Textures\icon-biomass-nobg.dds =(Unknown) Assets\Textures\icon-energy-nobg.dds =Energy AKA Terrazine (Hidden by Default) icon-health-nobg.dds =Custom Resource (Hidden by Default) icon-highyieldmineral-nobg.dds =Rich Mineral Field > Listed last because it is not apart of the ingame UI. But if you would like to replace this texture, you would use this name to do it. The same applies to all names listed previously. Simply Import any file, with size and format listed above, using any of the names and the "Assets\Textures\" file path and all should be well ;)
"You either are doing it, or you are not": Me
Team Genesis: Founder/Leader
Skype: Grasso2012 or Add me in-game 558
Free Model Developing Program: http://www.autodesk.com/education/free-software/maya