Page 1 of 1

Making the opening screen black and display a message

Posted: Tue Mar 11, 2003 11:20 pm
by ShadowX
I'm wanting to make the opening screen of my map stay black and display information (i.e. Omaha Beach). Does anyone know how to do this or where I can find information on this? Thanks


ShadowX

Posted: Wed Mar 12, 2003 12:01 am
by panTera
There is a tutorial on this subject on planetmedalofhonor.com/manstein. Here's the link to the page with the Level fade in tutorial.

Make the Letters Bigger

Posted: Wed Mar 12, 2003 5:06 am
by ShadowX
Is it possible to set the font for the fade in words bigger? They appear very small and it's hard to read. In the actual file, though, they are HUGE, like size 30 - 50. Anyone know? Thanks.

ShadowX

Posted: Wed Mar 12, 2003 9:56 am
by mohaa_rox
Maybe increase the .tga file of the text.

Posted: Wed Mar 12, 2003 6:22 pm
by panTera
In pak2.pk3 there's a folder called textures/gametext. You'll find the .tga files they used for the text. And you're right, they used a fontsize of 48 pts, but the text is written in the .tga file. Just open their textures in a paint program capable of handling tga. and see how it's done.

Paint editor

Posted: Wed Mar 12, 2003 6:38 pm
by ShadowX
I don't have a paint program capable of opening or editing a .tga. So I used Paint (lol). Anyway, I think I found what the problem was. I went into the *.urc file and made the rectangle bigger. The text is now bigger and more readable. Appreciate all the help.

ShadowX

Posted: Thu Mar 13, 2003 12:48 pm
by mohaa_rox
Hmm, get PSP or Photoshop. You can get a demo at the adobe page.

Posted: Mon Mar 24, 2003 2:43 pm
by bdbodger
because it is a tga you can do more than just words you can do pictures too . cheezer made one that was full screen not just black its not hard to do .
in your script put this
fadeout .001 0 0 0 1
showmenu mymenu1
wait 5
hidemenu 1
showmenu 2
wait 5
hidemenu mymenu2
fadein 10 0 0 0 1
in the mymenu1.urc file in the ui directory put this
menu "mymenu1" 640 480 NONE 0
bgcolor 0 0 0 1
borderstyle NONE
bgfill 0 0 0 1
fullscreen 1
virtualres 1

resource
Label
{
name "backround"
rect 0 0 640 480
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.00 0.00 0.00 0.00
borderstyle "NONE"
shader "textures/backround"
}

end.
put a tga named background.tga into the textures directory of your pak do the same for the second screen if you have one . You don't need to write a shader for it just put the tga in the textures directory . one more point I think I read that the game looks for a .tga first then if it can't find one it looks for a .jpg even if it says mytex.tga and your picture is mytex.jpg but I haven't tried it . You don't neet the extention in the urc anyway.