Translucency in weapon sprites.

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angel: :angry: :beer: :bfg: :chaingun: :cheers: :blergh:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Expand view Topic review: Translucency in weapon sprites.

Re: Translucency in weapon sprites.

by ZDave » Tue Sep 01, 2009 20:35

Your right, I've added like 90% translucency to the original image and it doesn't show, whats worse is that "CopyAlpha" is meant to respect the png's alpha chanel, but it makes no difference to the image. :?

Re: Translucency in weapon sprites.

by Rachael » Tue Sep 01, 2009 20:34

I agree. Thanks for taking care of that Morpheus. :)

Re: Translucency in weapon sprites.

by Remmirath » Tue Sep 01, 2009 20:28

This is better to be sticking here in Editing question, since it's not a proper bug report.

Re: Translucency in weapon sprites.

by Enjay » Tue Sep 01, 2009 19:54

I have used translucency in the original graphic rather than via setting it in GZdoom. It works but I did come up with some minor issues:

http://forum.drdteam.org/viewtopic.php?f=24&t=4052

Re: Translucency in weapon sprites.

by ZDave » Tue Sep 01, 2009 19:42

Come on guys is there anyone, this is the last thing thats stopping me from creating my weapon, I've put so much work into it.
All I'm trying to do is to make a weapon sprite with additive translucency.

The first one is original and also looks the same with "Style Add" by itself and 0.1 translucency by itself.
The second is with 0.1 translucency and "Style Add" together.
It seems to me that the patches only appear translucent against other patches in the composite image.
All I want to know is if its possible to make them appear translucent against the game background and if so, how can this be done.

Code: Select all

sprite TNT1A0, 2000, 2000
{
  XScale 2.0
  YScale 2.25
  Patch 9FSPO0, 200, 5
  {
    Alpha 0.1 // first image.
  } 
} 
Attachments
01.png
01.png (213.56 KiB) Viewed 880 times
02.png
02.png (204.52 KiB) Viewed 880 times

Translucency in weapon sprites.

by ZDave » Sat Aug 22, 2009 20:11

I tried applying translucency to a weapon sprite, but the higher the alpha the darker the sprite gets and doesn't apear translucent.

Code: Select all

sprite FIRAA0, 1440, 900
{
 XScale 3.0
 YScale 3.25
 Patch FIRAA0, 460, 277
 {
  Alpha 0.8
  Style Add
 }
}
Is there any way to make it appear translucent against the game background?

Top