Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting uncouncious
zecuro Offline
Member

Posts: 162
Threads: 33
Joined: Jul 2011
Reputation: 3
#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
JenniferOrange Offline
Senior Member

Posts: 424
Threads: 43
Joined: Jun 2011
Reputation: 33
#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!

Ba-da bing, ba-da boom.
(This post was last modified: 07-18-2011, 09:55 PM by JenniferOrange.)
07-18-2011, 09:48 PM
Find
Kurton Offline
Senior Member

Posts: 533
Threads: 8
Joined: Oct 2010
Reputation: 16
#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
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#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




Users browsing this thread: 1 Guest(s)