Author Topic: Help Me! Black Alpha on Lasers  (Read 2325 times)

0 Members and 1 Guest are viewing this topic.

Help Me! Black Alpha on Lasers
Hey everyone,

Im playing scp on Linux but there is an small problem all lasers have no alpha textures(or they black) ( http://img183.imageshack.us/img183/4706/01uu3.jpg )

i start the game with

Code: [Select]
./fs2_open_r -mod fs2data,fs2scpdata -spec -2d_poof -glow -ship_choice_3d -3dwarp -warp_flash -alpha_env -decals -missile_lighting -cache_bitmaps -snd_preload -ambient_factor 85 -fov 1.05 -nograb
the cvs was compilerd with

Code: [Select]
'CFLAGS=-g -Wall -O3 -march=i686' 'CXXFLAGS=-g -Wall -O3 -march=i686' '--verbose' '--enable-speech'
and i'm using the follow scp vp's

Code: [Select]
mp-710_adveffects.vp  mv_adveffects.vp     mv_befix.vp    mv_music.vp
mp-710_effects.vp     mv_alphapatch.vp     mv_core.vp     mv_textures.vp
mp-710_models.vp      mv_amodelspatch2.vp  mv_effects.vp
mv_advalphapatch.vp   mv_amodelspatch.vp   mv_models.vp

Please Help Me  ::)

and sry for my bad eng.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Help Me! Black Alpha on Lasers
Are you playing in 16-bit or 32-bit color?  16-bit doesn't have full alpha so it might cut it out and give you the black, or some other color.



(Note to self: just realized that I have never asked anyone else about color depth when they have reported similar problems and were using the 710 patches  :sigh:)

 
Re: Help Me! Black Alpha on Lasers
yes i'm playing in 32bit

i had the same problem in other scp builds when i'm enable -jpgtga but now is it standard so i can't disable it

 
Re: Help Me! Black Alpha on Lasers
What I do know is that A Models Patch (2) is a patch for the 3.6.7 Mediavps, and is very obsolete. Try using only the Mediavps in this thread and see how that works.

 
Re: Help Me! Black Alpha on Lasers
thx now is working fine

 

Offline takashi

  • Better than TrashMan
  • 29
Re: Help Me! Black Alpha on Lasers
wait! before this thread fades into the dreaded page 2, my custom laser bitmaps and glows are having the "black boxes" problem. (in OGL only, with or without new drivers/gfx card)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Help Me! Black Alpha on Lasers
wait! before this thread fades into the dreaded page 2, my custom laser bitmaps and glows are having the "black boxes" problem. (in OGL only, with or without new drivers/gfx card)
Get rid of the alpha channel on the images.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Help Me! Black Alpha on Lasers
That is to say: Save them in 24bit instead of 32bit format
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline takashi

  • Better than TrashMan
  • 29
Re: Help Me! Black Alpha on Lasers
well first i have to say: crap when i had to format my hard drive i have nothing to open .pcx and .tga's.
next: they dont have alpha channles. just a fade effect with black->grey->white transitions.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Help Me! Black Alpha on Lasers
well first i have to say: crap when i had to format my hard drive i have nothing to open .pcx and .tga's.
next: they dont have alpha channles. just a fade effect with black->grey->white transitions.
If it shows up as a black box then it has an alpha channel.  Doesn't have to appear to use it though, it just has to exist.  It depends on what you are using to edit the images as to how to get rid of the alpha layer though.  I use GIMP, for instance, and to get rid of an alpha layer I just have to flatten the image and re-save it.

Oh, and PCX are never seen as having an alpha channel, so the only problem images are going to be TGAs.

 

Offline takashi

  • Better than TrashMan
  • 29
Re: Help Me! Black Alpha on Lasers
soooooo...... my .pcx weapon effects/glows are messed up how?

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Help Me! Black Alpha on Lasers
Just to make sure.. Are your PCX files in 8bit format?
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline takashi

  • Better than TrashMan
  • 29
Re: Help Me! Black Alpha on Lasers
yes