Kenrick -
In general, you set the view angles as follows:
QAngle viewangles;
viewangles.x = my_x;
viewangles.y = my_y;
viewangles.z = my_z;
engine->SetViewAngles( viewangles );
Take a look in cl_dll\in_main.cpp to figure out where you need to
tweak the angles to ignore pitch.
Specifically, these methods:
IN_CenterView_f
CInput::AdjustAngles
CInput::ExtraMouseSample
You might need to tweak in more than one spot. Use Msg("My test
angles %f", viewangles.x); to help.
Also, typing cl_showpos 1 in the console is useful to show your pos/orientation.
Steve
On Sun, Aug 10, 2008 at 7:26 PM, Kenrick Rilee <[EMAIL PROTECTED]> wrote:
> How would I go about doing this? I'm working on a wolf3d style mod.
>
> Thanks,
> Kenrick
> _______________________________________________
> 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