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
How to make custom loading screens?
ZyLogicX Offline
Member

Posts: 245
Threads: 24
Joined: May 2011
Reputation: 6
#1
How to make custom loading screens?

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)
[Image: 377270979.jpg?AWSAccessKeyId=AKIAJF3XCCK...v914sj8%3D]

Much appreciated if anyone could help me.

Beyond the Mountains of Madness [15%]
This forum is dying.
(This post was last modified: 08-19-2011, 11:24 PM by ZyLogicX.)
08-19-2011, 11:24 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: How to make custom loading screens?

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

This?

08-19-2011, 11:27 PM
Website Find
ZyLogicX Offline
Member

Posts: 245
Threads: 24
Joined: May 2011
Reputation: 6
#3
RE: How to make custom loading screens?

(08-19-2011, 11:27 PM)Tanshaydar Wrote: void SetupLoadScreen(string&asTextCat, string&asTextEntry, int alRandomNum, string&asImageFile);

This?

If you say so, But I dont have a clue how to work with that.

Could you explain it to me?

Beyond the Mountains of Madness [15%]
This forum is dying.
08-19-2011, 11:28 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#4
RE: How to make custom loading screens?

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/amn..._functions

08-19-2011, 11:39 PM
Website Find
Selyp Offline
Member

Posts: 210
Threads: 19
Joined: Feb 2011
Reputation: 7
#5
RE: How to make custom loading screens?

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)


Atlantia - An Amnesia: The Dark Descent Full Conversion Mod
08-20-2011, 07:34 AM
Find




Users browsing this thread: 2 Guest(s)