Loading screen show a black and white picture ???

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Loading screen show a black and white picture ???

Post 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
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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 :)
Admin .MAP Forums
Image
Head above heels.
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Post 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?
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

save it as loading.jpg! but leave the extension .tga in your shader!
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post 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.
Image
Post Reply