Getting the Credits to Roll - 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: Getting the Credits to Roll (/thread-15281.html) Pages:
1
2
|
RE: Almost Done / Lang File Error - Thief977 - 05-07-2012 Ok, I now have the door working, and all that's left are the credits. After that, I zip this up and put it up here. What's a basic code for an ending area? Nothing with massive flair, jsut a fade-out to the credits? I tried placing an area called exit, but I don't think what I put is working, since nothing happens: void exit(string&in asTimer) { AddTimer("timer02", 2.5f, "Credits"); } void Credits(string&in asTimer) { StartCredits("29_amb_end_daniel.ogg", false, "Ending", "MainCredits", -1); } Am I supposed to put something in the onLeave section? RE: Getting the Credits to Roll - Damascus - 05-07-2012 I would set the last number in StartCredits as a positive integer, as negative integers can mean something special. StartCredits("29_amb_end_daniel.ogg", false, "Ending", "MainCredits", 4); This should work if you are going for no code at the end. |