Anyway, I got the animated screenshot shader working just fine. And the urc file works too (except the "not found" thing), but it is not very "generic" yet. It would be great if the mapper could just drop the folders in his pk3 and not have to change a bunch of file names.
The first problem is the top line of the urc file, and the file name itself. It needs the map folder/name to work.
loading_test.urc
//================================
menu "dm/test" 640 481 NONE 0
bgcolor 0 0 0 1
borderstyle NONE
bgfill 0 0 0 1
fadein 0.2
virtualres 1
postinclude ui/loadingbar.txt // flashing loading sign
//postinclude ui/notfound.txt
resource
Label
{
name "Default"
//rect 96 48 448 336
rect 0 0 640 480
fgcolor 1.00 1.00 1.00 1.00
bgcolor 1.00 1.00 1.00 0.00
borderstyle "NONE"
shader "screen_shots"
}
resource
Label
{
title "<==WELCOME!==>"
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.
//================================
It is interesting that "postinclude ui/loadingbar.txt " is also a urc like file. But, it starts with this line.
menu "" 640 480 NONE 1
No map name! And, it is not used after a min file has been created.
So, does anyone have an idea how to improve it? I also still need to find a way to add that background--so the client does not get a gray screen for missing screenshots. The image is named notfound.tga and it is in the screenshots folder. The shader for it is also named "notfound".

Any ideas are welcome.



