Left 4 Dead 2

Left 4 Dead 2

32 ratings
True Recoil (Recreation of z_gun_kick)
   
Award
Favorite
Favorited
Unfavorite
Survivors: Survivors
Game Content: Weapons, Scripts
Game Modes: Realism
File Size
Posted
Updated
4.092 KB
29 Oct @ 5:37am
29 Oct @ 8:04am
2 Change Notes ( view )

Subscribe to download
True Recoil (Recreation of z_gun_kick)

Description
Unlike yoru's recoil mod, this addon provides recoil mechanics similar to other modern games and allows you to adjust the recoil for each gun.

By default, recoil is kept to a small value. The preview image shows three times stronger than the default value.

This mod's settings consist of the following three elements: Vertical Punch, Vertical Random, and Random Radius.

"Vertical Punch" is always an upward force. The larger this value, you need to add greater reaction force to the gun. "Vertical Random" randomizes the magnitude of vertical length. The larger this value, the more unpredictable the recoil becomes.
"Random Radius" is a force applied randomly in random directions. This is a recreation of vanilla spread.

In following table, "global" is the coefficient for each gun; changing this will uniformly adjust the recoil strength of all guns. "walk" and "crouch" are coefficients applied when you are walking or crouching.

This is the default stats based on realism in ems/recoil.txt:

Weapon Name
Vertical Punch
Vertical Random
Random Radius
global
3.0
3.0
3.0
walk
0.7
0.7
0.7
crouch
0.5
0.5
0.5
pistol_magnum
1.8
0.2
0.6
pistol
0.6
0.1
0.2
grenade_launcher
2.5
0.3
0.8
pumpshotgun
2.0
0.4
1.4
shotgun_chrome
1.9
0.3
1.2
shotgun_spas
2.2
0.35
1.3
autoshotgun
1.4
0.5
0.9
rifle_m60
2.6
0.6
1.8
rifle_ak47
1.8
0.45
1.1
rifle_sg552
1.2
0.25
0.6
rifle
1.4
0.35
0.7
rifle_desert
2.0
0.2
0.5
smg_mp5
0.8
0.15
0.4
smg_silenced
0.7
0.2
0.45
smg
1.0
0.25
0.6
sniper_scout
2.8
0.1
0.3
sniper_awp
3.0
0.05
0.2
hunting_rifle
2.4
0.15
0.35
sniper_military
2.6
0.12
0.25


I hate yoru's gun recoil mod:

- It applies the same strength to all guns (making SMGs as powerful as M60s)
- It applies before firing (which is extremely annoying when you want to aim accurately)
- It duplicates existing spread
- And above all, it breaks realism!

This mod solved all these problems.
Popular Discussions View All (1)
1
12 hours ago
Looking for Other ems/recoil.txt Settings
Wabisuke 4 Dead
11 Comments
Orion 1 hour ago 
Strangely enough, it seems to conflict with weapon scripts. Other than that, stellar mod.
Dia 2 hours ago 
Finally a good recoil mod
Marshmallow :3 11 hours ago 
Keep up the great work. L4D2 has had weird recoil system that always drag crosshair to the center after each shot. Finally can enjoy shooting now:steamhappy: Cheers!
Wabisuke 4 Dead  [author] 16 hours ago 
@Xenorvya
Thank you for the information. Unfortunately, I can't think of a way to solve it at now.
Xenorvya 29 Oct @ 7:03pm 
Yeah no, this doesn't fix the issue Yoru's mod had, high ping players cannot look around while shooting.
riptide 29 Oct @ 3:15pm 
works great with this , but I have a strong feeling I'm not supposed use them together
Wabisuke 4 Dead  [author] 29 Oct @ 7:52am 
@ash
I haven't checked that, but could you try it and let me know?
ash 29 Oct @ 7:50am 
is this one playable at high ping? yoru's is completely unplayable unless you were at low ping since it locks your movement while shooting
ChamoChimi 29 Oct @ 7:42am 
this is manacat-level of script formatting
Xenorvya 29 Oct @ 7:12am 
Does this still have the bug for high ping players where their crosshair can't move while shooting? If so then it's probably impossible to fix, but this is already a big improvement over the original.