Frictional Games Forum (read-only)
How to make all screen black? - 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: How to make all screen black? (/thread-22614.html)



How to make all screen black? - summit - 08-27-2013

Hello guys, I am working on a new project. I want to be all screen black. You can't see anything. And I'm going to show messages on screen. I will tell the story like that. I know how to show messages but I don't know how to make all screen black. So my messages look better with all screen black.


RE: How to make all screen black? - ExpectedIdentifier - 08-27-2013

(08-27-2013, 03:06 PM)Arbies Wrote: Hello guys, I am working on a new project. I want to be all screen black. You can't see anything. And I'm going to show messages on screen. I will tell the story like that. I know how to show messages but I don't know how to make all screen black. So my messages look better with all screen black.

FadeOut(0); //This will fade the screen out instantly.

FadeIn(5); //This will fade the screen back in over 5 seconds.


RE: How to make all screen black? - summit - 08-27-2013

(08-27-2013, 03:13 PM)sonataarctica Wrote:
(08-27-2013, 03:06 PM)Arbies Wrote: Hello guys, I am working on a new project. I want to be all screen black. You can't see anything. And I'm going to show messages on screen. I will tell the story like that. I know how to show messages but I don't know how to make all screen black. So my messages look better with all screen black.

FadeOut(0); //This will fade the screen out instantly.

FadeIn(5); //This will fade the screen back in over 5 seconds.
Oh thanks, I thinked FadeOut and FadeIn works for another thing.

And there is one more question, I want to make my message stay on the screen like 30 seconds, how can I make it stay 30 sec with codes?


RE: How to make all screen black? - ExpectedIdentifier - 08-27-2013

(08-27-2013, 03:16 PM)Arbies Wrote:
(08-27-2013, 03:13 PM)sonataarctica Wrote:
(08-27-2013, 03:06 PM)Arbies Wrote: Hello guys, I am working on a new project. I want to be all screen black. You can't see anything. And I'm going to show messages on screen. I will tell the story like that. I know how to show messages but I don't know how to make all screen black. So my messages look better with all screen black.

FadeOut(0); //This will fade the screen out instantly.

FadeIn(5); //This will fade the screen back in over 5 seconds.
Oh thanks, I thinked FadeOut and FadeIn works for another thing.

And there is one more question, I want to make my message stay on the screen like 30 seconds, how can I make it stay 30 sec with codes?

When using messages, the length the message is displayed for is the third parameter, for example this message would display for 15 seconds:

SetMessage("Message1Category", "Message1Text", 15);


RE: How to make all screen black? - summit - 08-27-2013

(08-27-2013, 03:19 PM)sonataarctica Wrote:
(08-27-2013, 03:16 PM)Arbies Wrote:
(08-27-2013, 03:13 PM)sonataarctica Wrote:
(08-27-2013, 03:06 PM)Arbies Wrote: Hello guys, I am working on a new project. I want to be all screen black. You can't see anything. And I'm going to show messages on screen. I will tell the story like that. I know how to show messages but I don't know how to make all screen black. So my messages look better with all screen black.

FadeOut(0); //This will fade the screen out instantly.

FadeIn(5); //This will fade the screen back in over 5 seconds.
Oh thanks, I thinked FadeOut and FadeIn works for another thing.

And there is one more question, I want to make my message stay on the screen like 30 seconds, how can I make it stay 30 sec with codes?

When using messages, the length the message is displayed for is the third parameter, for example this message would display for 15 seconds:

SetMessage("Message1Category", "Message1Text", 15);
Oh thanks. I almost forgot everything.


RE: How to make all screen black? - ExpectedIdentifier - 08-27-2013

(08-27-2013, 03:21 PM)Arbies Wrote:
(08-27-2013, 03:19 PM)sonataarctica Wrote:
(08-27-2013, 03:16 PM)Arbies Wrote:
(08-27-2013, 03:13 PM)sonataarctica Wrote:
(08-27-2013, 03:06 PM)Arbies Wrote: Hello guys, I am working on a new project. I want to be all screen black. You can't see anything. And I'm going to show messages on screen. I will tell the story like that. I know how to show messages but I don't know how to make all screen black. So my messages look better with all screen black.

FadeOut(0); //This will fade the screen out instantly.

FadeIn(5); //This will fade the screen back in over 5 seconds.
Oh thanks, I thinked FadeOut and FadeIn works for another thing.

And there is one more question, I want to make my message stay on the screen like 30 seconds, how can I make it stay 30 sec with codes?

When using messages, the length the message is displayed for is the third parameter, for example this message would display for 15 seconds:

SetMessage("Message1Category", "Message1Text", 15);
Oh thanks. I almost forgot everything.

No problem. If you get stuck, I suggest using this page, it's very helpful Big Grin
http://wiki.frictionalgames.com/hpl2/amnesia/script_functions


RE: How to make all screen black? - summit - 08-27-2013

(08-27-2013, 03:22 PM)sonataarctica Wrote:
(08-27-2013, 03:21 PM)Arbies Wrote:
(08-27-2013, 03:19 PM)sonataarctica Wrote:
(08-27-2013, 03:16 PM)Arbies Wrote:
(08-27-2013, 03:13 PM)sonataarctica Wrote: FadeOut(0); //This will fade the screen out instantly.

FadeIn(5); //This will fade the screen back in over 5 seconds.
Oh thanks, I thinked FadeOut and FadeIn works for another thing.

And there is one more question, I want to make my message stay on the screen like 30 seconds, how can I make it stay 30 sec with codes?

When using messages, the length the message is displayed for is the third parameter, for example this message would display for 15 seconds:

SetMessage("Message1Category", "Message1Text", 15);
Oh thanks. I almost forgot everything.

No problem. If you get stuck, I suggest using this page, it's very helpful Big Grin
http://wiki.frictionalgames.com/hpl2/amnesia/script_functions
I know Smile Thanks again, but I couldn't the thing that I search for Big Grin