Left 4 Dead 2

Left 4 Dead 2

HexToMax's Powerful AWP
56 Comments
KauaFelipe 26 Mar @ 6:58am 
Why this change M20 reload ammo?
Milcoенг 7 Mar @ 12:32am 
WERWER


SDFD
SF
SDF
DSF
SD
FSDF
SDG
SDG
SD
GSDG
Kanpucta 13 Dec, 2024 @ 4:40am 
Never mind, I got it.
Kanpucta 13 Dec, 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 24 Oct, 2024 @ 3:47am 
is there a way to increase the dmg?
BECKBRU 2 Oct, 2024 @ 9:42am 
https://sp.zhabite.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] 26 Sep, 2024 @ 1:07am 
:steamhappy::steamthumbsup:
Alpha 25 Sep, 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] 25 Sep, 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 25 Sep, 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 25 Sep, 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] 25 Sep, 2024 @ 6:14am 
@Alpha oh quite nice idea thanks for share:steamhappy::steamthumbsup:
Alpha 25 Sep, 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енг 20 Sep, 2024 @ 5:11am 
89089089\
089
089
089
0890890
890890
Milcoенг 19 Sep, 2024 @ 3:50am 
90-9
8\089
089
089
089
089089089
0890890
80890
Milcoенг 19 Sep, 2024 @ 3:49am 
8089
890
890
890
890
890890
jameshenderson 31 Aug, 2024 @ 9:33pm 
yeah why are you yappin? you said "789 789 687"?
Pwnage Peanut 14 Jul, 2024 @ 8:05pm 
What was bro yappin about?
Milcoенг 12 Jul, 2024 @ 8:48am 
789
780
780
78
0780
780
Milcoенг 10 Jul, 2024 @ 8:52am 
97978978
078078
078
078
078
0780
Milcoенг 10 Jul, 2024 @ 8:12am 
6796
7967
967
9679
Milcoенг 3 Jul, 2024 @ 4:28am 
789789
789
789
789
789789780780
780
Milcoенг 2 Jul, 2024 @ 6:12am 
68679
679
679
not_requested49 1 Jan, 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 1 Jan, 2024 @ 11:32am 
Is there one for the scout?
Legoshi's Boywife 28 Nov, 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 6 Oct, 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 6 Sep, 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 2 Aug, 2023 @ 4:11pm 
20 to 10... im dont want reduce magazine
Ali the Monster Slayer 6 Jun, 2023 @ 7:50pm 
NOT POWERFUL ENOUGH
Pepe on my Balls 11 May, 2023 @ 11:42am 
truly justifies awp
Jmod 1 May, 2023 @ 9:52pm 
It doesn't work for some reason. The chat message appears, but the damage isn't any different.
Hunter Riley (Elite) 26 Feb, 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] 25 Feb, 2023 @ 8:41pm 
@DarkHunFox yea just dont forget to add credit for original author
DarkHunFox 25 Feb, 2023 @ 9:47am 
Hey, i modified your mod, can i have permission to release it?
coasted 22 Feb, 2023 @ 6:52pm 
it dont work huh.. maybe read about it lol

dude you make some awesome mods
Hunter Riley (Elite) 27 Nov, 2022 @ 9:33am 
sorry but it don't work
//Ray 4 Jul, 2022 @ 4:42am 
nice, mb u can make granade projectile for spas12 or benelli for weapon china lake?
swipez 17 Feb, 2022 @ 5:07pm 
@Lunarwolf local/singleplayer. not public
Lunarwolf 14 Feb, 2022 @ 10:11pm 
does this work on local host or in singleplayer only?
Hex To Max  [author] 13 Feb, 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 23 Jan, 2022 @ 9:45am 
unfortunatly it make me unable to join a lot of maps even some official ones
F2 Dante 9 Nov, 2021 @ 9:33am 
Turning the AWP into a Barrett, huh?
Crishan 30 Oct, 2021 @ 7:39am 
Its is cheat ?
not_requested49 4 Oct, 2021 @ 1:30pm 
https://sp.zhabite.com/sharedfiles/filedetails/?id=2615795618

is the edited version i made, full credits to you of course
Ethanol | Gamer 3 Oct, 2021 @ 11:57am 
actually makes the awp useful
Flashyface 30 Sep, 2021 @ 7:22pm 
take notes tls team :alyx:
Sunbro JL 23 Sep, 2021 @ 1:26am 
Very nice. The default values for this gun was very underwhelming.
Sëëth 22 Sep, 2021 @ 9:10pm 
Boom, Headshot.
not_requested49 21 Sep, 2021 @ 3:19pm 
cool thanks!