Spearhead-like custom loading screen

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
3lvi5
Lance Corporal
Posts: 12
Joined: Sat Jan 17, 2004 12:33 pm

Spearhead-like custom loading screen

Post by 3lvi5 »

Ever noticed that the map loading screens in Spearhead look different than those in Allied Assault ? (In SH the have pictures around the picture of the map...)
After a bit of browsing trough the .PK3 files I found the .urc script of a SH map...

menu "dm/YOURMAPNAME" 640 481 NONE 0 <-- change this to whatever your map name is...

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 0 640 480
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.50 0.50 0.50 0.00
shader "textures/mohmenu/dmloading/dm_loading_bg"
}

resource
Label
{
name "Default"
rect 104 36 430 332
fgcolor 1.00 1.00 1.00 1.00
bgcolor 1.00 1.00 1.00 0.00
borderstyle "NONE"
shader "textures/mohmenu/dmloading/YOURLOADINGSCREEN.jpg" <-- change this to where your loadingscreen .jpg is, if you use .tga see note
}

resource
Label
{
name "Default"
rect 104 36 430 332
fgcolor 1.00 1.00 1.00 1.00
bgcolor 1.00 1.00 1.00 0.00
borderstyle "NONE"
shader "sepiaoverlay"
}

resource
Label
{
title "YOURMAPNAME" <-- this is the mapname shadow that appears on the loadingscreen
name "Default"
rect 72 408 496 32
fgcolor 0.00 0.00 0.00 1.00
bgcolor 0.00 0.00 0.00 0.00
borderstyle "NONE"
font facfont-20
}

resource
Label
{
title "YOURMAPNAME" <-- This is the mapname that appears on the loadingscreen
name "Default"
rect 71 407 496 32
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.00 0.00 0.00 0.00
borderstyle "NONE"
font facfont-20
}

resource
Label
{
name "border"
rect 104 36 430 332
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.50 0.50 0.50 0.00
borderstyle "NONE"
shader "textures/mohmenu/dmloading/photo_border"
}

resource
Label
{
name "pushpin"
rect 270 22 58 62
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.50 0.50 0.50 0.00
borderstyle "NONE"
shader "textures/mohmenu/dmloading/pushpin"
}

end.

NOTE
If you use .tga loadingscreens, I will have to refer you to another topic, because I'm a noob on alpha channels...
:oops:
http://dynamic4.gamespy.com/~map/mohaa/ ... dingscreen
None of my friends want to come out and play. They think I'm crazy, but what can I say? -- Savatage - The Dungeons Are Calling
Post Reply