Try looking at the "CalcViewModelView" in "baseviewmodel_shared.cpp"

This might be helpful :-)
http://developer.valvesoftware.com/wiki/Ironsights#Animating_the_gun

/ScarT


On 15/03/2008, Emiel Regis <[EMAIL PROTECTED]> wrote:
>
> I wanna change the viewmodels origin, particularly it's .y component,
> because atm when you stand infront of other player all you can see is his
> chest, not his head, which is quite awkward.
>
> I tried changing EyePosition() to LookupAttachment( "eyes" ) in
> CalcViewModelView, but it seems to only change the position of camera, not
> the position of view model itself. Any ideas where to look?
>
> Cheers,
> Emiel Regis
>
> _______________________________________________
> 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

Reply via email to