How to make custom loading screens? - 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: How to make custom loading screens? (/thread-9870.html) |
How to make custom loading screens? - ZyLogicX - 08-19-2011 So, I am currently working on my Full Conversion mod named "The Elder Sign: The Asylum" and I want to create my own loading screen (everytime you go through a level_hub door) Basically it says on default "Loading..." But how do I make it say something else, and with a different background image like this: (but with text ofcourse, taken from La Caza) Much appreciated if anyone could help me. RE: How to make custom loading screens? - Tanshaydar - 08-19-2011 void SetupLoadScreen(string&asTextCat, string&asTextEntry, int alRandomNum, string&asImageFile); This? RE: How to make custom loading screens? - ZyLogicX - 08-19-2011 (08-19-2011, 11:27 PM)Tanshaydar Wrote: void SetupLoadScreen(string&asTextCat, string&asTextEntry, int alRandomNum, string&asImageFile); If you say so, But I dont have a clue how to work with that. Could you explain it to me? RE: How to make custom loading screens? - Tanshaydar - 08-19-2011 I don't know if it is this what you are exactly asking, but here: void SetupLoadScreen(string&asTextCat, string&asTextEntry, int alRandomNum, string&asImageFile); Determines which loading screen will be shown when changing maps. asTextCat - the category of the loading text in the .lang file to be shown on the loading screen asTextEntry - the entry in the .lang file alRandomNum - if greater 1, then it will randomize between 1 and alRandom for each LoadScreen giving entry the suffix XX (eg 01). If < =1 then no suffix is added asImageFile - the image to be shown (optional) From here: http://wiki.frictionalgames.com/hpl2/amnesia/script_functions RE: How to make custom loading screens? - Selyp - 08-20-2011 Yeah, Tanshaydar has it right. Just put that function in your onLeave section like this void OnLeave() { SetupLoadScreen(string&asTextCat, string&asTextEntry, int alRandomNum, string&asImageFile); } You can also put multiple ones and it will choose a loading screen at random (I believe, it might be a different function though, but it's similar) |