Frictional Games Forum (read-only)
Intro? - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Intro? (/thread-8073.html)



Intro? - Jumpman - 05-17-2011

Short question... How to I make an intro for my story?

I want a blackscreen with text that comes up (like a bla bla bla story...(fade) it's called bla bla bla (fade) and so on)... And I also want music to play then..

And when the blackscreen is done it will fade to my first start map, and I want the music to fade...

Thx.


RE: Intro? - Khyrpa - 05-17-2011

put these in OnStart function:
PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);
FadeOut(0);
Then use timers to trigger these:
SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
And to stop the music use this:
StopMusic(float afFadeTime, int alPrio);


RE: Intro? - Jumpman - 05-17-2011

Thank you so much! Smile