Left 4 Dead 2
HexToMax's Powerful AWP
56 σχόλια
KauaFelipe 26 Μαρ, 6:58 
Why this change M20 reload ammo?
Milcoенг 7 Μαρ, 0:32 
WERWER


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

dude you make some awesome mods
Captain Hunter 27 Νοε 2022, 9:33 
sorry but it don't work
//Ray 4 Ιουλ 2022, 4:42 
nice, mb u can make granade projectile for spas12 or benelli for weapon china lake?
Lebo 17 Φεβ 2022, 17:07 
@Lunarwolf local/singleplayer. not public
Lunarwolf 14 Φεβ 2022, 22:11 
does this work on local host or in singleplayer only?
Hex To Max  [Δημιουργός] 13 Φεβ 2022, 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 Ιαν 2022, 9:45 
unfortunatly it make me unable to join a lot of maps even some official ones
F2 Dante 9 Νοε 2021, 9:33 
Turning the AWP into a Barrett, huh?
Crishan 30 Οκτ 2021, 7:39 
Its is cheat ?
not_requested49 4 Οκτ 2021, 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 Οκτ 2021, 11:57 
actually makes the awp useful
Flashyface 30 Σεπ 2021, 19:22 
take notes tls team :alyx:
Sunbro JL 23 Σεπ 2021, 1:26 
Very nice. The default values for this gun was very underwhelming.
Seeth 22 Σεπ 2021, 21:10 
Boom, Headshot.
not_requested49 21 Σεπ 2021, 15:19 
cool thanks!