Garry's Mod

Garry's Mod

1,042 értékelés
[TFA] Screen Shake
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: Effects
Addon Tags: Realism
Fájlméret:
Közzétéve:
Frissítve:
5.664 KB
2022. jún. 23., 1:04
2023. júl. 20., 12:29
11 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
[TFA] Screen Shake

Leírás
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 megjegyzés
Lettuce9018 okt. 30., 13:06 
be warned, this automatically turns on motion blur each time you load into the game
Mr. Gold júl. 20., 17:50 
he doesn't make addons anymore
Ayeefan the guy máj. 6., 13:34 
make this for mwb
VeryCreativeNamelol márc. 9., 7:26 
Combine this with the tfa MP5K swep and you extreme recoil.
RatOrder jan. 28., 15:43 
You should make this for all weapons.
ProGaming122 2023. dec. 16., 8:25 
what is the playermodel name?
z6234eta 2023. dec. 14., 18:25 
should i use this or the uni one
soldier jordan 2023. dec. 14., 9:03 
recoil settings would be nice
Coolvetica 2023. nov. 23., 17:26 
Weapon addon name?
:| 2023. nov. 5., 15:03 
Map?
pls tell me