Garry's Mod
1,044 evaluări
[TFA] Screen Shake
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Content Type: Addon
Addon Type: Effects
Addon Tags: Realism
Dimensiunea fișierului
Postat
Actualizat
5.664 KB
23 iun. 2022 la 1:04
20 iul. 2023 la 12:29
11 jurnale de actualizare ( vizionare )

Abonează-te pentru a descărca
[TFA] Screen Shake

Descriere
TFA Screen Shake
Optional screen shake for use with TFA Base.
It was originally conceived as TFA Base-only screen shake because TFA Base don't have any. If you need a universal screen shake, use this one instead.

ConVars:
  • cl_tfa_screenshake_enabled (1 by default) - Toggle screen shake
  • cl_tfa_screenshake_blur_enabled (1 by default) - Toggle blur
  • cl_tfa_screenshake_strength_multiplier (1 by default) - Screen shake strength multiplier
  • cl_tfa_screenshake_fov_strength_multiplier (1 by default) - Screen shake FOV strength multiplier
  • cl_tfa_screenshake_speed_multiplier (1 by default) - Screen shake speed multiplier

For devs:
You can customize the screen shake on a per-weapon basis using:
  • SWEP.ScreenShakeStrengthMultiplier - Screen shake strength multiplier
  • SWEP.ScreenShakeFOVMultiplier - Screen shake FOV multiplier
  • SWEP.ScreenShakeSpeedMultiplier - Screen shake speed multiplier

GitHub repository[github.com]



NOTE: I used CalcView and GetMotionBlurValues hooks, keep in mind that they're incompatible with similar hooks in other mods. Blame me, gmod, ur addons and my sh#tcode. Also, I haven't tested this sh#t in multiplayer and never will.

UPD 21.07.2023: AyyKyu have fixed my sh#tсode instead of me, now it shouldn't break because of viewbobs and such.
148 comentarii
Lettuce9018 30 oct. la 13:06 
be warned, this automatically turns on motion blur each time you load into the game
Mr. Gold 20 iul. la 17:50 
he doesn't make addons anymore
Ayeefan the guy 6 mai la 13:34 
make this for mwb
VeryCreativeNamelol 9 mart. la 7:26 
Combine this with the tfa MP5K swep and you extreme recoil.
RatOrder 28 ian. la 15:43 
You should make this for all weapons.
ProGaming122 16 dec. 2023 la 8:25 
what is the playermodel name?
z6234eta 14 dec. 2023 la 18:25 
should i use this or the uni one
soldier jordan 14 dec. 2023 la 9:03 
recoil settings would be nice
Coolvetica 23 nov. 2023 la 17:26 
Weapon addon name?
:| 5 nov. 2023 la 15:03 
Map?
pls tell me