1. Open your image in gimp(or what ever you use)
2. Copy everything to a new document the same size.
3. Then invert the image all the white in the background should be black now, and your image will look kinda strange.
4. If you using gimp or photoshop use the fuzzy select and click in the black, causing it to select the object in the image. Then delete the selection.
5. Now save your new alpha image file with an a_ in front.
6. Open inventory.ini and add a field like this:
Code: Select all
[lockpick]
catagory = use
image = items.bmp
imagealpha = a_items.bmp
text = Lock Pick
Replace image = items.bmp with your normal image.
Replace imagealpha = a_items.bmp with your alpha image.
If your wanting to make the inventory menu's background transparent open the alpha file and make it all black.