Page 1 of 1

Hi-res Menus

Posted: Tue Aug 29, 2006 19:55
by Hell_Best
If i want to replace i weapons in normal way i must set it to a special color to make the picture transparent but if i set the same color on the picture and use it in the menu like a hi-res texture it won't be transparent is there anyway to make a hi-res texture transparent?

remap M_DOOM MENU1

Re: Hi-res Menus

Posted: Tue Aug 29, 2006 21:29
by Sir_Alien
Hell_Best wrote:if i set the same color on the picture and use it in the menu like a hi-res texture it won't be transparent is there anyway to make a hi-res texture transparent?
You need to give us more information if we're to help you...
  • 1. Are you saving the image in the Doom pallette or as a self-palletted graphic?
    2. How are you importing the image into the lump? Using Load or Load (Raw Data)?
Hell_Best wrote:remap M_DOOM MENU1
My guess is that you either haven't defined the transparency in the original image correctly or you're not importing it correctly.

Posted: Wed Aug 30, 2006 7:14
by Hell_Best
I imported it like (raw data). It is png format and is 630X100 how can i make it transparent?

Posted: Wed Aug 30, 2006 7:14
by Hell_Best
selfpalleted

Posted: Wed Aug 30, 2006 18:31
by Hell_Best
here's the map. Maybe you can see whats the problem is

Posted: Wed Aug 30, 2006 21:54
by Graf Zahl
First, don't use BMPs. They were never officially supported and in the next version they won't work at all.

Use PNGs and set the transparent color with a suitable graphics tool. There is *no* predefined transparent color!

Posted: Thu Aug 31, 2006 15:46
by Hell_Best
this is weird i can't get it to work. Isn't this the colour who make it transparent?

Posted: Thu Aug 31, 2006 15:49
by Hell_Best
this:

Posted: Thu Aug 31, 2006 16:18
by BlazingPhoenix
I don't think Cyan works for PNGs :/

Posted: Thu Aug 31, 2006 16:21
by Graf Zahl
Cyan is not a transparent color at all! It is only used as a transparency key by conversion tools that create the Doom patches. (G)ZDoom doesn't care about this at all. When using PNGs you will have to set the transparent color yourself and when using BMPs you just screw yourself because they won't work anymore with the next release.

Posted: Thu Aug 31, 2006 16:49
by Hell_Best
and how do i set the transparenty color by my self?

Posted: Thu Aug 31, 2006 17:18
by wildweasel
You might want to read through my tutorial - it'll help you figure out what you missed.