Frictional Games Forum (read-only)
How do you start your own 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: How do you start your own Credits? (/thread-10757.html)



How do you start your own Credits? - flamez3 - 10-15-2011

Pretty much the title


void OnStart()
{
AddEntityCollideCallback("Player" , "ScriptArea_1" , "MonsterFunc1" , true , 1);
}

void MonsterFunc1(string &in asParent , string &in asChild , int alState)
{
StartCredits( "", false, "Ending", "MainCredits", 0);
}

It starts the credits but it stars the Amnesia ending credits, not the one in my extra_english.lang?




hi


thats what's in my extra_english.lang


RE: How to start credits after entering a door? - Obliviator27 - 10-15-2011

I would do this.
- Lock the Door in the editor
- SetEntityPlayerInteractCallback
- StartCredits



RE: How to start credits after entering a door? - flamez3 - 10-15-2011

EDIT

Look at OP


RE: How do you start your own Credits? - Obliviator27 - 10-15-2011

Make sure in your extra_english.lang looks something like this

Code:
<LANGUAGE>
<CATEGORY Name="Ending">
<Entry Name="MainCredits">Insert your credits here</Entry>
</CATEGORY>
</LANGUAGE>



RE: How do you start your own Credits? - Statyk - 10-15-2011

Just for safety's sake. I would change the name of "Ending" and "MainCredits" to something else like... "Super_Ending" and "Super_Credits". It could be reading something else >>



RE: How do you start your own Credits? - Juby - 10-15-2011

(10-15-2011, 12:59 PM)Statyk Wrote: Just for safety's sake. I would change the name of "Ending" and "MainCredits" to something else like... "Super_Ending" and "Super_Credits". It could be reading something else >>


It has to be that for it to work actually (MainCredits and Ending).

This may or may not be an issue but: StartCredits( ""
(the space before the "")


RE: How do you start your own Credits? - flamez3 - 10-15-2011

(10-15-2011, 07:19 PM)Juby Wrote:
(10-15-2011, 12:59 PM)Statyk Wrote: Just for safety's sake. I would change the name of "Ending" and "MainCredits" to something else like... "Super_Ending" and "Super_Credits". It could be reading something else >>


It has to be that for it to work actually (MainCredits and Ending).

This may or may not be an issue but: StartCredits( ""
(the space before the "")


I followed the tut I found, and it said i had to do what your saying (maincredits and ending) but then it just loads the Amnesia ending credits, not my custom one?