Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 162 Guests
Online:

LATEST FORUM THREADS

»
Mohaa maps on Cod2?
CoD2 MP Mapping
is this place alive?
CoDBO3 Mapping
Call of DutyŽ: WWII
CoD WW2 General

Tutorials

»
CoD Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Adding an Intro Screen to Your SP Map
Versions: You must be logged in to view history.
How to add an introscreen to your single player map
How to add an introscreen to your single player map

user posted image
This is very easy to do,so lets get started.

PART 1:
In your maps GSC file add the following

main()
{
maps_load::main();

precacheshader("black");

thread intro_screen();
level waittill ("finished intro screen");
}

intro_screen()
{
precacheString(&"TEST_C47_CRASH_TEST_PLACE");
precacheString(&"TEST_C47_CRASH_TEST_DATE");
precacheString(&"TEST_C47_CRASH_TEST_TIME");
maps_introscreen::introscreen(&"TEST_C47_CRASH_TEST_PLACE", &"TEST_C47_CRASH_TEST_DATE", &"TEST_C47_CRASH_TEST_TIME");
}

TEST_C47_CRASH is the localizedstring file name.
TEST_PLACE is the reference name

PART 2:
In order to use localized strings you need to create a .str file.
An str file is nothing more than a text file with a str extension.
So open notepad,or any text program,and add the following.

REFERENCE TEST_PLACE
LANG_ENGLISH "Location Classified."

REFERENCE TEST_DATE
LANG_ENGLISH "August 10, 1942"

REFERENCE TEST_TIME
LANG_ENGLISH "0530 hrs"

ENDMARKER

Now save your new str file and place it in localizedstings/english folders.

And thats it,you now have an introscreen like the image above.

Because you are using maps_introscreen::introscreen thread,you can only have three string lines.
If you wanted you could make a new gsc file and alter that thread to your liking.

Tutorial by Bodger2

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»