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 Do i fade in/out
Russ Money Offline
Senior Member

Posts: 360
Threads: 25
Joined: Dec 2010
Reputation: 4
#4
RE: How Do i fade in/out

In your extra_english.lang file, (or whichever language you're working in) make a new Category and add this.
<CATEGORY Name="LoadingText">
<Entry Name="NAME_OF_ENTRY"> ENTRY TEXT HERE </Entry>
</CATEGORY>

You can use <br> for breaks (starting a new line) when editing .lang file.

Then, in your script.
SetupLoadScreen(string &asTextCat, string &asTextEntry, int alRandomNum, string &asImageFile);

string &asTextCat - The category, which is "LoadingText"
string &asTextEntry - the "NAME_OF_ENTRY"
int alRandomNum - I believe if you have numbered NAME_OF_ENTRY names, it'll choose a random one. I normally have it as 0
string &asImageFile - Inside your custom story root folder, make subfolders which will lead to "YOUR CUSTOM STORY"\graphics\general, in there you can put .jpgs to call as your loading backgrounds.

If you want anymore help on this or anything else, add me to Steam and you can feel free to PM me.

04-06-2011, 10:24 AM
Find


Messages In This Thread
How Do i fade in/out - by Itskody - 04-06-2011, 10:04 AM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 10:10 AM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 10:13 AM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 10:24 AM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 11:23 AM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 11:46 AM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 12:04 PM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 12:10 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 12:21 PM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 12:23 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 12:26 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 02:33 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 02:37 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 03:13 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 04:00 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 04:07 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 04:18 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 04:27 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 05:29 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 09:46 PM



Users browsing this thread: 1 Guest(s)