Frictional Games Forum (read-only)
A Wake Up Script I Made From Scratch - 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)
+--- Thread: A Wake Up Script I Made From Scratch (/thread-18112.html)

Pages: 1 2


A Wake Up Script I Made From Scratch - Zaffre - 09-02-2012

Hi. I'm starting work on a new custom story, and decided to try out a script for the character waking up and getting out of bed. I'm still relatively novice at scripting, so it may not be the best, but how does this look?





RE: A Wake Up Script I Made From Scratch - Brothersvv09 - 09-02-2012

LOVE IT! EPIC!


RE: A Wake Up Script I Made From Scratch - Obsidiaguy - 09-02-2012

Don't know much about scripting, but I feel that the story is told perfectly fine. I suppose it would make a lot more sense when the player moves from that position and can see they came from the bed. I've seen the head down on the side and coming up in other mods, and it always feels a bit excessive to me.


RE: A Wake Up Script I Made From Scratch - failedALIAS - 09-02-2012

I think you should ease into it more. Not just footsteps than BAM!


RE: A Wake Up Script I Made From Scratch - Zaffre - 09-02-2012

Thanks for all the feedback. Also, @Obsidiaguy, when you turn around, there is a bed behind you, so there's clarification about that. And I should've added this, but when you start moving you get a memento that says "Disturbance in the night. Investigate the source."


RE: A Wake Up Script I Made From Scratch - Streetboat - 09-03-2012

You should play around with FadePlayerRollTo, and make it so you start off at a 90 degree slant, insinuating that the player is lying down, then have it roll up to normal position.

Another thing to take note of, is if the player is indeed awoken with a gasp to a loud noise, wouldn't it fade right in as you bolt awake? Something neat you could do is set the SepiaTone and Radialblur to a high degree while the screen is faded to black (so, right from the start), and then when the player bolts awake, have those gradually shift back to normal to simulate grogginess. Smile


A Script I Made For My Story - Zaffre - 09-03-2012

Hi. I uploaded a video of a "waking up" script last night, and I decided to continue it. After four tedious hours (150 lines of code is a lot for a novice scripter!), I've come up with a continuation, where the disturbance is investigated and the cause is found. What do you think?





RE: A Script I Made For My Story - Akos115 - 09-03-2012

I really like it, good job Big Grin


RE: A Script I Made For My Story - Melvin - 09-03-2012

Great work with the timers!


RE: A Script I Made For My Story - i3670 - 09-03-2012

Good job. There is however an issue that I think could be solved quite easily. I'm talking about the wake up. If I heard footsteps and then a loud bang I wouldn't wake up as if it was blue monday, I'd be jumping out of bed. There is also the music, I think it's too calm and soothing, not really frightening or eerie.