If you read through my email, you would know I did :p In fact, CalcViewModelView doesn't change the very position of viewmodel, rather positon of eyes relative TO viewmodel. So if I change origin in there to eyes, the viewmodel stays invisible (cos its way under the eyes..). At least I think it worrks like it. Thanks for good will anyway ;)
Emiel On Sat, 15 Mar 2008 20:31:41 +0100, Tobias Kammersgaard <[EMAIL PROTECTED]> wrote: > 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 > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

