I believe I found where to set the view for the prone position..

static CViewVectors g_DefaultViewVectors(
Vector( 0, 0, 64 ),
Vector(-16, -16, 0 ),
Vector( 16, 16, 72 ),
Vector(-16, -16, 0 ),
Vector( 16, 16, 36 ),
Vector( 0, 0, 28 ),
//  prone
Vector( -16, -16, 0 ),
Vector( 16, 16, 36 ),
Vector( 0, 0, 12 ),  // almost where I want the view to be
// end prone
Vector(-10, -10, -10 ),
Vector( 10, 10, 10 ),
Vector( 0, 0, 14 )
);

CGameMovement::SetProneEyeOffset()
{
 ...
// actually sets the view to 12
player->SetViewOffset( temp );

{

However for some reason it snaps back to 28,
I did a trace on the SetProneEyeOffset but not sure what is causing it to
snap back to 28...




r00t 3:16 CQC Gaming www.cqc-gaming.com


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



Reply via email to