HL2 ingame playerview movement Created 18 years ago2006-07-31 22:03:34 UTC by IMUS IMUS

Created 18 years ago2006-07-31 22:03:34 UTC by IMUS IMUS

Posted 18 years ago2006-07-31 22:03:34 UTC Post #192135
Does anyone know how to make the players view move like what happend at
the beginging of hl2 when gorden gets knocked out by the police and when you come to, Alyx is standing over you and then you get up. Could some one please enlighten me on this.
Posted 18 years ago2006-07-31 22:08:33 UTC Post #192136
I know this isn't much help, but im thinking its a scripted sequence.
Posted 18 years ago2006-07-31 22:15:34 UTC Post #192137
ya im pritty sure it is to but..... what kind of scripting the type you have to actually wright out a txt file and stuff
Posted 18 years ago2006-08-01 01:18:01 UTC Post #192147
I have no idea at all, but there may be other ppl where who do know. You may also want to use the search function at the Valve wiki and search for "scripted sequence"

http://developer.valvesoftware.com/wiki/Main_Page

Good luck :)
Posted 18 years ago2006-08-01 05:06:01 UTC Post #192152
It is easy to do with a point_viewcontrol, set it up to follow some path_tracks in the motion of standing up.
Posted 18 years ago2006-08-01 06:06:03 UTC Post #192155
yeah. the player isnt actually lying down in that sequence. Its faked with a point_viewcontrol (somewhat like a camera) which moves up.

A script tells Alyx to play the animation
Archie ArchieGoodbye Moonmen
Posted 18 years ago2006-08-01 06:18:07 UTC Post #192156
I used it in my latest horror map and my TWHL compo map thanks to a kindly example by a man I shant speak of.

Quite simply it's a point_viewcontrol combined with path_tracks and if you want it to turn like you were getting up from a bed then you need to assign func_door_rotating and parent it to the camera so when it follows the path to the door which is a small brush covered in nodraw it rotates like it was part of the door.
Habboi HabboiSticky White Love Glue
You must be logged in to post a response.