Making a "usable" chair?

Avatar
MissStabby
160 Posts
Posted Jul 14, 2011
i'm thinking about creating a scene where the player has to sit down in a chair, and then the chair gets moved by some robot arms as a funny way of transportation.

Though how do i create a chair that i can use, so that on "use" the camera smoothly transports itself to the viewpoint of the chair and then stays "parented" to the chair until the player exits the chair.

In the end it should work similar to how the "combine transport pods" work,
like this one:
img

Advertisement
Registered users don’t see ads! Register now!
Avatar
Skotty
671 Posts
Posted Jul 14, 2011
Replied 2 hours later
You could create a point_viewcontrol following a path.
There is a flag for the viewcontrol to start where the players view is, so the transfer will be smooth.
The player can be teleported via point_teleport to any place he wants to leave.
Avatar
ChickenMobile
2,460 Posts
Posted Jul 14, 2011
Replied 22 minutes later
In HL2 they used a vehicle. You can use vehicles in Portal as well, however I haven't fiddled around with it much.
Avatar
Vordwann
767 Posts
Posted Jul 14, 2011
Replied 3 minutes later
Yeah they have used vehicles in Portal 2, such as (i think), your arms when you are getting up from the ground, after Wheatley booby traps the stalemate button.
Avatar
MissStabby
160 Posts
Posted Jul 14, 2011
Replied 9 hours later
i tried working with both the point_viewcontrol and point_viewproxy but they both constrain the camera.
Is there a way to use them with the player's body just being fixated instead of being in a headclamp
Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Jul 15, 2011
Replied 9 hours later

MissStabby wrote:
i tried working with both the point_viewcontrol and point_viewproxy but they both constrain the camera.
Is there a way to use them with the player's body just being fixated instead of being in a headclamp

Congrats on the Spotlight!!! And I think Valve has some kind of script for making the player constraint their view (to certain degrees/where you can move the mouse).
Remember when Chell is on the ground and you can see the moon. If you can see what they did that might be your answer.