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


Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to 'Wake Up' (For intros, etc)
LoneWolf Offline
Senior Member

Posts: 308
Threads: 43
Joined: Sep 2010
Reputation: 0
#11
RE: How to 'Wake Up' (For intros, etc)

(11-21-2010, 01:30 PM)Chilton Wrote:
(11-21-2010, 01:27 PM)LoneWolf Wrote: I use this wakeup, but at the beginnign before you get up my screen shakes horribly and i cant look around. No idea why this is but its annoying and i have no idea how to fix it.

Is your spawn partially in any objects, or in the ground at all? It could also be too high. Try refining the spawn area a touch

Failing that, have you modified it at all?



I haven't edited it at all. I had it on the ground, where i clicked at first. I then tried putting it abovethe ground and it still shakes. Not sure why but i will try again soem time today probably to make sure.
11-21-2010, 01:38 PM
Find
xToxic Offline
Junior Member

Posts: 8
Threads: 1
Joined: Feb 2011
Reputation: 0
#12
RE: How to 'Wake Up' (For intros, etc)

This SHIT doesn't workExclamationAngry
02-26-2011, 09:20 AM
Find
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#13
RE: How to 'Wake Up' (For intros, etc)

Sure it does.
You only have to do it right.
Again: PM me ;D

[Image: 18694.png]
02-26-2011, 10:15 AM
Find
GreatRhodand Offline
Junior Member

Posts: 4
Threads: 1
Joined: Feb 2011
Reputation: 0
#14
RE: How to 'Wake Up' (For intros, etc)

doesnt matter
(This post was last modified: 03-01-2011, 10:07 PM by GreatRhodand.)
03-01-2011, 10:03 PM
Find
RawkBandMan Offline
Posting Freak

Posts: 1,146
Threads: 35
Joined: Nov 2010
Reputation: 5
#15
RE: How to 'Wake Up' (For intros, etc)

Sorry for bumping, but should the } be after void wakeUp () or before it?

Script in OP:

void wakeUp () }

What I think it should be

}
void wakeUp ()

I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.
05-15-2011, 08:26 PM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#16
RE: How to 'Wake Up' (For intros, etc)

It's: void wakeUp () {, so it's okay.
05-15-2011, 08:44 PM
Find
RawkBandMan Offline
Posting Freak

Posts: 1,146
Threads: 35
Joined: Nov 2010
Reputation: 5
#17
RE: How to 'Wake Up' (For intros, etc)

(05-15-2011, 08:44 PM)MrBigzy Wrote: It's: void wakeUp () {, so it's okay.

Yeah I just realized that after looking at some of my scripts in my maps. The void parts never have { and } above or below them.

I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.
05-15-2011, 09:37 PM
Find
Karai16 Offline
Member

Posts: 164
Threads: 24
Joined: Apr 2011
Reputation: 0
#18
RE: How to 'Wake Up' (For intros, etc)

Thanks a bunch! I can really use this! Big Grin

Custom stories:
Her Games (100% Complete)
Her Games, All Bugs Fixed (100% Complete)
05-15-2011, 10:09 PM
Find
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#19
RE: How to 'Wake Up' (For intros, etc)

void wakeUp()
{
FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last
}

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


____________________________________________________________-
I've made the font red for corrected parts, don't mind me if i'm wrong i'm still a noob at scripting and i'm about to check this out Cool
06-08-2012, 02:44 PM
Website Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#20
RE: How to 'Wake Up' (For intros, etc)

Moved to the correct forum.
06-08-2012, 03:37 PM
Find




Users browsing this thread: 4 Guest(s)