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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Text On Level Door on Loading Screen
JMFStorm Offline
Member

Posts: 205
Threads: 8
Joined: Aug 2011
Reputation: 28
#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


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



Users browsing this thread: 1 Guest(s)