Page 1 of 1

loading screen problem

Posted: Thu Oct 30, 2003 1:55 pm
by smartaiguy
OK, I used the post (sticky) about loading screens and I put my .jpg in
/textures/mohmenu/dmloading/
but It doesn't show up!? Help!

Also I can't get that picture to show up for my scoreboard pic, what am I doing wrong

should be

Code: Select all

cvar g_scoreboardpic "dm_pic.jpg"
I'm not at my computer now to paste exactly what I have, but I think thats what its supposed to be.

Thanks!

Posted: Thu Oct 30, 2003 7:25 pm
by Yarik
cvar g_scoreboardpic "dm_pic.jpg"
Not sure but I think you have to have this

cvar g_scoreboardpic "textures/mohmenu/dmloading/dm_pic.jpg"

Texture

Posted: Thu Oct 30, 2003 7:45 pm
by tltrude
Could be a number of things. I haven't had much luck using jpg images, but I do know you have to remove "force32bit" from the shaders. Also, the scoreboard line should look like this:

setcvar "g_scoreboardpic" "dm_pic"

And, the image goes in the same texture folder as the loading screen image(mohmenu/dmloading). It could also be that your images are not "type2", whatever that is, but that would crash the game, I think.

Texture

Posted: Thu Oct 30, 2003 8:50 pm
by Gold
also check ya loading ui info to see if everything is pointing to right folders:)
<TWZ>Gold <<mohha freak

Posted: Thu Oct 30, 2003 10:00 pm
by smartaiguy
What do I need for the ui, cause that what I'm missing.

Also do the scoreboard pics have to be a certain size?

Posted: Thu Oct 30, 2003 11:04 pm
by smartaiguy
OK folks my scoreboard pic is working, now for the loading screen.

Posted: Fri Oct 31, 2003 1:43 pm
by smartaiguy
OK nevermind folks I think I got it solved, I found the .urc part in the sticky about loading screens

Posted: Fri Oct 31, 2003 1:46 pm
by smartaiguy
just for reference, here's what you need in the urc

Code: Select all

menu "dm/yourmap(bsp)name" 640 481 NONE 0 
bgcolor 0 0 0 1 
borderstyle NONE 
bgfill 0 0 0 1 
fullscreen 1 
//vidmode 3 
//fadein 0.5 
virtualres 1 
postinclude ui/loadingbar.txt 

resource 
Label 
{ 
name "Default" 
rect 0 248 256 256 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 0.50 0.50 0.50 0.00 
borderstyle "NONE" 
shader "paper" 
} 
resource 
Label 
{ 
name "Default" 
rect 248 248 256 256 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 0.50 0.50 0.50 0.00 
borderstyle "NONE" 
shader "paper" 
} 
resource 
Label 
{ 
name "Default" 
rect 496 248 256 256 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 0.50 0.50 0.50 0.00 
borderstyle "NONE" 
shader "paper" 
} 
resource 
Label 
{ 
name "Default" 
rect 496 0 256 256 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 0.50 0.50 0.50 0.00 
borderstyle "NONE" 
shader "paper" 
} 
resource 
Label 
{ 
name "Default" 
rect 248 0 256 256 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 0.50 0.50 0.50 0.00 
borderstyle "NONE" 
shader "paper" 
} 
resource 
Label 
{ 
name "Default" 
rect 0 0 256 256 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 0.50 0.50 0.50 0.00 
borderstyle "NONE" 
shader "paper" 
} 
resource 
Label 
{ 
name "Default" 
rect 0 0 640 480 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 0.50 0.50 0.50 0.00 
borderstyle "NONE" 
shader "shadow" 
} 
resource 
Label 
{ 
name "Default" 
rect 0 0 640 480 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 0.50 0.50 0.50 0.00 
borderstyle "NONE" 
shader "wrinkles" 
} 
resource 
Label 
{ 
name "Default" 
rect 80 32 480 368 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 1.00 1.00 1.00 0.00 
borderstyle "NONE" 
shader "white" 
} 
resource 
Label 
{ 
name "Default" 
rect 80 32 480 368 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 1.00 1.00 1.00 0.00 
borderstyle "NONE" 
shader "sepiaoverlay" 
} 
resource 
Label 
{ 
name "Default" 
rect 96 48 448 336 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 1.00 1.00 1.00 0.00 
borderstyle "NONE" 
shader "yourmap(bsp)name" 
} 
resource 
Label 
{ 
name "Default" 
rect 76 28 64 64 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 1.00 1.00 1.00 0.00 
borderstyle "NONE" 
shader "ul_corner" 
} 
resource 
Label 
{ 
name "Default" 
rect 500 28 64 64 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 1.00 1.00 1.00 0.00 
borderstyle "NONE" 
shader "ur_corner" 
} 
resource 
Label 
{ 
name "Default" 
rect 500 340 64 64 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 1.00 1.00 1.00 0.00 
borderstyle "NONE" 
shader "lr_corner" 
} 
resource 
Label 
{ 
name "Default" 
rect 76 340 64 64 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 1.00 1.00 1.00 0.00 
borderstyle "NONE" 
shader "ll_corner" 
} 
resource 
Label 
{ 
title "This line of text is displayed under your picture" 
name "Default" 
rect 72 408 496 32 
fgcolor 1.00 1.00 1.00 1.00 
bgcolor 0.00 0.00 0.00 0.00 
borderstyle "RAISED" 
font facfont-20 

} 
end. 

This goes in the .shader when using a Jpg-picture:

Code: Select all

yourmap(bsp)name 
{ 
nomipmaps 
nopicmip 
cull none 
surfaceparm nolightmap 
{ 
clampMap textures/mohmenu/dmloading/yourpicture.jpg 
} 
}