I have allways been doing this (title) in warcraft 3, but I had a tool called Button Manager that automatically created a BTN and a DISBTN icon, with file paths: ReplaceableTextures\CommandButtons\[File Name.blp] and ReplaceableTextures\CommandButtonsDisabled\[File Name.blp], but how does this work in starcraft 2 when importing icons? Once I have created an icon in photoshop, then what do I do? file type? icon path? etc.
PS. I searched used Search but the only thing I could find (some video tutorial) 'could not be found'.
To make a custom icon through photoshop you'll need the nvidia dds plugin (only works on 32-bit photoshop btw). Once you've got that, open your icon in photoshop, set the canvas size to 76x76 pixels, magnify the image a bunch, then select the channels tab on the bottom right (next to layers). Click "new channel" right below that, make sure you've got both it and the rgb channel checked, and use the rectangular marquee to draw a box around the area of the image that you want to be not transparent. Then, hit the delete button, and the red alpha channel over the regular image should disappear within your selection, so by the time you're done you should have a red alpha channel border around your icon. Save as a .dds file, don't generate MIP maps, and use the DXT5 ARGB 8-bit interpolated alpha setting. Then you just import the dds file into your sc2 map, and use it however you want.
It sounds like it takes a lot of time, but it really doesn't once you do it a few times. You'll probably have to play around with the size of the alpha channel border though.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have allways been doing this (title) in warcraft 3, but I had a tool called Button Manager that automatically created a BTN and a DISBTN icon, with file paths: ReplaceableTextures\CommandButtons\[File Name.blp] and ReplaceableTextures\CommandButtonsDisabled\[File Name.blp], but how does this work in starcraft 2 when importing icons? Once I have created an icon in photoshop, then what do I do? file type? icon path? etc.
PS. I searched used Search but the only thing I could find (some video tutorial) 'could not be found'.
@Xtremedesyr: Go
To make a custom icon through photoshop you'll need the nvidia dds plugin (only works on 32-bit photoshop btw). Once you've got that, open your icon in photoshop, set the canvas size to 76x76 pixels, magnify the image a bunch, then select the channels tab on the bottom right (next to layers). Click "new channel" right below that, make sure you've got both it and the rgb channel checked, and use the rectangular marquee to draw a box around the area of the image that you want to be not transparent. Then, hit the delete button, and the red alpha channel over the regular image should disappear within your selection, so by the time you're done you should have a red alpha channel border around your icon. Save as a .dds file, don't generate MIP maps, and use the DXT5 ARGB 8-bit interpolated alpha setting. Then you just import the dds file into your sc2 map, and use it however you want.
It sounds like it takes a lot of time, but it really doesn't once you do it a few times. You'll probably have to play around with the size of the alpha channel border though.