Garry's Mod
Оцінок: 435
[For Developers] Local Viewpunch
   
Нагородити
До улюбленого
В улюблених
Прибрати
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Realism
Розмір файлу
Додано
Оновлено
2.382 KB
11 січ. 2023 о 9:47
8 груд. 2024 о 2:14
Змін 12 ( перегляд )

Підпишіться, аби завантажити
[For Developers] Local Viewpunch

Опис
All of my mods are playtested on the x64 branch. Therefore install that if you experience any weird, unexplainable issues!

Adds a new global function Viewpunch(angle) clientside that imitates how viewpunch works serverside.
Why do this if it's also available on the clientside?.. As the wiki now says, running viewpunch on localplayer clientside does nothing, this mod aims to fix that or make it easier to deal with by creating a new function. It acts fully like serverside viewpunch, meaning your eyeangles are affected as well.

Functions:
- Viewpunch(angle) / ViewPunch(angle)
- SetViewPunchAngles(angle)
- SetViewPunchVelocity(angle)