--
[ Picked text/plain from multipart/alternative ]

----- Original Message -----
From: "Christian Wolfgang" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, May 20, 2007 1:43 PM
Subject: Re: [hlcoders] Rotating a player


> --
> [ Picked text/plain from multipart/alternative ]
> I got the view working, but how do I rotate the actual model in Source? So
> it fits to the view? Now the players on ceiling walks upside down. Very
> crazy.
>

You need to go to "player_command.cpp" and edit the function
CPlayerMove::SetupMove

Also, on the client side, you need to edit "prediction.cpp" and find the
corresponding function
CPrediction::SetupMove


These two functions handle player input and you can arbitrarily set the
player's angles by ignoring the player input and forcing the angle to
whatever you want.

--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to