How to 'Wake Up' (For intros, etc) - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Articles (https://www.frictionalgames.com/forum/forum-40.html) +---- Thread: How to 'Wake Up' (For intros, etc) (/thread-4626.html) |
RE: How to 'Wake Up' (For intros, etc) - LoneWolf - 11-21-2010 (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. 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. RE: How to 'Wake Up' (For intros, etc) - xToxic - 02-26-2011 This SHIT doesn't work RE: How to 'Wake Up' (For intros, etc) - Ongka - 02-26-2011 Sure it does. You only have to do it right. Again: PM me ;D RE: How to 'Wake Up' (For intros, etc) - GreatRhodand - 03-01-2011 doesnt matter RE: How to 'Wake Up' (For intros, etc) - RawkBandMan - 05-15-2011 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 () RE: How to 'Wake Up' (For intros, etc) - MrBigzy - 05-15-2011 It's: void wakeUp () {, so it's okay. RE: How to 'Wake Up' (For intros, etc) - RawkBandMan - 05-15-2011 (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. RE: How to 'Wake Up' (For intros, etc) - Karai16 - 05-15-2011 Thanks a bunch! I can really use this! RE: How to 'Wake Up' (For intros, etc) - MaZiCUT - 06-08-2012 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
RE: How to 'Wake Up' (For intros, etc) - Traggey - 06-08-2012 Moved to the correct forum. |