Left 4 Dead 2

Left 4 Dead 2

HexToMax's Powerful AWP
60 Comments
Skully Graves Sep 5 @ 7:29am 
I believe this would fit CZ700
Duke Nukem Sep 1 @ 11:31am 
It is fantastic. Any chance you make a version that keep 180 reserve ammo?
_-_-_MANSHEЯ_-_-_ Aug 27 @ 4:13pm 
can you make a version where it removes the chat info message that would be great
BundyIsHome Jul 15 @ 5:14am 
Reminds me of that scene in MW19 where Hadir goes:

"Alex, check this out, .338 Lapua" *pulls out a comically large bullet that is definitely not .338 Lapua*
KauaFelipe Mar 26 @ 6:58am 
Why this change M20 reload ammo?
Milcoенг Mar 7 @ 12:32am 
WERWER


SDFD
SF
SDF
DSF
SD
FSDF
SDG
SDG
SD
GSDG
Kanpucta Dec 13, 2024 @ 4:40am 
Never mind, I got it.
Kanpucta Dec 13, 2024 @ 2:10am 
I would like to make it be able to one shot Charger with body shot with its 66% Damage reduction, without increasing its damage. If you are able to do it that would be so appreciated.
Colkillervin Oct 24, 2024 @ 3:47am 
is there a way to increase the dmg?
BECKBRU Oct 2, 2024 @ 9:42am 
https://steamcommunity.com/sharedfiles/filedetails/?id=3341632925
combine combine these scripts with yours, the only thing missing was the impact of the bullet to push the animals back
Hex To Max  [author] Sep 26, 2024 @ 1:07am 
:steamhappy::steamthumbsup:
Alpha Sep 25, 2024 @ 10:51pm 
Oh~ I haven't used "VSlib", I think it's helpful for me on coding, Thank you very much for sharing this! Seems that I will get a new way to do lots of things!
Hex To Max  [author] Sep 25, 2024 @ 6:27pm 
as far as i know, OnTakeDamage can be triggered on only one of all scripts. in my case i solved this problem using VSlib's EasyLogic::OnTakeDamage instead of OnTakeDamage itself you can refer to my explosive cars script
Alpha Sep 25, 2024 @ 1:38pm 
In fact, I cancelled "hitgroup checking" so that the witch will be push by shooting any position with awp. then the "damage type checking" is necessary otherwise "takedamage" will trigger current event leading to Infinite loop. (That's a sad story for me hhhhh)

I also found a problem, when trigger "takedamage" method, some script like "damage display" will occur statistics error. So I use "EntFire" method to trigger this, and it's useful.

BTW, I try to change the damage with 0.01, it"s effective without taking damage, but 0.001 is totally not working.

Hope for helpful :)
Alpha Sep 25, 2024 @ 1:38pm 
I found some problems of the script, and try to solve. I just test and solve the effect on witch.

In the script, the event "infected_hurt" cannot return weapon's info, so you use "attacker.GetActiveWeapon().GetClassname()" to check the current weapon, but when using "stable m60" or "stable Gatling" of map, it also effective while you taking the awp. Besides, logically, when the witch hurt by blast or burning of you meanwhile you current weapon is awp, it's effective too, but it looks like the "hitgroup == 1" (headshot?) prevent this situation.

