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
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


Messages In This Thread
Starting uncouncious - by zecuro - 07-18-2011, 07:49 PM
RE: Starting uncouncious - by JenniferOrange - 07-18-2011, 09:48 PM
RE: Starting uncouncious - by JoeBradleyUK - 07-19-2011, 04:57 PM
RE: Starting uncouncious - by Kurton - 07-18-2011, 11:49 PM



Users browsing this thread: 1 Guest(s)