Frictional Games Forum (read-only)
[SCRIPT] Text On Level Door on Loading Screen - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Text On Level Door on Loading Screen (/thread-13874.html)



Text On Level Door on Loading Screen - jessehmusic - 03-09-2012

Hello all amnesia fans! i'v been looking around to learn about the Text on loading screen but it dosnt work :S
any tip and send the Lang. for the script please //JHM


RE: Text On Level Door on Loading Screen - flamez3 - 03-10-2012

Simply go to a custom story that does have that. And examine how they did it, thats how i did it.


RE: Text On Level Door on Loading Screen - Your Computer - 03-10-2012

SetupLoadScreen: http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#general1


RE: Text On Level Door on Loading Screen - jessehmusic - 03-10-2012

(03-10-2012, 01:46 AM)Your Computer Wrote: SetupLoadScreen: http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#general1
Sorry can't find Sad




RE: Text On Level Door on Loading Screen - Stepper321 - 03-10-2012

CTRL + F


RE: Text On Level Door on Loading Screen - JMFStorm - 03-10-2012

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.