Frictional Games Forum (read-only)
[SCRIPT] 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: [SCRIPT] Credits (/thread-17387.html)



Credits - lexlex57 - 07-31-2012

I've got a problem with the End of my Cs when i use the Key on the door normally it should start the credits but it's start the standart credits not mine.I hope you can help me with my problem.


(I'am not in dev mode)


RE: Credits - lolmaster - 07-31-2012

We can't really help you because of the lack of information.


RE: Credits - lexlex57 - 07-31-2012

Uff sry here

PHP Code:
<CATEGORY Name="Ending">
            <
Entry Name ="MainCredits">Credits</Entry>
   </
CATEGORY

PHP Code:
        AddUseItemCallback("""key5""ENDE""ending"true); 

PHP Code:
//-----------------------------------------------------------------------------------
void ending(string &in itemstring &in entity)
{
        
StartCredits("ending_alexander.ogg"false"Ending""MainCredits"9001);
}
//--- 



RE: Credits - SilentStriker - 07-31-2012

Just name your credit to something else then MainCredits


RE: Credits - lexlex57 - 07-31-2012

does not work i get a black credits without text


RE: Credits - lolmaster - 07-31-2012

It's supposed to be MainCredits. You had it right, but here's mine as an example:




<.CATEGORY Name="Ending">
<.Entry Name="MainCredits">Thank you for testing The Tomb![br][br]
Created By: [br]
Lolmaster[br][br]
Things to be Added:[br]
- More levels[br]
- More notes[br]
- More "background"[br]
- More scares![br]
<./Entry>
<./CATEGORY>

Don't actually put in periods, I just added them because the "formatted code" messes it up.