Page 1 of 1

Loading screen show a black and white picture ???

Posted: Thu Jan 22, 2004 9:12 pm
by mcunha98
I saw in the site of the NEMESIS, a tutorial one explaining as to make a screen of loading.

I tried but I did not obtain, therefore my screen of loading is with the blank photo. What I made of wrong therefore

I created a TGA with multiplas layers in Photoshop 7,0 and saved it with standard of 32 bits without compacting RLE

Posted: Thu Jan 22, 2004 9:15 pm
by Bjarne BZR
Try using a jpg instead. No reason to use a tga if you ar not going to use the alfa channel. And as an added bonus you get a smaller pk3 :)

Posted: Thu Jan 22, 2004 9:36 pm
by mcunha98
When you it says to use a JPG, you want to say I to all make the treatment of the image as JPG, and later saving as TGA, or you she wants to say that I can save mine directly loading.tga as loading.jpg that it goes to accept?

Posted: Thu Jan 22, 2004 11:46 pm
by wacko
save it as loading.jpg! but leave the extension .tga in your shader!

Posted: Thu Jan 22, 2004 11:48 pm
by crunch
Yes. Save the image as a .jpg, but still refer to it as a .tga in the shader
for your loading screen.

Also, your shader would look like this:


Yourmap
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
clampMap textures/mohmenu/dmloading/yourimage.tga
}
}


You would leave out:

{
map $whiteimage
}

AS WELL AS

blendfunc gl_one_minus_src_alpha gl_src_alpha

Then as long as the .urc file is correct, and is in the ui folder, it should work.