Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting uncouncious
Author Message
zecuro Offline
Member

Posts: 153
Joined: Jul 2011
Reputation: 3
Post: #1
Starting uncouncious
hey i got 2 question sorry for my bad english......: )
first.....i'm working on a great map but i was wondering if somebody know how to start like in amnesia justine and the dark descent you start uncouncious and then you have probleme gettin up weelll that it for that


second,,,, wondering if peoplpe could give me a hint on the light system
i saw in a couple of video on the internet a way to get more realistic windows light effect......

zecuro
07-18-2011 07:49 PM
Find all posts by this user Quote this message in a reply
JenniferOrange Offline
Senior Member

Posts: 428
Joined: Jun 2011
Reputation: 33
Post: #2
RE: Starting uncouncious
To start "unconcious" and slowly wake, put this in your .hps file:
Spoiler below!
void OnStart()
{
FadeOut(0);
FadeIn(20);
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220);
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true);
AddTimer("trig1", 7.0f, "beginStory");
}

void beginStory(string &in asTimer)
{
ChangePlayerStateToNormal();
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33);
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(false);
FadeImageTrailTo(0,1);
}

That should make the Player start on the "ground" and slowly get up, then regain their light focus. Change AddTimer("trig1", 7.0f, "beginStory"); to any other number value to make it last longer. Ex: AddTimer("trig1", 11.0f, "beginStory"); that would make it last 11 seconds. Hope this was helpful.

For a more realistic lighting effect I'm not entirely sure on, but if you watch greengc035 on YouTube he could be of some help? http://www.youtube.com/watch?v=RGVHE4gsFZ8 he was helpful to me. This video is on lighting, I hope it helps you!

[Image: button.png]
(This post was last modified: 07-18-2011 09:55 PM by JenniferOrange.)
07-18-2011 09:48 PM
Find all posts by this user Quote this message in a reply
Kurton Online
Senior Member

Posts: 268
Joined: Oct 2010
Reputation: 5
Post: #3
RE: Starting uncouncious
I dunno about some of you, but unless I changed the FadePlayerRollTo(50, 220, 220); to FadePlayerRollTo(50, 120, 120); , I got these erratic shakes and jitters as the player's view was fading in.

07-18-2011 11:49 PM
Find all posts by this user Quote this message in a reply
JoeBradleyUK Offline
Member

Posts: 115
Joined: Jul 2011
Reputation: 0
Post: #4
RE: Starting uncouncious
Aha, just what I wanted :3


(07-18-2011 09:48 PM)JenniferOrange Wrote:  To start "unconcious" and slowly wake, put this in your .hps file:
Spoiler below!
void OnStart()
{
FadeOut(0);
FadeIn(20);
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220);
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true);
AddTimer("trig1", 7.0f, "beginStory");
}

void beginStory(string &in asTimer)
{
ChangePlayerStateToNormal();
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33);
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(false);
FadeImageTrailTo(0,1);
}

That should make the Player start on the "ground" and slowly get up, then regain their light focus. Change AddTimer("trig1", 7.0f, "beginStory"); to any other number value to make it last longer. Ex: AddTimer("trig1", 11.0f, "beginStory"); that would make it last 11 seconds. Hope this was helpful.

For a more realistic lighting effect I'm not entirely sure on, but if you watch greengc035 on YouTube he could be of some help? http://www.youtube.com/watch?v=RGVHE4gsFZ8 he was helpful to me. This video is on lighting, I hope it helps you!

:Work In Progress:
Insanity
07-19-2011 04:57 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)