-- [ 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 though with out modifying it though?
Ive figured out how to disable and enable the mouse by calling the console command cl_mouseenable through the engine interface. probably not the best way to do it, but it works. So in your solution you are saying to pull the new values and update the players viewangles in the prethink() function in the hl2_player class? also how do you know when you have to put in those define sections for client and server, im not completely familiar with how this works. thanks On Jan 14, 2008 1:56 PM, Jorge Rodriguez <[EMAIL PROTECTED]> wrote: > -- > [ 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( m_pCurrentCommand->viewangles ); > #endif > > I'd do it somewhere in PreThink() > > Why can you not change the player class? > > -- > Jorge "Vino" Rodriguez > -- > > _______________________________________________ > 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

