Play Credits When you Die - 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: Play Credits When you Die (/thread-9948.html) |
Play Credits When you Die - GreyFox - 08-23-2011 Hey Guys. I need to know how to play credits when you die. But only at one point (SPOILER......) Ending of my custom story. Also How do I even make some credits? I'm guessing in the extra_english.lang and make a category named "Credits" and then add entrys? or just one entry. Thanks -Grey Fox RE: Play Credits When you Die - BubbleTroll - 08-23-2011 I think there was a function like if the game sees you got 0 hp left its going to run a function. But i have no clue about the credit part. RE: Play Credits When you Die - Khyrpa - 08-23-2011 CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry); that and StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum); All you need. Check what each string etc. means in the Script functions page RE: Play Credits When you Die - Kyle - 08-23-2011 Half way down my post in this thread, it'll talk about setting up the credits. http://www.frictionalgames.com/forum/thread-9306-post-83125.html#pid83125 To check if the player's dead, this might work: Code: void OnStart() You can put this code wherever you want to like if you want the credits to start when the player reaches a certain point or something. I hope this helps at the very least. Edit: CRAP! Ninja'd! xD |