Amnesia: The Dark Descent

Amnesia: The Dark Descent

View Stats:
adriartilol Aug 24, 2019 @ 3:19pm
How to make a wake up animation?
I've searched and searched and theres no tutorials on how to make a wake up animation when the game starts, neither there is about animating the player at all.

help.
< >
Showing 1-1 of 1 comments
adriartilol Aug 25, 2019 @ 4:19am 
Originally posted by foggyskybox:
Animating the camera is not an easy process at all (if you want to make it look good).

Here's a very simple tut I found on how to make a "wake-up" anim: https://wiki.frictionalgames.com/hpl2/tutorials/script/sequences
It just rotates the player camera to make it look like he's lying on something.

But if you want to make it look dynamic and realistic, you'll need to do more work. I suggest you use the Rainy-Hall script file to understand how the process works. You can also use the Wine Cellar one for a more simple sequence of wake-up (after barrels drop on your head).

All the player animation functions are here: https://wiki.frictionalgames.com/hpl2/amnesia/script_functions#player

For a good sequence, you'll probably need to slow player down first (SetPlayerActive or SetPlayerMoveSpeedMul), don't forget to disable jumping or crouching if you need to. Then force player to look at areas (StartPlayerLookAt). To lower or rise the head you'll need to use MovePlayerHeadPos function, FadePlayerRollTo is for rotating.

There is more you'll need to do but I don't want to make a wall of text here. I hope this was somewhat helpful...
Ok I fixed the other problem now there's a new one; It doesn't work.
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Aug 24, 2019 @ 3:19pm
Posts: 1