Left 4 Dead 2

Left 4 Dead 2

587 ratings
HexToMax's Powerful AWP
   
Award
Favorite
Favorited
Unfavorite
Game Content: Weapons, Scripts
Weapons: Sniper
Content Descriptors: General Mature Content, Frequent Violence or Gore
File Size
Posted
Updated
28.655 KB
19 Sep, 2021 @ 12:15am
22 Sep, 2021 @ 9:46pm
10 Change Notes ( view )

Subscribe to download
HexToMax's Powerful AWP

In 1 collection by Hex To Max
HexToMax's script mods
11 items
Description
This mod makes AWP more useful and unique.

Features
- AWP uses its own unique ammo(max capacity is 10/100) which breaks common infected in pieces and makes Tank limp.
- AWP's damage is 250. It means you can kill Hunter and Smoker just with a single shot to anywhere bar the legs and arms(you can also one-shot kill Jockey using !pa_awpjockey option) but when Tank has more than 1000HP, 20% damage reduction(250->200) is applied to Tank.
- AWP can one-shot kill Charger by headshot even if he's got 66% damage reduction when charging.
- AWP has very high penetration power which can do damage to max 6 zombies in a row with one shot and kill riot zombies by hitting the front or any part of their armor.
- When someone grabs AWP, the information message(damage/max penetration/rate of fire) will pop up into his chat box (once a chapter).
- AWP can stagger Witch in any state except she's on fire by hitting her head.

Commands(Host only)
- !pa_awpinfo : Turn off/on information message when grabbing AWP (Default: On)
- !pa_awptank : Turn off/on Tank damage reduction (Info message will also be changed) (Default: On)
- !pa_awpwitch : Turn off/on Witch's stagger when she is hit on the head (Default: On)
(While the option is off, AWP can still make Witch stagger like other sniper rifles when she is sitting on the ground and doesn't notice nearby survivors)
- !pa_awpriot : Turn off/on instant kill of riot zombie (Default: On)
(While the option is off, AWP can still make riot zombies stumble but only little damage will be inflicted on them)
- !pa_awpjockey : Turn on/off ability which enables AWP to kill Jockey with one shot except hit the legs and arms (Default: Off)

!!! This addon is server-side script. It means this will work only if you host a server and not work if you join any other servers which don't have this addon.

AWP mods used in screenshots
- Accuracy International AWM-F (CS:S AWP)
- ImBrokeRu AWP
- AWP | Miku
- Barrett M98B (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 :)