loading screen problem

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

loading screen problem

Post 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!
Last edited by smartaiguy on Fri Oct 31, 2003 1:40 pm, edited 1 time in total.
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post 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"
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Texture

Post 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.
Tom Trude,

Image
User avatar
Gold
First Lieutenant
Posts: 176
Joined: Sun Sep 28, 2003 8:10 pm

Texture

Post by Gold »

also check ya loading ui info to see if everything is pointing to right folders:)
<TWZ>Gold <<mohha freak
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post 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?
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

OK folks my scoreboard pic is working, now for the loading screen.
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

OK nevermind folks I think I got it solved, I found the .urc part in the sticky about loading screens
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post 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 
} 
}
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
Post Reply