Frictional Games Forum (read-only)
Ending and credits - 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: Ending and credits (/thread-9338.html)

Pages: 1 2


RE: Ending and credits - JetlinerX - 07-24-2011

<CATEGORY Name="Ending">
<Entry Name="Credits">Test Credts[br][br]Testing[br]test[br]testing the ending credits.</Entry>
</CATEGORY>
</LANGUAGE>


RE: Ending and credits - Khyrpa - 07-24-2011


CheckPoint ("EndGame", "Player_Start", "StartCredits", "DeathHintCategory", "DeathHintEntry");
}
void StartCredits(string &in asName, int alCount)
{
StartCredits("musicfile.ogg" , true , "Ending" , "Credits" , 1);
}

you had those wrong way around :u

asTextCat - the category to be used in the .lang file (must be “Ending”)
asTextEntry - the entry in the .lang file (must be “MainCredits”)

not sure if you gotta rename both Credits to MainCredits, cos wiki says so... try them out


RE: Ending and credits - JetlinerX - 07-24-2011

Guhhh... Still fades to black with no credit roll, current script is:
EXTRA ENGLISH READS:

<CATEGORY Name="Ending">
<Entry Name="MainCredits">The credits text</Entry>
</CATEGORY>
</LANGUAGE>

LEVEL HPS:
CheckPoint ("EndGame", "Player_Start", "StartCredits", "DeathHintCategory", "DeathHintEntry");
}
void StartCredits(string &in asName, int alCount)
{
StartCredits("musicfile.ogg" , true , "Ending" , "Credits" , 1);
}


RE: Ending and credits - Khyrpa - 07-24-2011

StartCredits("musicfile.ogg" , true , "Ending" , "MainCredits" , 1);

of course it has to be exactly the same as in
<Entry Name="MainCredits">


RE: Ending and credits - JetlinerX - 07-24-2011

YES! That worked, but its the Frictional Games credits, not mine Sad


RE: Ending and credits - Khyrpa - 07-24-2011

erm... Ah... change the Ending and MainCredits to whatever else, cos it seems like they direct the thing into the actual games lang file or something...

For example
<CATEGORY Name="End123">
<Entry Name="CreditText">The credits text</Entry>
</CATEGORY>
</LANGUAGE>

StartCredits("musicfile.ogg" , true , "End123" , "CreditText" , 1);



RE: Ending and credits - JetlinerX - 07-24-2011

Your a God. I added you to the credits, here is the link for the demo of the story:

http://www.gamefront.com/files/20592221/The+Attic+DEMO.rar

Thanks for all your amazing help!