Skip to content

_r hud animations #304

Answered by xrSimpodin
romanpopulik asked this question in Q&A
Mar 30, 2021 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

I couldn't find anything about the _r animations stored in weapons hud ogf's. Are they used anyhow in game ?

Yes, they are used when the actor is driving a car:

CWeaponPistol::WWPMotions&	 CWeaponPistol::wwpm_current	()
{
	CActor* A = smart_cast<CActor*>(H_Parent());
	if(A && A->Holder()){	
//		Msg("right-hand animation playing");
		return				mhud_pistol_r;
	}
//	Msg("double-hands animation playing");
	return					mhud_pistol;
}

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@romanpopulik
Comment options

@xrSimpodin
Comment options

@romanpopulik
Comment options

Answer selected by xrSimpodin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #302 on March 30, 2021 13:24.