OsirisAndExtra
OsirisAndExtra copied to clipboard
Roll
I feel like it would give a advantage above other users as everyone is using roll nowadays
I feel like it would give a advantage above other users as everyone is using roll nowadays
why ask for this when its just cmd->viewangles.z
lol
lol
anim fix issue, i ported nixware roll to my fork
lol
anim fix issue, i ported nixware roll to my fork
could you send me nixware source?
lol
anim fix issue, i ported nixware roll to my fork
could you send me nixware source?
i ported from a lua
Your fork doesnt have much. Mind updating it?
Your fork doesnt have much. Mind updating it?
cause its just private, not even public
// for actual code
if (g_settings.m_bRoll) cmd->m_view_angles.z = 45.f;
// for clamp
cmd->m_view_angles.z = std::clamp(cmd->m_view_angles.z, -45.f.f, 45.f);
// for actual code if (g_settings.m_bRoll) cmd->m_view_angles.z = 45.f; // for clamp cmd->m_view_angles.z = std::clamp(cmd->m_view_angles.z, -45.f.f, 45.f);
thats mega lean
// for actual code if (g_settings.m_bRoll) cmd->m_view_angles.z = 45.f; // for clamp cmd->m_view_angles.z = std::clamp(cmd->m_view_angles.z, -45.f.f, 45.f);
thats mega lean
z is roll, so it's the same thing different name
changge these to "std::clamp(this->z, -90.f, 90.f);" https://github.com/notgoodusename/OsirisAndExtra/blob/main/Osiris/SDK/Vector.h#L152 https://github.com/notgoodusename/OsirisAndExtra/blob/main/Osiris/Hooks.cpp#L420 then add this stuff to the place you thingk it shou be cmd->viewangles.z = (roll angle you want);