The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> MAKING BAMS, problems about making original BAMS and green bottom visible IG
Rigel
post Jan 29 2009, 09:02 PM
Post #1





Contributor
Posts: 26
Joined: 29-January 09
From: Bretagne, FRANCE




Hello i'm working on a MOD for BGT-BG2 called "GOODS of FAERUN". It's a MOD who add some merchants, few little quests and a lot of new items. I will make a merchant who sell armors and helmets of diferent colours but with no special caracteristics, it's just a black helm, or a dark red plate for fun, just to be fashion; however...

I will also create new ITEMS, and in that purpose, i need to create new bams; i will recolorize existing bams with news colours schemes.
I make 2 bmp files with a selected bam and after i work on them under GIMP 2. Next i use ITEM GRAPHIC CONVERTER to get a "quite" new original bam.

It's quite easy to do but i've got a big problem: i see the green bottom of the bams IN GAME; i've made some ressearches and i think it's a ALPHA CANAL (who set transparency) problem. It's like some graphical zones were losing their transparency during the change betweeen bam file becoming 2 bmp files.

So if someone know something about that graphical problem, i would be so glad if you can help me, and explain me how it works exactly, and how dissmiss that green bottom, if you can indicate me a tutorial it would be nice too. I'm not afraid of complicated explanations: i want to know all about that subject, cause i need to be a pro item creator.

This post has been edited by Rigel: Jan 30 2009, 08:19 PM
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Sir-Kill
post Feb 8 2009, 10:13 PM
Post #2


consiglieri
Group Icon

Member of Graphics Dept.
Posts: 2343
Joined: 13-August 04
From: Michigan, U.S.A.




well first off, you are using a 256 (indexed) color image there is no actual alpha channel. that would require a 32 bit image format.

what IE games use is a color that, when used, is transparent. now it seems to me that it is the first color in that (256 color) pallet, and the second one is supposed to be a semi-transparent used for the items shadow. But it doesn't work many have tried all have failed. so don't bother with it. However you can use a dark gray it simulate the shadow.

I could go on on how you might want to deal with these issues but instead I'll tell you how I make a bam

I get my image ready working on a transparent background. Once it is as good as it is going to get,
I create a new layer, [layers-> new layer]
color fill the new layer with black,
switch the new layer with the old [by dragging them in the layers window]
your image should now be on a black background.
clean up any pixels that did not get properly erased,
Flatten the image,
Then do a color dump (set to 0 tolerance) of RBG color 0,151,151 on the black part (this step can be dont in any color but it might save you a step later).
convert to indexed color
save as .bmp

So far as working with BWS1 here is a tut I used (the full link is in the first part of my tut in previous link)
QUOTE
1. Open BAMW.
2. In the Sequence box on the right, right-click and hit Add Sequence.
3. Click the Frames tab.
4. Right-click the box and hit Create Frame.
5. Change the image size to 1x1 (this doesn't really matter, but I think smaller is better).
6. Save your BAM as whatever you want.
7. Close BAMW.
8. Reopen BAMW.
9. Load the BAM you just saved.
10. Click the Manage button.
11. Select the frame you created and hit delete. Hit Close when you're done.

Now that that is done… Click Sequence 0; then hit the Frames Tab. Right-click and hit Import Frame. Select your first image (the one that appears when moving items around in the inventory). That’s one sequence done. Go back to the Sequence tab. Right-click and hit Add Sequence. Click Sequence 1; then hit the Frames Tab. Right-click and hit Import Frame. Select your second image (the one that appears when an item is just sitting in your inventory). Now use File->Save, and you’re done. Yay.


when you edit an items color you might want to use 'overlay' and not 'normal' normal will color over the colors where as overlay will change the colors to what you want, leaving the original details wink.gif

This post has been edited by Sir-Kill: Feb 8 2009, 10:15 PM


--------------------
Go to the top of the page
 
Quote Post

Posts in this topic
Rigel   MAKING BAMS   Jan 29 2009, 09:02 PM
Sir-Kill   welcome to bwl. I must have missed this post or I ...   Feb 1 2009, 01:55 AM
Rigel   Hello thank you very much for your answer I make ...   Feb 2 2009, 01:15 PM
Sir-Kill   No problem. I learned graphics the same way ;) . s...   Feb 2 2009, 10:59 PM
Rigel   OH yes i mean post a bmp, it was a mistake :blush:...   Feb 3 2009, 05:12 PM
Rigel   There is something i don't understand with alp...   Feb 8 2009, 06:12 PM
Sir-Kill   well first off, you are using a 256 (indexed) colo...   Feb 8 2009, 10:13 PM
Rigel   Yes that's what i was wondering about: there i...   Feb 8 2009, 10:47 PM
Sir-Kill   I think that DLTCEP uses the bright green 0,255,0 ...   Feb 9 2009, 12:08 AM
Rigel   http://img8.imageshack.us/img8/2950/iwchan02101hw1...   Feb 9 2009, 01:17 AM
Rigel   HEY THERE !!! http://img19.imageshack...   Feb 9 2009, 06:36 PM
Sir-Kill   Cool I am glad you were able to get it working. At...   Feb 9 2009, 07:54 PM
Rigel   Hello BWL, hi Sir-Kill, i post a screen shot of my...   Mar 14 2009, 01:53 PM
Sir-Kill   cool. did you use the overlay setting on your bru...   Mar 14 2009, 04:34 PM
Rigel   No i didn't use the overlay setting and didn...   Mar 14 2009, 05:47 PM
Rigel   My last work on bams : the next difficulty will be...   Mar 25 2009, 05:58 PM
Sir-Kill   those would plt files iirc. they look good now tha...   Mar 25 2009, 10:35 PM
Rigel   OH !!! Do you mean i have to draw an i...   Mar 25 2009, 11:50 PM
Sir-Kill   well you do not have to but I know you can. Use a...   Mar 26 2009, 11:44 AM
Rigel   I've made a Tutorial in four chapters to color...   Apr 1 2009, 12:50 PM
Sir-Kill   Cool. We can put it up on the tutorials section wh...   Apr 1 2009, 01:52 PM
Rigel   http://img269.imageshack.us/img269/3520/armureroug...   Sep 23 2009, 01:02 AM
Sir-Kill   They Look good, Keep it up! Sounds like a lot ...   Sep 23 2009, 04:18 PM
Tervadh   You might be interested in BAM Batcher. I can mass...   Sep 27 2009, 06:20 AM
Rigel   Hello just wanted to announce that i finished trad...   Dec 15 2009, 05:09 AM
Tervadh   Here some new original bams i created (maybe i wil...   Dec 21 2009, 12:40 PM
Rigel   yeah, its possible you lose some pixels when you r...   Dec 23 2009, 01:24 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 29th August 2025 - 11:04 AM