Good release, but is it really that hard to do RCS?
Code:
Vector m_vOldPunch = Vector(0, 0, 0); //outside of your CreateMove hook
auto punchAngles = *pLocal->AimPunch() * 2.0f; //can randomize the value 2.0f to look more legit or just change it
if (punchAngles.x != 0.0f || punchAngles.y != 0.0f)
{
pCmd->viewangles -= punchAngles - m_vOldPunch;
m_vOldPunch = punchAngles;
}
else
m_vOldPunch.x = m_vOldPunch.y = m_vOldPunch.z = 0.0f;
Standalone RCS, have fun
This doesn't work if you don't return true in your CreateMove hook or if you don't use SetViewAngles