Weapon Defaults
Gun, melee, and melee-trace baselines the server currently reads. Guns stack the current vote config; melee traces come from native scripts/melee/*.txt.
Data source
Data file:addons/sourcemod/data/l4d2_weaponinfo_defaults.json
· Local cache Generated at 2026-06-10 07:26:59.
Interactive Multi-Weapon Falloff & Effective DPS Comparison
Select multiple firearms across modes, switch between burst DPS, reload-inclusive sustained DPS, and single-shot/pump HP damage, with Source engine GainRange two-stage falloff.
Compare Weapons (Multi-Select Across Modes)
Filter by mode or weapon class and select weapons. Switching comparison modes keeps your selections.
Design a custom weapon
Copy the primary weapon parameters and adjust them to compare with weapons from any mode. Changing the primary weapon or its mode resets the design. Custom guns use a single-shot cycle model; parameters are for this page simulation only.
Hover for live multi-weapon readouts, click the chart to lock distance, scroll to zoom, and drag to pan; zooming resamples curves and recalculates crossings.
Circle markers: Published or Native; square markers: Unreleased snapshot; triangle markers: Custom. Solid: spread-adjusted · Dashed: 100% hit.
Crossings are interpolated along plotted segments; overlapping spans, zeros, and max-range cutoffs are excluded.
The rectangle is the target; bright dots land inside it. This is uniform ellipse sampling, not actual in-game impacts.
Intersection coordinates
| x: distance (u) | y: DPS | Intersecting curves |
|---|
| Weapons | Damage multiplier | Theoretical damage per shot | Expected Damage | Estimated hit rate | All-hit DPS | Estimated DPS with spread | Sustained DPS (w/ Reload) |
|---|
Calculation method and limits
Ideal per-shot damage = damage × bullets × rangemod^(distance/500), multiplied by the Source engine Gain(t, 0.8) two-stage falloff factor when gainrange > 0 and distance > gainrange; drops to 0 past range.
Burst DPS = shot damage / cycletime; reload-inclusive sustained DPS = (shot damage × clipsize) / (clipsize × cycletime + reload time). Shotgun full-tube reload scales as clipsize × reloadduration × reloadmodifier.
Against Tank, damage is multiplied by tankdamagemult (default 1) and the extra Tank damage scale. Against normal/SI targets, integer body HP loss and 4× headshot integer damage are also shown.
The spread model follows L4D2 continuous full-auto bloom (base stance spread + spreadpershot per round, capped at maxspread) as half-angles in degrees, plus shotgun pellet pitch/yaw. Choose Shot N instantaneous or N-shot burst average.
This is a parameter comparison model rather than empirical accuracy: it does not simulate fixed-ring/center-pellet shotgun patterns, view kick, scoped zoom, server tick, penetration, or per-player overrides. The 3-round burst rifle shows per-bullet damage and spread only.
Charts require JavaScript. Full weapon parameters remain available below.
Side-by-Side Weapon Attribute Comparison
Synced live with your selected weapons above, comparing base damage, falloff, GainRange, magazine/reload, spread handling, and penetration side by side with automatic delta and best-in-row highlights.
Gun defaults
Lists configurable firearm attribute fields; values badged with vote are overridden by the currently selected vote weapon config.
| Weapons | Classification | Default properties |
|---|---|---|
| Pistol (pistol) | Pistol |
damage=45 vote
clipsize=15 Native
spreadpershot=1.4 vote
maxspread=20 vote
spreaddecay=5 Native
minduckspread=0.5 Native
minstandspread=1.5 Native
minairspread=3 Native
maxmovespread=2.0 vote
penlayers=2 Native
penpower=30 Native
penmaxdist=0 Native
charpenmaxdist=0 Native
range=2500 Native
rangemod=0.75 Native
cycletime=0.174999 Native
gainrange=0 Native
reloadduration=0 Native
dualreloadduration=0 Native
deployduration=0.5 Native
dualdeployduration=0.649999 Native
tankdamagemult=0.8 vote
|
| Magnum (pistol_magnum) | Pistol |
damage=100 vote
clipsize=8 Native
spreadpershot=1.4 vote
maxspread=20 vote
spreaddecay=5 Native
minduckspread=0.5 Native
minstandspread=1.25 Native
minairspread=3 Native
maxmovespread=2.0 vote
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=0 Native
range=3500 Native
rangemod=0.75 Native
cycletime=0.3 Native
gainrange=0 Native
reloadduration=0 Native
dualreloadduration=0 Native
deployduration=0.5 Native
dualdeployduration=0.649999 Native
tankdamagemult=0.8 vote
|
| Uzi SMG (smg) | SMG |
damage=24 vote
clipsize=50 Native
spreadpershot=0.13 vote
maxspread=18.0 vote
spreaddecay=6.0 vote
minduckspread=0.45 vote
minstandspread=0.72 vote
minairspread=1.7 Native
maxmovespread=1.35 vote
penlayers=2 Native
penpower=30 Native
penmaxdist=0 Native
charpenmaxdist=0 Native
range=2500 vote
rangemod=0.95 vote
cycletime=0.0625 Native
gainrange=0 vote
reloadduration=1.75 vote
deployduration=0 Native
tankdamagemult=0.91 vote
|
| Silenced SMG (smg_silenced) | SMG |
damage=29 vote
clipsize=50 Native
spreadpershot=0.17 vote
maxspread=28.0 vote
spreaddecay=5.0 vote
minduckspread=0.55 vote
minstandspread=0.80 vote
minairspread=1.7 Native
maxmovespread=1.70 vote
penlayers=2 Native
penpower=30 Native
penmaxdist=0 Native
charpenmaxdist=0 Native
range=1400 vote
rangemod=0.87 vote
cycletime=0.0625 Native
gainrange=450 vote
reloadduration=1.9 vote
deployduration=0 Native
tankdamagemult=0.85 vote
|
| MP5 (smg_mp5) | SMG |
damage=31 vote
clipsize=60 vote
spreadpershot=0.15 vote
maxspread=25.0 vote
spreaddecay=5.0 vote
minduckspread=0.28 vote
minstandspread=0.48 vote
minairspread=1.7 Native
maxmovespread=2.2 vote
penlayers=2 vote
penpower=40 vote
penmaxdist=0 Native
charpenmaxdist=350 vote
range=2200 vote
rangemod=0.945 vote
cycletime=0.075 Native
gainrange=600 vote
reloadduration=2.7 vote
deployduration=0 Native
tankdamagemult=0.92 vote
|
| Pump Shotgun (pumpshotgun) | Shotgun |
damage=16 vote
bullets=20 vote
clipsize=8 Native
maxmovespread=1.5 Native
penlayers=2 Native
penpower=30 Native
penmaxdist=500 Native
charpenmaxdist=300 Native
range=3000 Native
rangemod=0.67 vote
cycletime=0.5 Native
pelletpitch=2.50 vote
pelletyaw=2.50 vote
gainrange=0 Native
deployduration=0 Native
reloadmodifier=0.8 vote
tankdamagemult=0.85 vote
|
| Chrome Shotgun (shotgun_chrome) | Shotgun |
damage=21 vote
bullets=14 vote
clipsize=8 Native
maxmovespread=1.5 Native
penlayers=2 Native
penpower=30 Native
penmaxdist=500 Native
charpenmaxdist=300 Native
range=3000 Native
rangemod=0.79 vote
cycletime=0.5 Native
pelletpitch=1.75 vote
pelletyaw=1.75 vote
gainrange=0 Native
deployduration=0 Native
reloadmodifier=0.9 vote
tankdamagemult=0.85 vote
|
| Auto Shotgun (autoshotgun) | Shotgun |
damage=23 Native
bullets=11 Native
clipsize=10 Native
maxmovespread=1.5 Native
penlayers=2 Native
penpower=30 Native
penmaxdist=500 Native
charpenmaxdist=300 Native
range=3000 Native
rangemod=0.699999 Native
cycletime=0.15 Native
pelletpitch=4 Native
pelletyaw=8.5 Native
gainrange=0 Native
deployduration=0 Native
|
| SPAS Shotgun (shotgun_spas) | Shotgun |
damage=28 Native
bullets=9 Native
clipsize=10 Native
maxmovespread=1.5 Native
penlayers=2 Native
penpower=30 Native
penmaxdist=500 Native
charpenmaxdist=300 Native
range=3000 Native
rangemod=0.699999 Native
cycletime=0.15 Native
pelletpitch=3.5 Native
pelletyaw=8 Native
gainrange=0 Native
deployduration=0 Native
|
| M16 Rifle (rifle) | Rifle |
damage=33 Native
clipsize=50 Native
spreadpershot=0.75 Native
maxspread=30 Native
spreaddecay=5 Native
minduckspread=0.05 Native
minstandspread=0.4 Native
minairspread=1.5 Native
maxmovespread=5 Native
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=0 Native
range=3000 Native
rangemod=0.97 Native
cycletime=0.087499 Native
gainrange=1500 Native
reloadduration=0 Native
deployduration=0 Native
|
| AK-47 (rifle_ak47) | Rifle |
damage=58 Native
clipsize=40 Native
spreadpershot=1.6 Native
maxspread=35 Native
spreaddecay=7 Native
minduckspread=0.5 Native
minstandspread=1 Native
minairspread=3 Native
maxmovespread=6 Native
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=0 Native
range=3000 Native
rangemod=0.97 Native
cycletime=0.129999 Native
gainrange=1500 Native
reloadduration=0 Native
deployduration=0 Native
|
| Desert Rifle (rifle_desert) | Rifle |
damage=44 Native
clipsize=60 Native
spreadpershot=0.6 Native
maxspread=25 Native
spreaddecay=4 Native
minduckspread=0.05 Native
minstandspread=0.349999 Native
minairspread=1.25 Native
maxmovespread=4 Native
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=0 Native
range=3000 Native
rangemod=0.97 Native
cycletime=0.07 Native
gainrange=1500 Native
reloadduration=0 Native
deployduration=0 Native
|
| SG552 (rifle_sg552) | Rifle |
damage=33 Native
clipsize=50 Native
spreadpershot=0.75 Native
maxspread=30 Native
spreaddecay=5 Native
minduckspread=0.05 Native
minstandspread=0.4 Native
minairspread=1.5 Native
maxmovespread=5 Native
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=0 Native
range=3000 Native
rangemod=0.97 Native
cycletime=0.0825 Native
gainrange=1500 Native
reloadduration=0 Native
deployduration=0 Native
|
| M60 (rifle_m60) | M60 |
damage=50 Native
clipsize=999 vote
spreadpershot=1.6 Native
maxspread=35 Native
spreaddecay=7 Native
minduckspread=0.5 Native
minstandspread=1 Native
minairspread=3 Native
maxmovespread=6 Native
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=0 Native
range=3000 Native
rangemod=0.97 Native
cycletime=0.109999 Native
gainrange=1500 Native
reloadduration=0 Native
deployduration=0 Native
|
| Hunting Rifle (hunting_rifle) | Sniper |
damage=90 Native
clipsize=15 Native
spreadpershot=1 Native
maxspread=15 Native
spreaddecay=8 Native
minduckspread=0 Native
minstandspread=0.1 Native
minairspread=1.5 Native
maxmovespread=3 Native
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=8192 Native
range=8192 Native
rangemod=1 Native
cycletime=0.25 Native
gainrange=0 Native
reloadduration=0 Native
deployduration=0 Native
|
| Military Sniper (sniper_military) | Sniper |
damage=90 Native
clipsize=30 Native
spreadpershot=1 Native
maxspread=15 Native
spreaddecay=8 Native
minduckspread=0.05 Native
minstandspread=0.5 Native
minairspread=1.5 Native
maxmovespread=5 Native
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=8192 Native
range=8192 Native
rangemod=1 Native
cycletime=0.25 Native
gainrange=0 Native
reloadduration=0 Native
deployduration=0 Native
|
| Scout (sniper_scout) | Sniper |
damage=125 vote
clipsize=15 Native
spreadpershot=1 Native
maxspread=15 Native
spreaddecay=8 Native
minduckspread=0 Native
minstandspread=0.1 Native
minairspread=1.5 Native
maxmovespread=3 Native
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=8192 Native
range=8192 Native
rangemod=1 Native
cycletime=0.5 vote
gainrange=0 Native
reloadduration=0 Native
deployduration=0 Native
tankdamagemult=0.8 vote
|
| AWP (sniper_awp) | Sniper |
damage=300 vote
clipsize=20 vote
spreadpershot=1 Native
maxspread=15 Native
spreaddecay=8 Native
minduckspread=0 Native
minstandspread=0.1 Native
minairspread=1.5 Native
maxmovespread=3 Native
penlayers=2 Native
penpower=50 Native
penmaxdist=0 Native
charpenmaxdist=8192 Native
range=8192 Native
rangemod=1 Native
cycletime=1.049999 Native
gainrange=0 Native
reloadduration=0 Native
deployduration=0 Native
tankdamagemult=0.7 vote
|
| Grenade Launcher (grenade_launcher) | Launcher |
damage=33 Native
clipsize=3 vote
cycletime=0.5 Native
reloadduration=-1 Native
deployduration=0 Native
|
Melee native default value
Read from the engine's MeleeWeaponInfo structure, including base damage, refire delay, damage flags, and decapitation behavior.
| Melee | Classification | Default properties |
|---|---|---|
| Fire Axe (fireaxe) | Sharp melee |
damage=70 Native
damageflags=4 Native
rumbleeffect=42 Native
decapitates=1 Native
|
| Frying Pan (frying_pan) | Blunt melee |
damage=70 Native
damageflags=128 Native
rumbleeffect=42 Native
decapitates=0 Native
|
| Machete (machete) | Sharp melee |
damage=50 Native
damageflags=4 Native
rumbleeffect=42 Native
decapitates=1 Native
|
| Baseball Bat (baseball_bat) | Blunt melee |
damage=70 Native
damageflags=128 Native
rumbleeffect=42 Native
decapitates=1 Native
|
| Crowbar (crowbar) | Slashing melee |
damage=50 Native
damageflags=4 Native
rumbleeffect=42 Native
decapitates=0 Native
|
| Cricket Bat (cricket_bat) | Blunt melee |
damage=50 Native
damageflags=128 Native
rumbleeffect=42 Native
decapitates=0 Native
|
| Tonfa (tonfa) | Blunt melee |
damage=50 Native
damageflags=128 Native
rumbleeffect=42 Native
decapitates=0 Native
|
| Katana (katana) | Sharp melee |
damage=70 Native
damageflags=4 Native
rumbleeffect=42 Native
decapitates=1 Native
|
| Electric Guitar (electric_guitar) | Blunt melee |
damage=70 Native
damageflags=128 Native
rumbleeffect=42 Native
decapitates=1 Native
|
| Knife (knife) | Sharp melee |
damage=50 Native
damageflags=4 Native
rumbleeffect=42 Native
decapitates=0 Native
|
| Golf Club (golfclub) | Blunt melee |
damage=70 Native
damageflags=128 Native
rumbleeffect=42 Native
decapitates=0 Native
|
| Pitchfork (pitchfork) | Sharp melee |
damage=70 Native
damageflags=4 Native
rumbleeffect=42 Native
decapitates=1 Native
|
| Shovel (shovel) | Blunt melee |
damage=80 Native
damageflags=128 Native
rumbleeffect=42 Native
decapitates=0 Native
|
Melee trajectory default value
Read from primary and secondary attack blocks in scripts/melee/*.txt, showing each melee weapon's swing direction, hit window, and force vector.
| Melee | Classification | script | attack section |
|---|---|---|---|
| Fire Axe (fireaxe) | Sharp melee |
Read
scripts/melee/fireaxe.txt
|
main attack
slash1 startdir=E
enddir=W
duration=1.23
starttime=0.1
endtime=0.33
force_dir=5 -5 10
slash2 startdir=W
enddir=E
duration=1.23
starttime=0.1
endtime=0.33
force_dir=5 5 10
secondary attack
shove1 startdir=E
enddir=W
duration=0.73
starttime=0.1
endtime=0.259999
|
| Frying Pan (frying_pan) | Blunt melee |
Read
scripts/melee/frying_pan.txt
|
main attack
bonk1 startdir=E
enddir=W
duration=0.75
starttime=0.15
endtime=0.36
force_dir=50 -30 0
bonk2 startdir=W
enddir=E
duration=0.5
starttime=0.1
endtime=0.3
force_dir=50 -30 0
secondary attack
shove1 startdir=W
enddir=E
duration=1.299999
starttime=0.15
endtime=0.3
|
| Machete (machete) | Sharp melee |
Read
scripts/melee/machete.txt
|
main attack
bonk1 startdir=E
enddir=W
duration=0.759999
starttime=0.1
endtime=0.25
force_dir=5 -5 3
bonk2 startdir=W
enddir=E
duration=0.699999
starttime=0
endtime=0.2
force_dir=10 -7 2
bonk3 startdir=E
enddir=W
duration=0.579999
starttime=0.1
endtime=0.219999
force_dir=10 -7 2
secondary attack
shove1 startdir=W
enddir=E
duration=1.299999
starttime=0.15
endtime=0.3
|
| Baseball Bat (baseball_bat) | Blunt melee |
Read
scripts/melee/baseball_bat.txt
|
main attack
slash1 startdir=E
enddir=W
duration=0.899999
starttime=0.1
endtime=0.34
force_dir=15 -40 0
slash2 startdir=NW
enddir=SE
duration=0.899999
starttime=0
endtime=0.2
force_dir=15 40 -10
slash3 startdir=NE
enddir=SW
duration=0.899999
starttime=0
endtime=0.2
force_dir=15 -40 -10
secondary attack
shove1 startdir=E
enddir=W
duration=0.73
starttime=0.1
endtime=0.259999
|
| Crowbar (crowbar) | Slashing melee |
Read
scripts/melee/crowbar.txt
|
main attack
bonk1 startdir=E
enddir=W
duration=0.8
starttime=0.15
endtime=0.28
force_dir=10 -5 5
bonk2 startdir=W
enddir=E
duration=0.8
starttime=0.129999
endtime=0.259999
force_dir=10 5 5
secondary attack
shove1 startdir=W
enddir=E
duration=1.299999
starttime=0.15
endtime=0.3
|
| Cricket Bat (cricket_bat) | Blunt melee |
Read
scripts/melee/cricket_bat.txt
|
main attack
slash1 startdir=E
enddir=W
duration=0.899999
starttime=0.1
endtime=0.34
force_dir=15 -40 0
slash2 startdir=NW
enddir=SE
duration=0.899999
starttime=0
endtime=0.2
force_dir=15 40 -10
slash3 startdir=NE
enddir=SW
duration=0.899999
starttime=0
endtime=0.2
force_dir=15 -40 -10
secondary attack
shove1 startdir=E
enddir=W
duration=0.73
starttime=0.1
endtime=0.259999
|
| Tonfa (tonfa) | Blunt melee |
Read
scripts/melee/tonfa.txt
|
main attack
bonk1 startdir=E
enddir=W
duration=1
starttime=0.159999
endtime=0.259999
force_dir=20 7 0
bonk2 startdir=W
enddir=E
duration=0.8
starttime=0
endtime=0.2
force_dir=12 7 0
secondary attack
shove1 startdir=W
enddir=E
duration=0.75
starttime=0.15
endtime=0.449999
|
| Katana (katana) | Sharp melee |
Read
scripts/melee/katana.txt
|
main attack
slash1 startdir=E
enddir=W
duration=1
starttime=0.1
endtime=0.25
force_dir=4 -10 0
slash2 startdir=W
enddir=E
duration=1.299999
starttime=0
endtime=0.2
force_dir=4 10 -10
secondary attack
shove1 startdir=E
enddir=W
duration=0.73
starttime=0.1
endtime=0.259999
|
| Electric Guitar (electric_guitar) | Blunt melee |
Read
scripts/melee/electric_guitar.txt
|
main attack
slash1 startdir=E
enddir=W
duration=1.23
starttime=0.1
endtime=0.33
force_dir=0 -15 0
slash2 startdir=W
enddir=E
duration=1.23
starttime=0.1
endtime=0.33
force_dir=0 15 0
secondary attack
shove1 startdir=E
enddir=W
duration=0.73
starttime=0.1
endtime=0.259999
|
| Knife (knife) | Sharp melee |
Read
scripts/melee/knife.txt
|
main attack
slash1 startdir=W
enddir=E
duration=1.1
starttime=0.1
endtime=0.28
force_dir=8 -4 0
secondary attack
elbow1 startdir=W
enddir=E
duration=1.299999
starttime=0.15
endtime=0.3
|
| Golf Club (golfclub) | Blunt melee |
Read
scripts/melee/golfclub.txt
|
main attack
slash1 startdir=E
enddir=W
duration=1
starttime=0.1
endtime=0.25
force_dir=4 -10 0
slash2 startdir=W
enddir=E
duration=1.299999
starttime=0
endtime=0.2
force_dir=4 10 -10
secondary attack
shove1 startdir=E
enddir=W
duration=0.73
starttime=0.1
endtime=0.259999
|
| Pitchfork (pitchfork) | Sharp melee |
Read
scripts/melee/pitchfork.txt
|
main attack
slash1 startdir=S
enddir=N
duration=0.6
starttime=0.109999
endtime=0.25
force_dir=10 -1 20
slash2 startdir=SE
enddir=NW
duration=0.6
starttime=0.159999
endtime=0.28
force_dir=10 -7 2
slash3 startdir=W
enddir=E
duration=0.8
starttime=0.219999
endtime=0.4
force_dir=13 10 3
secondary attack
shove1 startdir=W
enddir=E
duration=1.299999
starttime=0.2
endtime=0.4
|
| Shovel (shovel) | Blunt melee |
Read
scripts/melee/shovel.txt
|
main attack
bonk1 startdir=E
enddir=W
duration=1.299999
starttime=0.1
endtime=0.36
force_dir=10 -80 20
bonk2 startdir=W
enddir=E
duration=1.34
starttime=0.07
endtime=0.379999
force_dir=10 80 20
secondary attack
shove1 startdir=E
enddir=W
duration=0.73
starttime=0.1
endtime=0.259999
|