Frictional Games Forum (read-only)
Moving screen - 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 Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Moving screen (/thread-25037.html)



Moving screen - Icaab2608 - 04-09-2014

Can I make a loading screen moving?(Example:that lower points moved?)


RE: Moving screen - PutraenusAlivius - 04-09-2014

Can you explain more please?


RE: Moving screen - Romulator - 04-09-2014

As in an intro:
Spoiler below!

Your PlayerStart is a camera, and you use things like:

PHP Code:
void AddPlayerBodyForce(float afXfloat afYfloat afZbool abUseLocalCoords); 
Pushes the player into a certain direction. Note that you need values above ~2000 to see any effects.

afX - amount along the X-axis
afY - amount along the Y-axis
afZ - amount along the Z-axis
abUseLocalCoords - If true, axes are based on where the player is facing, not the world.

PHP Code:
void MovePlayerHeadPos(float afXfloat afYfloat afZfloat afSpeedfloat afSlowDownDist); 
Changes the position of the camera on the player's body.

afX - amount along the X-axis
afY - amount along the Y-axis
afZ - amount along the Z-axis
afSpeed - speed at which the change happens
afSlowDownDist - distance at which to start slowing down (prevents the head from abruptly stopping)

You may need to put them in a timer which loops however if you want to make it move for quite a while.


Otherwise, I got nothing. You might be able to play around with billboard animations if you mean just having the player looking at an image.

Also: if you mean between loading screens, no I don't think so.