summit
Senior Member
Posts: 273
Threads: 20
Joined: Jun 2013
Reputation:
7
|
How to make all screen black?
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.
|
|
08-27-2013, 03:06 PM |
|
ExpectedIdentifier
Member
Posts: 234
Threads: 10
Joined: Sep 2012
Reputation:
11
|
RE: How to make all screen black?
(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.
Closure ModDB page:
|
|
08-27-2013, 03:13 PM |
|
summit
Senior Member
Posts: 273
Threads: 20
Joined: Jun 2013
Reputation:
7
|
RE: How to make all screen black?
(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?
|
|
08-27-2013, 03:16 PM |
|
ExpectedIdentifier
Member
Posts: 234
Threads: 10
Joined: Sep 2012
Reputation:
11
|
RE: How to make all screen black?
(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);
Closure ModDB page:
|
|
08-27-2013, 03:19 PM |
|
summit
Senior Member
Posts: 273
Threads: 20
Joined: Jun 2013
Reputation:
7
|
RE: How to make all screen black?
(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.
|
|
08-27-2013, 03:21 PM |
|
ExpectedIdentifier
Member
Posts: 234
Threads: 10
Joined: Sep 2012
Reputation:
11
|
RE: How to make all screen black?
(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
http://wiki.frictionalgames.com/hpl2/amn..._functions
Closure ModDB page:
|
|
08-27-2013, 03:22 PM |
|
summit
Senior Member
Posts: 273
Threads: 20
Joined: Jun 2013
Reputation:
7
|
RE: How to make all screen black?
(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
http://wiki.frictionalgames.com/hpl2/amn..._functions I know Thanks again, but I couldn't the thing that I search for
|
|
08-27-2013, 03:27 PM |
|
|