Author Topic: Beam Transparency Issue  (Read 1198 times)

0 Members and 1 Guest are viewing this topic.

Beam Transparency Issue
I'm trying to mod a beam weapon, nothing crazy, just editing the colors of a current beam in Gimp, but the textures that make up the multiple sections of the beam aren't transparent, so only the largest one is visible and the rest are hidden under it. I've narrowed the issue down to the minor color change done in Gimp, old file works fine, new one doesn't. All I did was go to Colors -> Hue-Saturation and change the green color's hue to red. Did this mess something up?

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: Beam Transparency Issue
Whenever Gimp saves a file, by default, it gives teh file an alpha channel. By default this channel is pure opaque.

I usually just edit the file in a smaller editor like xnView or IrfanView and change it from 32bits to 24bits (removing the alpha).

 
Re: Beam Transparency Issue
Ah thank you very much, it worked perfectly.

Edit: I have come to another issue though. All beam weapons light up the surrounding area a certain color, but I can't find anywhere where this color value is stored and none of the tutorials talk about it.
« Last Edit: February 10, 2011, 10:22:11 pm by Asteroth »

 

Offline Enigmatic Entity

  • Exemplar Essayer
  • 28
  • Amigo ad infinitum.
Re: Beam Transparency Issue
You mean in game? If so, the glow colours may be in the .tbl/.tbm file. The last time I played with beams was just editing the table colours, size and damage; this was before the "surrounding area" lighting effect.
Juvenescence and multifariousness is eternal.

  
Re: Beam Transparency Issue
You mean in game? If so, the glow colours may be in the .tbl/.tbm file. The last time I played with beams was just editing the table colours, size and damage; this was before the "surrounding area" lighting effect.
That's mainly where I've been looking. Out of the only two color values I see one is not used and the other is not used if the beam uses a texture (which mine does), those would be @Laser Color and +RGBA Inner/Outer

Edit: You know what I don't like? The wiki blatantly stating false information. @Laser Color achieves the intended effect despite the wiki saying that it is not used for beam weapons.
« Last Edit: February 11, 2011, 02:26:55 pm by Asteroth »