Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Text On Level Door on Loading Screen
Author Message
JMFStorm Offline
Member

Posts: 205
Joined: Aug 2011
Reputation: 28
Post: #6
RE: Text On Level Door on Loading Screen
Make a "PlayerInteractCallback" with a name "LoadingScreenText" to the level_door's entity properties tab found on the right side of the level editor.
Then open your maps .hps text file and type the following:

void LoadingScreenText (string &in asEntity)
{
SetupLoadScreen("LoadingScreen", "TextOne", 1, "MyImage.jpg");
}

Then open your extra_english.lang text file and then put the following.

<CATEGORY NameLoadingScreen">
<Entry Name="TextOne">Now this text works in my loading screen thanks to JMFStorm.</Entry>
</CATEGORY>

If you want a picture to appear on the screen aswell have it named as "MyImage.jpg" and put it in your custom story's folder. I recommend the image size of 700x392.

03-10-2012 05:21 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Text On Level Door on Loading Screen - JMFStorm - 03-10-2012 05:21 PM



User(s) browsing this thread: 1 Guest(s)