Weapon animation doesn't show while spectating
Well, I've created weapon and to play animations I use this stock(thanks Arkshine)
Code:
stock UTIL_PlayWeaponAnimation ( const Player, const Sequence ) |
Re: Weapon animation doesn't show while spectating
If you mean the animation on what you see on a player, what you use is to animate the view model ( v_ ) of the weapon, nothing to do with p_ model which is handled by the player's model. Since it's a custom weapon, you have to force to play an animation on the player. ( animation which is near on what you need ). Basically hooking CBasePlayer::SetAnimation() in post, then playing with pev_sequence, pev_frame and ResetSequenceInfo(). There is a plugin I've posted in the resquest section ( Prone Position ) which use such forward.
|
Re: Weapon animation doesn't show while spectating
Hmm, maybe I don't understand you, or you dont understand me.I mean I dont see view model fire animation.
|
Re: Weapon animation doesn't show while spectating
Spectating someone in what view ?
|
Re: Weapon animation doesn't show while spectating
Spectating someone in first-person mode.
|
Re: Weapon animation doesn't show while spectating
Don't know ; try MSG_ONE to see.
|
Re: Weapon animation doesn't show while spectating
Result is the same ;(
Please help me someone :( |
| All times are GMT -4. The time now is 05:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.