Frictional Games Forum (read-only)
How To Make Loading?? - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: How To Make Loading?? (/thread-8383.html)



How To Make Loading?? - Jayvee17 - 06-01-2011

Can Someone Tell ME How To Make A Loading... And Attach A Picture On It??


RE: How To Make Loading?? - palistov - 06-01-2011

In your OnLeave function call:

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


TextCat is the category of the loading text in your .lang file. TextEntry is obviously the entry under aforementioned category. int alRandomNum is the max number that will be randomly chosen when picking a loading screen (only used for when you have multiple ones and want them to be randomly picked). Put it as 1 if you have only 1 loadscreen, 2 if you have 2, etc. ImageFile is the loadscreen background. Use JPEG format, that's what I know works.

Good luck!


RE: How To Make Loading?? - Jayvee17 - 06-01-2011

Ok Thanks Dude!!