Hi-res Menus

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
Hell_Best
Posts: 53
Joined: Tue Jul 18, 2006 18:28

Hi-res Menus

Post 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
User avatar
Sir_Alien
Posts: 80
Joined: Tue Sep 13, 2005 8:23
Location: Sydney, Australia
Contact:

Re: Hi-res Menus

Post 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.
Hell_Best
Posts: 53
Joined: Tue Jul 18, 2006 18:28

Post by Hell_Best »

I imported it like (raw data). It is png format and is 630X100 how can i make it transparent?
Hell_Best
Posts: 53
Joined: Tue Jul 18, 2006 18:28

Post by Hell_Best »

selfpalleted
Hell_Best
Posts: 53
Joined: Tue Jul 18, 2006 18:28

Post by Hell_Best »

here's the map. Maybe you can see whats the problem is
Attachments
Menu.zip
(21.37 KiB) Downloaded 95 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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!
Hell_Best
Posts: 53
Joined: Tue Jul 18, 2006 18:28

Post by Hell_Best »

this is weird i can't get it to work. Isn't this the colour who make it transparent?
Hell_Best
Posts: 53
Joined: Tue Jul 18, 2006 18:28

Post by Hell_Best »

this:
Attachments
crossbones.png
crossbones.png (3.87 KiB) Viewed 1758 times
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11
Contact:

Post by BlazingPhoenix »

I don't think Cyan works for PNGs :/
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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.
Hell_Best
Posts: 53
Joined: Tue Jul 18, 2006 18:28

Post by Hell_Best »

and how do i set the transparenty color by my self?
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!
Contact:

Post by wildweasel »

You might want to read through my tutorial - it'll help you figure out what you missed.
Locked

Return to “GZDoom”