Frictional Games Forum (read-only)
How to make a fade on a custom storys Amnesia ? - 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: How to make a fade on a custom storys Amnesia ? (/thread-56562.html)



How to make a fade on a custom storys Amnesia ? - DarkMattNoir - 11-03-2019

Bonjour ! C'est le deuxième forum que je crée sur ce site. Je voudrais faire un fondu, mais je ne comprends pas comment le faire. Je suis française, j'ai 12 ans et comme tout est en anglais, il m'est difficile de comprendre. Merci d'avance, au revoir Smile !


RE: How to make a fade on a custom storys Amnesia ? - DarkMattNoir - 11-03-2019

Translation : Hello ! This is the second forum I create on this site. I would like to make a fade, but I do not understand how to do it. I am French, I am 12 years old and as everything is in English, it is difficult for me to understand. Thank you in advance, goodbye Smile !


RE: How to make a fade on a custom storys Amnesia ? - Mudbill - 11-03-2019

PHP Code:
void OnStart()
{
    
FadeOut(0.0f);
    
FadeIn(2.0f);




RE: How to make a fade on a custom storys Amnesia ? - DarkMattNoir - 11-04-2019

Thank you ? !


RE: How to make a fade on a custom storys Amnesia ? - DarkMattNoir - 11-06-2019

And how to remove it ?


RE: How to make a fade on a custom storys Amnesia ? - Mudbill - 11-07-2019

Ah, sorry, I actually wrote my original code wrong. I meant to use FadeIn instead of FadeOut for the last one.
I've updated it.