Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading screens
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#2
RE: Loading screens

I'll do a breakdown for you to make it simple:

SetupLoadScreen(string&asTextCat, string&asTextEntry, int alRandomNum, string&asImageFile);

asTextCat - This is the category in the .lang file where to find the entry for the loadscreen text shown during a loadscreen.
asTextEntry - This is the entry that will contain the text message displayed during the loadscreen
int alRandomNum - This sets the amount of different text messages that can be displayed. Say if you set this as 3, for instance, you would need to add 3 different entries in your category for the loadscreen.
asImageFile - This is the picture to display, put the file name of the image here. no extension. Must be a .jpg, I haven't experimented otherwise.

Okay Example of the command. This can be put wherever your feel like it. The loadscreen will not change until you use this command again.
SetupLoadScreen("LoadingText", "Text_", 3, "TDG_Storage");

example of extra_english.lang
    <CATEGORY Name="LoadingText">
        <Entry Name="Text_01">Text</Entry>
        <Entry Name="Text_02">More Text</Entry>
        <Entry Name="Text_03">Even More Text</Entry>
        <CATEGORY>

It will chose one of the 3 entries to display during the loadscreen. Your loadscreen image must be in a folder called "images" in your custom_story.

P.S if i made a mistake in the code, I'm sorry, it's late over here and a hurricane is incoming.

Insanity. Static.
08-27-2011, 04:55 AM
Find


Messages In This Thread
Loading screens - by zeravia - 08-27-2011, 02:56 AM
RE: Loading screens - by Juby - 08-27-2011, 04:55 AM
RE: Loading screens - by zeravia - 08-27-2011, 06:08 AM
RE: Loading screens - by MegaScience - 08-27-2011, 07:31 AM
RE: Loading screens - by zeravia - 08-27-2011, 07:50 AM
RE: Loading screens - by Elven - 08-27-2011, 10:52 AM
RE: Loading screens - by zeravia - 08-27-2011, 06:00 PM
RE: Loading screens - by Elven - 08-27-2011, 06:02 PM
RE: Loading screens - by zeravia - 08-27-2011, 07:51 PM
RE: Loading screens - by Juby - 08-27-2011, 07:56 PM
RE: Loading screens - by zeravia - 08-27-2011, 08:08 PM
RE: Loading screens - by zeravia - 08-29-2011, 12:07 AM
RE: Loading screens - by zeravia - 08-28-2011, 04:26 AM
RE: Loading screens - by Your Computer - 08-28-2011, 06:32 AM
RE: Loading screens - by zeravia - 08-28-2011, 08:40 PM
RE: Loading screens - by Elven - 08-28-2011, 08:52 PM
RE: Loading screens - by zeravia - 08-28-2011, 09:12 PM
RE: Loading screens - by Elven - 08-28-2011, 09:28 PM
RE: Loading screens - by zeravia - 08-28-2011, 09:34 PM
RE: Loading screens - by Elven - 08-28-2011, 09:35 PM
RE: Loading screens - by Your Computer - 08-29-2011, 12:51 AM
RE: Loading screens - by zeravia - 08-29-2011, 09:04 PM



Users browsing this thread: 1 Guest(s)