PDA

View Full Version : Art editing and palette


Marstheredd
11-21-2007, 12:25 AM
I have the Dukeres art editing program and I have the palette witch I captured using a screenshot of dukeres palette selector. When I try to put a bmp file into the art file it says "Only bitmaps with 256 colors are supported in Duke." I tried to save it as a 256 color bitmap and it said the same thing. I downloaded the palette from planet duke but I only have Paint.NET and MSpaint so I can't use it. I used colors from a screenshot and it didn't work. I even took art directly from Lameduke and it still won't import right. How do I get around this?

lycanox
11-21-2007, 02:32 AM
Just copy an picture with the same dimensions on the place you want yours in the art file and replace that with the actual picture you want in the game with the def files.
Just like they have done in the HRP pack.

Quakis
11-21-2007, 10:38 AM
Unless ofcourse you might be sticking with the 8bit approach, I recommend you grab Irfanview (http://www.irfanview.com/). Once downloaded, installed etc Open up your image, go to the "image" menu at the top, "Decrease Color Depth" and then 256 Colors. Copy this image into DukeRes. Should work this way perfectly fine.

Marstheredd
11-21-2007, 12:30 PM
Ok, that worked but when I try to import a Lameduke sprite (I think the rockets look better in Lameduke) the transparent parts are still pink ingame.

Commando Nukem
11-21-2007, 01:40 PM
Ok, that worked but when I try to import a Lameduke sprite (I think the rockets look better in Lameduke) the transparent parts are still pink ingame.

Make sure in your duke art editor (editart or dukeres) that the purple in the lower right (farthest corner one) is the color of the backdrop, otherwise it won't work.

Marstheredd
11-22-2007, 12:20 AM
I did and the transparency still shows up...

Marstheredd
11-25-2007, 09:12 PM
How do I get it to be transparent parts to be transparent? (Why wouldn't it let me edit my post?)

Marstheredd
12-15-2007, 01:03 AM
:)Nevermind I got it to work.

escapist
12-16-2007, 01:28 PM
:)Nevermind I got it to work.

congratulations!

but pls. share how you did it.
I seem to have the same problem.

dood!
12-16-2007, 03:42 PM
1. Press "backspace" to select transparent color in palette
2. Move cursor to area where you want it to be transparent
3. Press "C" to replace all pixels with the same color to transparent

Marstheredd
12-22-2007, 12:58 PM
I downloaded the Eduke editart and Irfanview. Imported my sprite (with a backround color that's NOT pink (red blue green)) into Irfanview and went to Image>decrease color depth unchecked the first Checkbox and hit OK. Hit edit>copy and pasted that into dukeres and saved. went into editart, found my tile, went to the part that's supposed to be transparent and did what dood! said.