Page 1 of 1

Map in two mods - DM and OBJ vs LoadScreen

Posted: Fri Sep 09, 2005 2:11 am
by mcunha98
Hi

Is my first time in creation of two maps into a single pk3 (i put a map and script file into dm folder and another copy into obj folder).

When i load obj map, ok my loadscreen appear, but when i load a dm version my loadscreen dont work. Ok, i know the problem its in the urc file, but how i fix this problem ???

Code: Select all

menu "obj/user_98foucarville" 640 480 NONE 0 

bgcolor 0 0 0 1 
borderstyle NONE 
bgfill 0 0 0 1 
fullscreen 1 
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/user_98foucarville"
} 

end.

urc

Posted: Fri Sep 09, 2005 2:28 am
by tltrude
I think you will need another urc file. But, they can't both have the same name in the ui folder. That means your two versions of the bsp/script can not have the same name.

menu "dm/user_98foucarville_dm" 640 480 NONE 0

Posted: Fri Sep 09, 2005 12:18 pm
by mcunha98
TlTrude,

Thanks again for your reply.
In your suggestion, i change my urc file to this ???

Code: Select all

menu "obj/user_98foucarville_obj" 640 480 NONE 0 

bgcolor 0 0 0 1 
borderstyle NONE 
bgfill 0 0 0 1 
fullscreen 1 
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/user_98foucarville" 
} 

end. 

menu "dm/user_98foucarville_dm" 640 480 NONE 0 

bgcolor 0 0 0 1 
borderstyle NONE 
bgfill 0 0 0 1 
fullscreen 1 
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/user_98foucarville" 
} 

end.