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
My custom Credits arn't showing.
onv Offline
Member

Posts: 51
Threads: 12
Joined: Feb 2012
Reputation: 2
#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
Kurton Offline
Senior Member

Posts: 533
Threads: 8
Joined: Oct 2010
Reputation: 16
#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
onv Offline
Member

Posts: 51
Threads: 12
Joined: Feb 2012
Reputation: 2
#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




Users browsing this thread: 1 Guest(s)