Frictional Games Forum (read-only)
[REQUEST] Custom story ending help please. - 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)
+--- Thread: [REQUEST] Custom story ending help please. (/thread-16462.html)



Custom story ending help please. - interruption27 - 06-24-2012

So, i did a custom story Troll Story which had lots of bugs glitches and so on. I couldn't make the end credits work on that. So im trying to advance some more. Would anyone help me whats wrong with this script? it doesn't crash or anything, it just doesn't respond and start the credits.

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_4", "credits", true, 1);

}

void credits(string& asMusic, bool abLoopMusic, string& as TextCat, string& asTextEntry, int alEndNum)

{
StartCredits("ending_credits_skillet.ogg", false, "Ending", "demoending", 9001);
}

please help Tongue


RE: Custom story ending help please. - MaZiCUT - 06-24-2012

You need to have a credits category in your extra_english.lang file.


RE: Custom story ending help please. - interruption27 - 06-24-2012

(06-24-2012, 06:05 PM)CrazyArts Wrote: You need to have a credits category in your extra_english.lang file.
<LANGUAGE>


<CATEGORY Name="Ending">

<Entry Name="demoending">Thank you for playing my Jail Escape Demo. Smile I hope you report all the bugs, glitches and laggs if you came across with them. The specific day of the full version publish day isn't decided yet but its gonna come soon! Smile Made by: Interruption27/Vilperi27 (Same person)
</Entry>

</CATEGORY>

</LANGUAGE>

thats my .lang category.


RE: Custom story ending help please. - MaZiCUT - 06-24-2012

(06-24-2012, 06:07 PM)interruption27 Wrote:
(06-24-2012, 06:05 PM)CrazyArts Wrote: You need to have a credits category in your extra_english.lang file.




Thank you for playing my Jail Escape Demo. Smile I hope you report all the bugs, glitches and laggs if you came across with them. The specific day of the full version publish day isn't decided yet but its gonna come soon! Smile Made by: Interruption27/Vilperi27 (Same person)






thats my .lang category.


I'm not sure but i think the Ending category should be called Credits


RE: Custom story ending help please. - interruption27 - 06-24-2012

(06-24-2012, 06:09 PM)CrazyArts Wrote:
(06-24-2012, 06:07 PM)interruption27 Wrote:
(06-24-2012, 06:05 PM)CrazyArts Wrote: You need to have a credits category in your extra_english.lang file.




Thank you for playing my Jail Escape Demo. Smile I hope you report all the bugs, glitches and laggs if you came across with them. The specific day of the full version publish day isn't decided yet but its gonna come soon! Smile Made by: Interruption27/Vilperi27 (Same person)






thats my .lang category.


I'm not sure but i think the Ending category should be called Credits
didn't work :/

(06-24-2012, 06:09 PM)CrazyArts Wrote:
(06-24-2012, 06:07 PM)interruption27 Wrote:
(06-24-2012, 06:05 PM)CrazyArts Wrote: You need to have a credits category in your extra_english.lang file.




Thank you for playing my Jail Escape Demo. Smile I hope you report all the bugs, glitches and laggs if you came across with them. The specific day of the full version publish day isn't decided yet but its gonna come soon! Smile Made by: Interruption27/Vilperi27 (Same person)






thats my .lang category.


I'm not sure but i think the Ending category should be called Credits
i got it working now, i had to put one entity active so that scriptarea would react the player -.-"