So, I change the judge to this:
...checking player, checking awp, checking hitgroup ...
local IsBullet = (params.type & DirectorScript.DMG_BULLET) > 0
local OnWeaponUse = (attacker.GetActiveWeapon().GetSequence() & 8) > 0
if (IsBullet && OnWeaponUse)
TakeDamage...;
......
It makes sure that the hurt source is shooting and current using weapon is main-weapon(awp).
Hex To Max  [author] Sep 25, 2024 @ 6:14am 
@Alpha oh quite nice idea thanks for share:steamhappy::steamthumbsup:
Alpha Sep 25, 2024 @ 3:36am 
Thanks! It's useful for me to edit my script. Especially on stagger witch.My awp can stagger SI or player but not effect on witch cause witch hasn't this method, so "take_damage" is a good idea.
BTW, the ammo type m60 is better choice, then using NetProp method to change ammo type to shotgun or others and give max ammo on "item_pickup" event. In this way, the awp can not only break CI but also has other gun's ammo amount, besides, also has snipers features like infinity penetration , won't affect other content whatever shotgun or m60.
In my Test, in NetProp "iAmmo" , the ammo-type only infect ammo amount, when changed, can normally use ammo spawn.
Milcoенг Sep 20, 2024 @ 5:11am 
89089089\
089
089
089
0890890
890890
Milcoенг Sep 19, 2024 @ 3:50am 
90-9
8\089
089
089
089
089089089
0890890
80890
Milcoенг Sep 19, 2024 @ 3:49am 
8089
890
890
890
890
890890
jameshenderson Aug 31, 2024 @ 9:33pm 
yeah why are you yappin? you said "789 789 687"?
Pwnage Peanut Jul 14, 2024 @ 8:05pm 
What was bro yappin about?
Milcoенг Jul 12, 2024 @ 8:48am 
789
780
780
78
0780
780
Milcoенг Jul 10, 2024 @ 8:52am 
97978978
078078
078
078
078
0780
Milcoенг Jul 10, 2024 @ 8:12am 
6796
7967
967
9679
Milcoенг Jul 3, 2024 @ 4:28am 
789789
789
789
789
789789780780
780
Milcoенг Jul 2, 2024 @ 6:12am 
68679
679
679
not_requested49 Jan 1, 2024 @ 11:44am 
very easy to change, even i changed it in my mod but the ammo it uses is "minigun" type reserve ammo which is the m60 ammo that i use

i could do it very easily but meh i dont really make scripts that much anymore
Handsome Bishop Jan 1, 2024 @ 11:32am 
Is there one for the scout?
Xenorvya Nov 28, 2023 @ 2:42pm 
This is a good mod, makes this weapon usable. One for the scout would be nice as well, but I think this really needs an option to toggle the magazine changes off. 10 ammo in the magazine with how slow it shoots (you also need good aim, so miss and you're in trouble) with 100 instead of 180 in reserve is kinda weak. Especially when certain things are disabled such as riot & witch.
Zet_Monster Oct 6, 2023 @ 7:36pm 
If I use this mod in Expert mode, witches are less likely to stumble, even with an explosive round or making headshots. I could die in one blow...
[GC.SKINS] ElTamales Sep 6, 2023 @ 8:13pm 
If it doesn't work, the solution is to restart the game since it allows the script to be loaded, it works for other scripts
WATER_KITEN Aug 2, 2023 @ 4:11pm 
20 to 10... im dont want reduce magazine
Ali the Monster Slayer Jun 6, 2023 @ 7:50pm 
NOT POWERFUL ENOUGH
Rawkfist May 11, 2023 @ 11:42am 
truly justifies awp
Jmod May 1, 2023 @ 9:52pm 
It doesn't work for some reason. The chat message appears, but the damage isn't any different.
Kaila Feb 26, 2023 @ 4:22am 
@coasted men try activet that in consol. In mine that command not find i will do what that write but it's still dosen't work.
Hex To Max  [author] Feb 25, 2023 @ 8:41pm 
@DarkHunFox yea just dont forget to add credit for original author
DarkHunFox Feb 25, 2023 @ 9:47am 
Hey, i modified your mod, can i have permission to release it?
coasted Feb 22, 2023 @ 6:52pm 
it dont work huh.. maybe read about it lol

dude you make some awesome mods
Kaila Nov 27, 2022 @ 9:33am 
sorry but it don't work
//Ray Jul 4, 2022 @ 4:42am 
nice, mb u can make granade projectile for spas12 or benelli for weapon china lake?
Lebo Feb 17, 2022 @ 5:07pm 
@Lunarwolf local/singleplayer. not public
Lunarwolf Feb 14, 2022 @ 10:11pm 
does this work on local host or in singleplayer only?
Hex To Max  [author] Feb 13, 2022 @ 9:14pm 
@Truth-Teller As I said above you don't need to enable this when you join anyone's server that you don't host because it only works when you are a host of the server
76561198268536306 Jan 23, 2022 @ 9:45am 
unfortunatly it make me unable to join a lot of maps even some official ones
Frontgid Nov 9, 2021 @ 9:33am 
Turning the AWP into a Barrett, huh?
Crishan ツ Oct 30, 2021 @ 7:39am 
Its is cheat ?
not_requested49 Oct 4, 2021 @ 1:30pm 
https://steamcommunity.com/sharedfiles/filedetails/?id=2615795618

is the edited version i made, full credits to you of course
Ethanol | Gamer Oct 3, 2021 @ 11:57am 
actually makes the awp useful