Hello All,
It's time for a stumper
I've got a case where I need to have the player hold two weapons--each
weapon animating independently. Our animations get pretty complex, so
instead of trying to make our animator create a bunch of combinations of
animations for the left and the right hand,
It's definitely possible if you want to go at it from a programming
perspective. The engine has no idea about the view model. Take a look at the
function C_BasePlayer::GetViewModel() and you'll see that there's a list of
view models for each weapon the player has. I think it should be pretty easy
As Jorge Says it's a little complicated as most of the code assumes that the
weapon is in the right hand but it is possible.
Some pointers in the right direction are:
GetViewModel() defaults to 0. Call CBaseViewModel *vm =
pOwner-GetViewModel( 1 ); in the SetViewModel function of the weapon so
3 matches
Mail list logo