I have made .bmp images for my inventory menu. I want to make the backgrounds for them transparent. Can someone suggest a way to do this. Please include details.
Thanks
Transparent BG for inventory items
-
- Posts: 320
- Joined: Sat Mar 11, 2006 11:41 pm
Transparent BG for inventory items
Patience and tolerance are the keys to the passage of knowledge. Even those that are the most knowledgeable started with many questions.
-
- Posts: 320
- Joined: Sat Mar 11, 2006 11:41 pm
There are many programs that can do that. I dont argue the open source aurgument. I think its a great thing though.
I did save it 32 bit and did use the alpha channels. Still a no go.
Does anyone have any input on the subject that can give a little more detail?
Never mind I figured it out.
Thanks anyway
I did save it 32 bit and did use the alpha channels. Still a no go.
Does anyone have any input on the subject that can give a little more detail?
Never mind I figured it out.
Thanks anyway
Patience and tolerance are the keys to the passage of knowledge. Even those that are the most knowledgeable started with many questions.
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:
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.
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 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.
Jonas
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack