Paintshop Pro: Creating Inventory Icons
Revision as of 09:00, 28 July 2007 by imported>Talkie Toaster (Bylines to talk page)
Overview
This tutorial will show you the steps involved to create custom menu icons for your mods that display in the inventory screen.
Required Tools
- Paint Shop Pro 9
- DDS Converter 2
- NIFSkope 0.9.8
Step 1 - Plan Your Screenshot
- The manner in which you capture the screenshot determines how easy and how well the icon looks later on.
- If you take an in-game screenshot of a weapon in the grass, you're going to have trouble erasing all image data other than the sword later.
- If you take an screenshot of a weapon at an odd angle or only partially visible, the icon might not represent the actual object very well. Look at how others show similar items as icons and figure out what you like best.
- I like to use NIFSkope because I can scale the image to the size needed, rotate to the best angle and easily remove the background.
- The end-result will be a graphic image in the size of 64x64 pixels.
- That's pretty small so you'll need to make some choices.
- For this example, I'll use the Dragonbone sword that is included in the Dragonbone Armor Set that I uploaded.
- It is a long and slender object. It wouldn't be wise to display this vertically since we can fit more of the object at a 45 degree angle.
- It would be better to get more detail at the hilt rather than trying to fit the entire object inside the 64x64 frame.
- Therefore, we will need a screenshot of the sword at a 45 degree angle and sized to fit about 1/2 of the sword in a 64x64 frame.
Step 2 - Take Screenshot of Your Object
- Open NIFSkope, load the NIF file and position the item according to plan.
- From the menu, click Render and make sure everything but Perspective is unchecked.
- It would also be a good idea to set the background color to something that isn't in the object or at least on the outer edges (such as bright green/red/blue). From the menu click Render, Settings and select a background color and close the dialog box.
- Use your wheel button on your mouse to set the correct zoom level. You're trying to get the object correctly sized to fit in 64 pixels without resizing too much to avoid distortion problems.
- Start Paint Shop Pro, press Shift + C to begin screen capture. Once the NIFSkope window is visible, right-click somewhere and the left-click and drag a box around the object to capture the area. An alternative is to simply press Print Screen to capture the entire desktop into memory and then just paste the image in the graphics editor.
- Save your image as a Paint Shop Pro Image (.pspimage)
Step 3 - Prep Your Screenshot
- Open Paint Shop Pro and then open your screenshot.
- In the layer window, right click the layer called Background and select Promote Background Layer.
- Select the Magic Wand Tool and set tolerance to 0, click anywhere on the background color and press the Delete button to remove the color. Repeat process for any remaining background until only the object remains.
- Use the Crop Tool (R) and make it into a perfect square. If the image is smaller than 64x64 or larger than 100x100, you're not zoomed in properly, adjust in NIFSkope and try again.
- If your image is close enough to 64x64, click Image, Resize and set it to 64x64 and make sure the image did not distort too badly.
- Use the Magic Wand Tool and select the background, if you have to, hold the Shift key down to select all background pieces.
- From the menu, click Selections, Invert. This basically changes the selection to the image and not the background.
- From the menu, click Selections, Load/Save Selection, Save Selection to Alpha Channel.
- Change Selection #1 to Alpha and click Save.
- From the menu, click File, Save As and save the image as a Paint Shop Pro (.pspimage). This is your Original Source that you can go back to and make changes.
- From the menu, click File, Save Copy As and save the image as a Photoshop (.psd).
Step 4 - Convert Image to DDS Texture
- Start DDS Converter 2
- Change Input Format to Photoshop (*.psd)
- Change Output Format to DirectDraw Surface (*.dds)
- Click the Options button, set the following and click OK:
- DXTc format: DXT3
- Uncheck: Build mipmaps
- Check: Save alpha (if any)
- DXTc format: DXT3
- Browse to your image folder and double-click the .psd file. It will take about 1 or 2 seconds to convert the file to .DDS format.
- The .DDS file should have been created in the same directory where the .psd file resides.
Step 5 - Attach Icon to Your Object
- Start the Construction Set and load your mod.
- Find your object and double-click on it.
- Click the Icon button and browse to the new .DDS icon and select it.
- The icon should now display perfectly in the editor without any error messages (unlike other .DDS creation methods).>
Similar tutorials using different tools:
How To Create Menu Icons using GIMP
How To Create Menu Icons using Adobe Photoshop
Source: LHammonds Web Site