Left 4 Dead 2

Left 4 Dead 2

65 ratings
Desert Rifle / full auto
   
Award
Favorite
Favorited
Unfavorite
Game Content: Weapons
Weapons: Rifle
File Size
Posted
Updated
4.112 KB
25 May, 2019 @ 5:04am
26 Jul, 2021 @ 8:28am
4 Change Notes ( view )

Subscribe to download
Desert Rifle / full auto

Description
Single taps still have the burst (nothing I can do about that), but if you hold the left mouse button down it will shoot full automatic. When releasing the mouse button it will finish it's last burst, though. (this works in online multiplayer)

In single player the accuracy, and damage have been buffed slightly.
To compensate for these changes I made the magazine size smaller: From 60 rounds to 36 rounds. (works only in single player)


*This is just a script with no weapon model and only works in single player (unless a server uses my mod of course)*
25 Comments
Taco enjoyer 5 Jul @ 7:18pm 
can you make a mod like this but instead each shot dose 245 damagen thanks
GoneDiaz 8 Feb @ 7:54pm 
Pretty good scrrpt I'd say. Get the best of Full auto and burst at the same time
Mickey Meth 9 Jun, 2024 @ 11:17am 
why change the mag size
OniYuca 14 Aug, 2023 @ 4:02am 
pls make e3/beta script (FAST Full auto)
Dvasong_***** 13 Aug, 2023 @ 7:30am 
make a version with no ammo script pls
3uz-fe_4.3_V8 24 Jul, 2023 @ 5:53am 
that single tap burst is pretty similar to the KF7 soviet in 007
where your gun is automatic when it hold
Mirror System X 2 Jan, 2023 @ 4:01pm 
Interestingly, burst fire actually keeps it being there all the time. You just exceed the delay's threshold and iit seems like if it isn't apparent, but the base burst behaviour is not changed.
The delay seems unaffected by anything we do in the desert rifle's script, so it seems to be set in another document, probably some common one.
Matt de Ovale  [author] 20 Jun, 2022 @ 11:33am 
cant do anything about that, i've tried. read the description
Pepe on my Balls 20 Jun, 2022 @ 11:30am 
when i change the cycletime value it turns into burst fire. how do i double up to old SCAR speed but keep auto shots?
Matt de Ovale  [author] 20 Jun, 2022 @ 3:09am 
@guts nick
It has been a while but looking at the mod again it looks like"CycleTime" "0.07" is used for the rate of fire. In my own mod I changed it from 0.07 to 0.105:

"CycleTime" "0.105" // was 0.07

This was done because I looked up the real life statistics on the rate of fire for the Scar-H. (60 / 550 = 0.19 and 60 / 650 = 0.09, I think I decided to go down the middle.)
//The double slash means this is a comment, any text on the same line doesn't affect the code.

By decreasing the value the firing rate increases, because you'll decrease the time between bullets.