Problems with high-res true color weapons

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

DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Problems with high-res true color weapons

Post by DoomerMrT »

Hello!

I've seen that somebody had this problem before but he did not get any solution for his problem so I want to ask it again.( anyway the topic is located here )


So the deal is:

I've got a high-res weapon sprite in PNG format and when I wanna to play the game,a huge,cyan box appears behind the weapon.I am using Gzdoom 1.0.24 .
Screenshot is here
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

The background of the gun (which you colored cyan >_<) must be in true transparency, otherwise GZDoom will draw it cyan =P
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Post by DoomerMrT »

wow cool :lol: Another thing what I need to learn...damn :P
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

Remember: Cyan is available under GZDoom with the usage of "True Color". In Software mode it would recess it to the nearest color the Doom Palette offers, however, if you don't use PNGs cyan is transparent ;)
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Post by DoomerMrT »

Probably a stupid question - but how to do transparent color for background?I tried to do it with irfanview,it saved successfully with a black background,but the cyan box is still here when I run my wad.
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Post by DoomerMrT »

Somebody help me please :?
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Post by DoomerMrT »

Um helooo ? :roll:
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

The GIMP does this perfectly P: Just select your image, cut it off and put it over a transparent layer P: Or just erase the background P=
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Post by DoomerMrT »

Thanks I will check it out
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Post by DoomerMrT »

Well I am not wondering why there aren't any true color weapon....it is fucking difficult to do transparent colors and it's not worth it.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

DoomerMrT wrote:it is fucking difficult to do transparent colors and it's not worth it.

Sorry to say this but: you fail it.
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

DoomerMrT wrote:it is fucking difficult to do transparent colors and it's not worth it.
O_o
Puh-lease learn using Gimp or another image program via help files. It is not THAT difficult.
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Post by DoomerMrT »

Then why there aren't any true color weapons if it is so easy?I checked help files and nothing about transparency.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

DoomerMrT wrote:Then why there aren't any true color weapons if it is so easy?I checked help files and nothing about transparency.
There may not be many true colour weapons (I'm sure I've seen some) but there have been loads of PNG sprites and textures released in various projects and they all use proper transparency.

The first time I made a transparent sprite I didn't know how to do it and it took me a quite a while to find the options I needed in Paint Shop Pro because they weren't in the most obvious place (IMO). Oh, I should mention that a "quite a while" must have been at least 2 minutes. :P
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Post by DoomerMrT »

well good for you :roll: but I cannot find it out how to do it,however I don't mind.I stay at 256 colors.
Locked

Return to “GZDoom”