API: Implement RG_CBasePlayerWeapon_KickBack hook#253
API: Implement RG_CBasePlayerWeapon_KickBack hook#253ShadowsAdi wants to merge 10 commits intorehlds:masterfrom ShadowsAdi:add-kickback-hook
API: Implement RG_CBasePlayerWeapon_KickBack hook#253Conversation
|
Add a description to include please |
|
That description is not true, kickback is the recoil of weapon. A description example could be: called when attacker fires a weapon. Used to change weapon's recoil. Also, the issue you mention is about create a native. Not the hook |
KickBack is not the recoil of the weapon. The recoil of a weapon is it's punchangles. See https://github.com/s1lentq/ReGameDLL_CS/blob/master/regamedll/dlls/wpn_shared/wpn_ak47.cpp#L156-L172. |
You just gave me the reason. punchangles are being changed at Kickback. |
|
|
Yes, you're right. Gotta change the description. |
|
punchangles on Victim are changed at TraceAttack: |
|
Now is great! Time to create the native |
After the RG hook will be implemented, I will take some time to make this too. |
|
Done #280 |
Related to: #153