Frictional Games Forum (read-only)
OPENING CREDITS HELP - 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: OPENING CREDITS HELP (/thread-9599.html)



OPENING CREDITS HELP - ZyLogicX - 08-05-2011

I want to create an opening credits like this:

Written, scripted and created by ZyLogic
- The Elder Sign: The Asylum -


RE: OPENING CREDITS HELP - Tanshaydar - 08-05-2011

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions

void StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum);
Starts the end credits screen.

asMusic - the music to play (including .ogg)
abLoopMusic - determines whether the music should loop
asTextCat - the category to be used in the .lang file (must be “Ending”)
asTextEntry - the entry in the .lang file (must be “MainCredits”)
alEndNum - Amnesia has 3 different endings and displays a code at the bottom. Determines which code is displayed. 0-2 will display codes, any other integer will not.


RE: OPENING CREDITS HELP - MrBigzy - 08-05-2011

Yeah, but that would end the game right after. :V

I don't think you'd be able to do that at the start.


RE: OPENING CREDITS HELP - Juby - 08-05-2011

You could fade the screen to black and disable player movement and look speed and then have a setmessage command at the start of the map to simulate credits.




RE: OPENING CREDITS HELP - MrBigzy - 08-05-2011

That might work, though the fade might also block out the words on the screen, not sure. And they wouldn't be scrolling, if that's what OP wants. D:


RE: OPENING CREDITS HELP - Khyrpa - 08-05-2011

fadeout does not block out setmessages!


RE: OPENING CREDITS HELP - MrBigzy - 08-05-2011

That's good, could be used for some opening stuff then.