Re: [hlcoders] Changing player view angle in a hl2 mp mod

2008-01-15 Thread David Adams
-- [ Picked text/plain from multipart/alternative ] This is exactly what i was looking for, thanks! On Jan 14, 2008 3:47 PM, Minh [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] The reason SetAbsAngles isn't working is because the viewangles is constantly being

Re: [hlcoders] Changing player view angle in a hl2 mp mod

2008-01-15 Thread Jamie Femia
-- [ Picked text/plain from multipart/alternative ] Simply putting this in the player class spawn function works without having to modify any client code. QAngle a = EyeAngles(); a[YAW] += 90; // degrees to rotate SnapEyeAngles(a); On Jan 15, 2008 3:21 PM, David Adams [EMAIL PROTECTED] wrote:

Re: [hlcoders] Changing player view angle in a hl2 mp mod

2008-01-15 Thread Jamie Femia
-- [ Picked text/plain from multipart/alternative ] p.s. Just noticed that you seem to be wanting to do something compeltely different *do'h* On Jan 15, 2008 5:07 PM, Jamie Femia [EMAIL PROTECTED] wrote: Simply putting this in the player class spawn function works without having to modify any

Re: [hlcoders] Changing player view angle in a hl2 mp mod

2008-01-15 Thread David Adams
-- [ Picked text/plain from multipart/alternative ] wow great, snapeyeangles really makes my life a lot easier. apparently intellisense in visual studio is not working correctly, because that function doesnt show up anywhere when i list out whats available in hl2mpplayer. On Jan 15, 2008 12:07

[hlcoders] Changing player view angle in a hl2 mp mod

2008-01-14 Thread David Adams
-- [ Picked text/plain from multipart/alternative ] Hello, ive been looking for a way to modify the players view point and view angle in a hl2 mp mod. It seems easy to manipulate the players viewpoint and move him around the map by accessing the players SetLocalOrigin functions or

Re: [hlcoders] Changing player view angle in a hl2 mp mod

2008-01-14 Thread Jorge Rodriguez
-- [ Picked text/plain from multipart/alternative ] This is how I do it: // Update the current command with our view angles. VectorAngles( vecDir, m_pCurrentCommand-viewangles ); #ifdef CLIENT_DLL SetLocalViewAngles( m_pCurrentCommand-viewangles ); engine-SetViewAngles(

Re: [hlcoders] Changing player view angle in a hl2 mp mod

2008-01-14 Thread David Adams
-- [ Picked text/plain from multipart/alternative ] Thanks for the response, I dont want to change the player class unless I absolutely have to. It seems like the functionality is there already to modify view angle, but for some reason its just not working, maybe its not possible to do that

Re: [hlcoders] Changing player view angle in a hl2 mp mod

2008-01-14 Thread Minh
-- [ Picked text/plain from multipart/alternative ] The reason SetAbsAngles isn't working is because the viewangles is constantly being stamped over by the following functions void CPrediction::SetupMove( C_BasePlayer *player, CUserCmd *ucmd, IMoveHelper *pHelper, CMoveData *move ) in the