> > I need to figure out a way to restrict the players' yaw
> movement to a
> > certain cone. I slaved over my keyboard for hours trying to

A better place to do this is in CL_CreateMove - then you limit the view
angles before any other code uses it.  Note that there are a lot of places
in input.cpp and inputw32.cpp where gEngfuncs.SetViewAngles() is called that
you need to remove, and you might need to pass the view angles to the mouse
and joystick code.  Then do your bounds checking at the end of CL_CreateMove
and call gEngfuncs.SetViewAngles() at that point.

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

Reply via email to