m_szAnimExtention usage ?
Hi, :)
Can anyone help me to know how to use m_szAnimExtention ? I found it in CS-SDK, but I dont know how it work ? Please show me a code :D Thanks :D |
Re: m_szAnimExtention usage ?
First, what are you trying to do ?
|
Re: m_szAnimExtention usage ?
I want to fix the dummy sequence . Because I've blocked Ham_Item_deploy, so , engine cant relize what weapon I'm holding, and it causes this :
[IMG]http://img14.**************/img14/7049/dedust20001on.png[/IMG] Uploaded with ************** |
Re: m_szAnimExtention usage ?
I think set/get_pdate_string can change this,but set/get_pdate_string have some bugs, maybe you can't use these natives.You can try. (The offset is 492 (Linux+=5))
The best way is to use Orpheu to set animation. |
Re: m_szAnimExtention usage ?
|
Re: m_szAnimExtention usage ?
This offset doesn't exist, 492 (int based) is for shield :
#define m_szShieldAnimExt 1968 // 492 * 4, linux diff 20 ( see offsets there : http://forums.alliedmods.net/showthr...01#post1712101 ) set_pdata_string(index, m_szShieldAnimExt, "ANIM_THERE", -1, 20) But it won't help in your case, what you need is pev_sequence or pev_gaitsequence. |
Re: m_szAnimExtention usage ?
I think that he is talking about the offset that sets the current "weapon holding animation"
Code:
The "shieldgren" / "grenade" are set into that offset (at least on the HLSDK): Code:
That one it's used on SetAnimation for checking also the fire animation Code:
It is CS' m_szShieldAnimExt offset the same as HL's m_szAnimExtention? If it's, would be something useful for making weapons modifications. |
Re: m_szAnimExtention usage ?
There is no such offset on cs1.6, though the shield one could be the one used instead, i have no time right now to check why Arkshine (i think HE named that offset) named it like that.
|
Re: m_szAnimExtention usage ?
It's the reverse, there is no m_szShieldAnimExt offset but only m_szAnimExtention, like in HL. m_szAnimExtention is used in DefaultDeploy()/SetAnimation() but also in function related to knife/grenade/pistol (ShieldSecondaryFire, SetPlayerShieldAnim(), ResetPlayerShieldAnim, etc) since there is special animation in player model if you have a shield.
|
Re: m_szAnimExtention usage ?
Should be my fault then, gonna rename the offset :)
|
| All times are GMT -4. The time now is 05:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.