Left 4 Dead 2

Left 4 Dead 2

OBO: Melee Weapon Tweaks + Unlocker script TLS UPDATE
44 Comments
Lankycide  [author] 20 May, 2022 @ 12:29am 
@bag of pringles:
Well thank you for the feedback and testing. I have no idea why this mod is doing anything related to infected models like the Witch bride, but I just pushed a quick update that removes its effect on The Passing. I'd rather have the mod not affect a campaign than crash on one. Thanks again. :)
a rat 19 May, 2022 @ 4:49pm 
@Lankycide:
Yep! I spent 5+ hours yesterday troubleshooting my mods and game files (including a full reinstall) and this mod ended up being the culprit!

Now, I'm no modder, but after doing some spelunking on the interwebs, I think the mod is doing something to The Passing's mission files that is messing up the way it handles loading/precaching the Witch Bride's model. It may have something to do with the melee weapon unlock portion of this mod, since I tested out subscribing to a mod that added some melee spawns to The Passing and it conflicted!
Lankycide  [author] 19 May, 2022 @ 1:00am 
@bag of pringles:
Wait, really? Did you test loading the level with only this mod installed?
a rat 18 May, 2022 @ 4:17pm 
Hey, I know this is a bit of a necro-post, but this mod is causing the first chapter of "The Passing" to crash on load due to an engine error. Something to do with the Witch Bride model failing to be pre-cached.
OBSIDION 16 Apr, 2019 @ 12:25am 
Commenting because SCP
Lankycide  [author] 3 Dec, 2018 @ 2:14am 
@People Like Grapes:
Yes, as unfortunate as this is, it is true. I've known about it for quite some time and I apologise for only getting around to fixing the description now. I was on a long break from Left 4 Dead 2, but that's no reason for leaving a misleading description up. I apologise. I rewrote the entire desription, edited the mod's name, and edited the preview picture to reflect the mod more accurately. Thank you for the reminder, and I apologise again. :)

@RedFox_NT:
You want me to make the Chainsaw able to reload? Unfortunately, I don't think that's possible. It was never meant to be reloaded. And I wouldn't want it to work that way anyway, because the Chainsaw already has a long draw time.

@Piggymcool:
Yeah, that's all been fixed. Melee weapons actually only have melee damages for friendly fire calculation, not for damage against any infected target. I've rewritten the description entirely to make things clearer, so feel free to read that for more info. :)
ParagonFlash 30 Nov, 2018 @ 9:02pm 
huh i never knew the melees had damage numbers mainly because 2 shots to kill a charger with all melees
RedFox_NT 29 Nov, 2018 @ 1:26am 
hmmm... i want chainsaw can reloadable... but that's fine
PeopleLikeStuff 9 Sep, 2018 @ 5:09pm 
So, not sure if you know this, but editing a melee weapon's damage value doesn't do much since the damage they deal is pretty hardcoded. In that melee weapons are coded to insta-kill everything except the Charger, Tank, and Witch. And even then they still don't use the damage values; they just deal a fixed percentage of their health.
So basically, the only thing a melee weapon's damage value does is factor into the friendly fire damage calculation.
Lankycide  [author] 21 Jul, 2018 @ 2:07pm 
@ShadowX & Falerin:
Aww, shucks... :) Oh, and I uploaded the scripts you requested. Gritty Realism pump-action shotguns! :D I said so in the other comment section, but I'm repeating it here in case you missed it.
Anduron_Lazul 21 Jul, 2018 @ 1:57pm 
This one. OBOW.
Lankycide  [author] 21 Jul, 2018 @ 1:53pm 
@ShadowX & Falerin:
His or mine? xD
Anduron_Lazul 21 Jul, 2018 @ 1:46pm 
The damage these do in Vanilla is even farther from reality than the zombie apocalypse itself.

The bat, nightstick, guitar, golf club, and frying pan are all used for inflicting blunt-force trauma, usually to the skull or chest, to incapacitate.
The machete is a cutting tool used for removal of thick foliage, and could be used to slice flesh as well.
Axes and chainsaws are used mostly for 2 things: chopping wood, and chopping off human limbs.

And then there's the katana, which is exclusively for A: looking badass, and B: execution by decapitation or impalement.

Valve seriously fucked it up, but this mod is an almost-perfect fix.
PapaDogg 21 Jul, 2018 @ 1:32pm 
Made this https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1446142938
And it's for left 4 dead 2. I was trying to say that by editing the .txt files I managed to add proper thirdperson animations for the knife and adjust all the melee weapons to have equal swing speeds so no weapon was better than the other. If you look at the knife in third person, it just teleports to your hand if you equip and has this really ugly swing that almost looks like you're breaking your back. So I rigged it to do a proper swing, a proper equip animation, a punch as a shove animation and even got it to properly attach to a survivors back when its not in use.
Lankycide  [author] 21 Jul, 2018 @ 12:51pm 
@Salt:
Yeah! No More Room in Hell was a flawed gem to me, great but terribly frustrating with issues like zombies hitting further with their hands than you with your sledge, but I modded that game's weapon and gamemode scripts too. Love that game, and incredibly hyped for NMRiH2! :D

