Making the opening screen black and display a message

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
ShadowX
Lance Corporal
Posts: 16
Joined: Sun Mar 09, 2003 9:10 am
Location: Ohio

Making the opening screen black and display a message

Post 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
You may have over 100 skydives, but until you've jumped into pitch black darkness at 1200 feet, carrying over 150lbs of equipment, you just haven't lived! Airborne.
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post 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.
ShadowX
Lance Corporal
Posts: 16
Joined: Sun Mar 09, 2003 9:10 am
Location: Ohio

Make the Letters Bigger

Post 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
You may have over 100 skydives, but until you've jumped into pitch black darkness at 1200 feet, carrying over 150lbs of equipment, you just haven't lived! Airborne.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Maybe increase the .tga file of the text.
Live to map, not map to live.
-mohaa_rox, .map
moderator
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post 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.
ShadowX
Lance Corporal
Posts: 16
Joined: Sun Mar 09, 2003 9:10 am
Location: Ohio

Paint editor

Post 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
You may have over 100 skydives, but until you've jumped into pitch black darkness at 1200 feet, carrying over 150lbs of equipment, you just haven't lived! Airborne.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Hmm, get PSP or Photoshop. You can get a demo at the adobe page.
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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.
Post Reply