--
[ Picked text/plain from multipart/alternative ]
Yes, this is possible. You need to go to "player_command.cpp" and edit

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.



----- Original Message -----
From: "Christian Wolfgang" <[EMAIL PROTECTED]>
To: <hlcoders@list.valvesoftware.com>
Sent: Wednesday, May 09, 2007 12:40 AM
Subject: [hlcoders] Rotating a player


> --
> [ Picked text/plain from multipart/alternative ]
> Hi.
>
> Is it possible to rotate a player in-game arbitrarily? And is it possible
> to
> have the mouse direction rotated as well? I've been trying to use
> SetAbsAngles, but it has no effect on players.
>
> Thanks,
>
> Wolfgang
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

--

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

Reply via email to