And the second half of your comment was all Greek to me. xD I just modify .txt files. I'm curious as to the results of your work. What exactly did you make? And is it for L4D2 or NMRiH?
PapaDogg 21 Jul, 2018 @ 6:37am 
Sounds just like no more room in hell. They did melee weapons perfectly there, nice job on your recreation. I actually went and spent an hour to build my own version yesterday. Finally got proper thirdperson animations and a back attachment point for the hunting knife done too.
Lankycide  [author] 21 Jul, 2018 @ 5:52am 
@Salt:
I see... That makes senes. And yeah, I've also lost the desire to alter attack speeds with melee weapons. Not because of a lack of interest, but because I kinda like where they all are already. Also, melee weapons can be very OP, this is true. But with my Gamemode installed, and playing on Expert, melee becomes a dodgy game of timing instead of mashing attack. Quite fun, I must say. :D
PapaDogg 20 Jul, 2018 @ 5:14am 
was redirected here while searching for something funny and read over the information. I would like to state that you can actually edit the melee swim speed and individually, it just has to be done directly to the animations. I spent a while working on melee myself, I just kinda got bored of it and stopped since I generally feel their way too over powered. 2 Melee strikes usually clear an entire horde faster than a pipe bomb. Ontop of that the number of animations for melee is so low and looks so bad when you try to change them that it just feels not worth the time or effort. :/
Lankycide  [author] 1 May, 2018 @ 11:53pm 
Nice. Very nice. xD
XxEeNnXxEeIi 1 May, 2018 @ 11:51pm 
Because i had finish to find how to set the melee damage in other way, then if i set cut melee type as fireaxe, katana damage below max heath of infected, if i cut the leg off, the infected still not died :D and can walk or run :D
Lankycide  [author] 1 May, 2018 @ 11:30pm 
Oh wow. How'd you get that right? And more importantly, why? xD
XxEeNnXxEeIi 1 May, 2018 @ 11:20pm 
No No No, It because of me :D
Lankycide  [author] 1 May, 2018 @ 10:53pm 
Wait, is that with my mod installed?
Lankycide  [author] 12 Apr, 2018 @ 11:30pm 
Because I suspect it's multiplied by two. I set it to 130, because then when it's doubled, it's at 260, which is enough to one-shot a Hunter (Hunters have 250 health by default).
XxEeNnXxEeIi 12 Apr, 2018 @ 10:27pm 
Melee damage can't change though your .txt, machete you set to 130 why it one-hit hunter died?
Lankycide  [author] 22 Feb, 2018 @ 1:49pm 
Wait, the Chainsaw arms are still missing for the L4D1 survivors?

*Sidenote answer: SCP-990. He's like G-Man from Half-Life. :D
Obvidian 22 Feb, 2018 @ 9:31am 
Great mod! however i believe the arm model line is missing for the l4d1 survivors with the chainsaw.

*Sidenote, Favorite SCP?
Lankycide  [author] 8 Jan, 2018 @ 2:38am 
No problem. Thanks for letting me know about it. :)
TrueKringe 8 Jan, 2018 @ 2:27am 
well, sorry, I didn't know what script was.
Lankycide  [author] 8 Jan, 2018 @ 2:05am 
Ah, I get it. You're right, I didn't know that, but I suspected something was up. That's why I said "theoretically", since I noticed Tanks weren't dying in one hit even when I tested a melee weapon with 50 000 damage. Do you know how or where I can modify that script? I'd like to make it 15 hits or so, to make melee weapons a risk-for-reward choice when fighting Tanks.
TrueKringe 8 Jan, 2018 @ 1:46am 
Bro, seem likes you don't know that normally there's a script that you can kill tanks by 20 melee hits (expect chainsaw) regardless how much HP it has (even it had 150K HP).

So, seem likes your script won't work on this.
Lankycide  [author] 8 Jan, 2018 @ 1:38am 
What? My modified melee weapons? Theoretically, Tanks should die sooner when attacked with melee weapons due to increased damage. The Chainsaw is especially deadly now, so be careful for friendly fire. :)
TrueKringe 6 Jan, 2018 @ 10:49pm 
did it still takes 20 hits to kill tanks?
Y3LL0WJ4CK3T 18 Dec, 2017 @ 3:51am 
Cheers.
Lankycide  [author] 16 Dec, 2017 @ 10:25am 
Oh good grief, I somehow missed the Chainsaw when I fixed that issue with the melee weapons. Thanks for the report, it's been corrected now. :)

Oh, and I even mentioned you in the Change Notes if that's okay. ;)
Y3LL0WJ4CK3T 16 Dec, 2017 @ 9:59am 
Hello, I would like to report a glitch.

When I use a chainsaw, L4D1 survivors lose their arms. Pls fix this glitch. Thanks a nonillion
Lankycide  [author] 18 Oct, 2017 @ 2:41am 
Okay, big update! This mod now includes a melee weapon unlocker system, like the dedicated mods that do the same thing. Read the description above (the "UPDATE:" part) for more info.
Lankycide  [author] 27 Sep, 2017 @ 11:08pm 
Okay, cool. Yes, any command can be put into a gamemode, which is really useful. So I did just that, and made a huge gamemode specifically for my mod. It includes some Chainsaw edits and just about everything else I felt would improve the game. Feel free to check it out!

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1147589399

P.S. Is that some kind of Slendermare in your picture? xD Nice.
Dusk Holloway 27 Sep, 2017 @ 11:05pm 
I think any command you can put into the console you can put into the gamemode.txt file I've yet to find one that didn't work.
Dusk Holloway 25 Sep, 2017 @ 4:43am 
Both you can add it but it needs to go into "gamemodes"
Lankycide  [author] 25 Sep, 2017 @ 3:32am 
Oh, that's incredibly useful! Thanks! :D

Wait, is that a command you need to type in the console, or is it a variable I can add to my script?
Dusk Holloway 25 Sep, 2017 @ 3:09am 
chainsaw_hit_interval there you go.
Dusk Holloway 25 Sep, 2017 @ 2:51am 
there is a way to change the chainsaw ROF but I don't know it of by heart, so I'll start l4d2 soon and tell yah.