Left 4 Dead 2

Left 4 Dead 2

HexToMax's Powerful AWP
56 則留言
KauaFelipe 3 月 26 日 上午 6:58 
Why this change M20 reload ammo?
Milcoенг 3 月 7 日 上午 12:32 
WERWER


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

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

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