Frictional Games Forum (read-only)
How to raise camera of the first person view? - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+---- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-37.html)
+---- Thread: How to raise camera of the first person view? (/thread-53763.html)



How to raise camera of the first person view? - goodcap - 06-08-2017

So I want the player[first person camera] to be taller instead of having to decrease the size of all entities en static objects in a level. Is this possible?


RE: How to raise camera of the first person view? - Romulator - 06-09-2017

game.cfg would likely have some options there, or you could use this in your script:

PHP Code:
MovePlayerHeadPos(float afXfloat afYfloat afZfloat afSpeedfloat afSlowDownDist); 
Code:
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)

Have x and z at 0.0f, have y slightly upper so that you're taller, and change the speed and slowdown distance to whatever works nicely for you.