Garry's Mod
1,044 lượt đánh giá
[TFA] Screen Shake
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: Effects
Addon Tags: Realism
Kích cỡ file
Đã đăng
Đã cập nhật
5.664 KB
23 Thg06, 2022 @ 1:04am
20 Thg07, 2023 @ 12:29pm
11 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
[TFA] Screen Shake

Mô tả
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 bình luận
Lettuce9018 30 Thg10 @ 1:06pm 
be warned, this automatically turns on motion blur each time you load into the game
Mr. Gold 20 Thg07 @ 5:50pm 
he doesn't make addons anymore
Ayeefan the guy 6 Thg05 @ 1:34pm 
make this for mwb
VeryCreativeNamelol 9 Thg03 @ 7:26am 
Combine this with the tfa MP5K swep and you extreme recoil.
RatOrder 28 Thg01 @ 3:43pm 
You should make this for all weapons.
ProGaming122 16 Thg12, 2023 @ 8:25am 
what is the playermodel name?
z6234eta 14 Thg12, 2023 @ 6:25pm 
should i use this or the uni one
soldier jordan 14 Thg12, 2023 @ 9:03am 
recoil settings would be nice
Coolvetica 23 Thg11, 2023 @ 5:26pm 
Weapon addon name?
:| 5 Thg11, 2023 @ 3:03pm 
Map?
pls tell me