Frictional Games Forum (read-only)
My custom Credits arn't showing. - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: My custom Credits arn't showing. (/thread-17459.html)



My custom Credits arn't showing. - onv - 08-03-2012

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.


RE: My custom Credits arn't showing. - Kurton - 08-03-2012

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'


RE: My custom Credits arn't showing. - onv - 08-04-2012

Alright , i'll give it a look and feedback if it worked or not :3

EDIT: Thanks alot , it worked Smile