991
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
underground rooms.oh now I understand. good job!
It's likely. For working with images, it's conventional to use "lime" or "pink" as the "transparent color" because it makes it easier to tell the background apart from the sprite.I actually already tried that. But it then uses white, instead of that black, for the transparent color.
In OpenXcom the color you use as the "transparent color" in your palette doesn't really matter because it uses "color 0" as the transparent color, not an RGB, so SDL will automatically figure it out when matching extraSprites with the original palettes/graphics.
However there's no guarantee that other programs will behave the same. If they are matching by RGB, you will have to change the first palette color to RGB 0,0,0.
I think I got it, check the attached file. On the left side of the image there's an image of one of my tiles and the palette it uses, on the right side there's your tileset and their palette. The first colors are different (they are marked in red).Yeah the background color changes... it's like they don't use the same color for transparency....
Try this: open an original tile set, save as bmp one of its tiles. Afterwards open the bmp of your tile, copy the relevant part of the image and paste it over the bmp of the original tile, save it as bmp and load into into the PCK file and see if it gets properly displayed.
Then usually the error is in the .bmp file. Usually there's a pixel that PCKView doesn't recognize the color value.How can that be though? The image is converted to use the appropriate palette, there's no "extra" or "wrong" color in it.
Does this 'shifting' appears when you are visualizing the PCK files on either PCKView or MCDEditor?Yes. It happens during the conversion bmp-->pck, the bitmap is fine but the resulting pck is misplaced.
try MCDEdit?I'll try it. (Link to the latest version?)
upload the wavfile/mod so one can take a look?you are right.