Left 4 Dead 2

Left 4 Dead 2

HexToMax's Powerful AWP
56 comentarii
KauaFelipe 26 mart. la 6:58 
Why this change M20 reload ammo?
Milcoенг 7 mart. la 0:32 
WERWER


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

dude you make some awesome mods
Hunter Riley (Elite) 27 nov. 2022 la 9:33 
sorry but it don't work
//Ray 4 iul. 2022 la 4:42 
nice, mb u can make granade projectile for spas12 or benelli for weapon china lake?
Lebo 17 febr. 2022 la 17:07 
@Lunarwolf local/singleplayer. not public
Lunarwolf 14 febr. 2022 la 22:11 
does this work on local host or in singleplayer only?
Hex To Max  [autor] 13 febr. 2022 la 21:14 
@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 ian. 2022 la 9:45 
unfortunatly it make me unable to join a lot of maps even some official ones
F2 Dante 9 nov. 2021 la 9:33 
Turning the AWP into a Barrett, huh?
Ellis 30 oct. 2021 la 7:39 
Its is cheat ?
not_requested49 4 oct. 2021 la 13:30 
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 la 11:57 
actually makes the awp useful
Flashyface 30 sept. 2021 la 19:22 
take notes tls team :alyx:
Sunbro JL 23 sept. 2021 la 1:26 
Very nice. The default values for this gun was very underwhelming.
Sëëth 22 sept. 2021 la 21:10 
Boom, Headshot.
not_requested49 21 sept. 2021 la 15:19 
cool thanks!