Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My custom Credits arn't showing.
Author Message
onv Offline
Member

Posts: 51
Joined: Feb 2012
Reputation: 2
Post: #1
My custom Credits arn't showing.
Hey.
I have a little probleme with my Credits , i've writed my own one , but in-game , it shows the game's Credits (the original Credits)

Here how where the credits function is called :

void finish(string &in asEntity)
{
GiveSanityBoost();
FadeOut(1.7);
AddTimer("rrioairjaer", 2.0f, "startcredits");
}

void startcredits(string &in asTimer)
{
StartCredits("ending_alexander.ogg", false, "Ending", "MainCredits", 9001);
}

And here is the Category and the Entry in the extra_english.lang :

<CATEGORY Name="Ending">
<Entry Name="MainCredits">blablablablablabla[br][br][br]blablalba[br]*blabla[br]blabal</Entry>
</CATEGORY>

Is there anything wrong ? I will apreciate any tips or help.
08-03-2012 09:02 PM
Find all posts by this user Quote this message in a reply
Kurton Offline
Senior Member

Posts: 268
Joined: Oct 2010
Reputation: 5
Post: #2
RE: My custom Credits arn't showing.
My guess is it's looking for the MainCredits entry in the original game's .lang file before it looks in yours, so try changing 'MainCredits' to something unique like 'MyStoryCredits'

08-03-2012 11:17 PM
Find all posts by this user Quote this message in a reply
onv Offline
Member

Posts: 51
Joined: Feb 2012
Reputation: 2
Post: #3
RE: My custom Credits arn't showing.
Alright , i'll give it a look and feedback if it worked or not :3

EDIT: Thanks alot , it worked Smile
(This post was last modified: 08-04-2012 05:18 PM by onv.)
08-04-2012 01:39 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)