Left 4 Dead 2

Left 4 Dead 2

OBO: Rifle, M60 HMG script
16 Comments
Lankycide  [author] Feb 3, 2022 @ 11:57pm 
@The Badass Flareon:
Unfortunately, reserve ammo is part of the gamemode script, not the weapon script, so you'll need something like my Dead World gamemode mod or a comparable mod for that.
The Badass Flareon [] Youtube Nov 18, 2021 @ 1:32pm 
does it have reserve ammo? some m60 scripts add that so it can reload
Lankycide  [author] Apr 24, 2018 @ 1:40am 
Yeah, it's a bit of a pity, isn't it? We've got all kinds of M60 mods, even miniguns, but no .50BMG HMGs. Such a pity...
𐌔𐌀𐌔𐌊𐌉𐌀 Apr 23, 2018 @ 4:37am 
There isn't even existing M2HB replader for the M60 anyway. I figured if one was to ever be published to the workshop, it would be from Lt. Rocky.
Lankycide  [author] Apr 23, 2018 @ 12:04am 
Yes, I am well aware. This mod is just a script that modifies the behaviour of the M60 to work like an M2HB. :)
gamingdalekzx117 Apr 22, 2018 @ 12:16pm 
the first 4 pictures are of a m60, the last picture is a m2hb
Lankycide  [author] Apr 18, 2018 @ 1:40am 
Oh wow. Thanks for that. xD
𐌔𐌀𐌔𐌊𐌉𐌀 Apr 18, 2018 @ 1:06am 
Here, I found a video on that bug I was talking about in civilization: https://youtu.be/YOg-V4OBZc0
𐌔𐌀𐌔𐌊𐌉𐌀 Apr 11, 2018 @ 1:26am 
Comrade Aleksander!
Lankycide  [author] Apr 11, 2018 @ 1:22am 
True that. And welcome back, Mr. Vasilkov. :D
Alex_D #NoWar Apr 9, 2018 @ 12:15am 
While using boolean types is understandable (yes/no, male/female, on/off), the usage of short types could be simply the old school programmer's desire to reduce the memory used and speed up the calculations. With today's computers (and the amount of unused content imminently left in the games) it is somewhat irrelevant, however.
𐌔𐌀𐌔𐌊𐌉𐌀 Apr 9, 2018 @ 12:01am 
I should mention that the particular perk that grants that -2 hostility is pretty much impossible to miss, so every time you started a game with bots, it was imminent that Ghandi would go insane.
Lankycide  [author] Apr 8, 2018 @ 11:51pm 
Oh.. my word. I should not be laughing at that, but it's just too funny. India/Ghandi nuking everyone. xD It makes you wonder why BYTE is still used, actually. Or at least, was used in 2009 for L4D2.
𐌔𐌀𐌔𐌊𐌉𐌀 Apr 7, 2018 @ 10:58pm 
BYTE is pretty funny sometimes. In one of Sid Meiser's Civilization games. The Indian civilization lead by Ghandi would have 0 hostility by default, but later in the game if they achieved a specific perk to diplomacy, it decreased their hostility by 2. BYTE doesn't read negative values correctly, and so it automatically would upscale India's hostility to 255, the maximum it can be. This resulted in India extremely quickly being dicks and fighting every person in the game, to the point where they would develop nukes and fire on everyone. It was so funny that they left this in for the sequels.
Lankycide  [author] Sep 22, 2017 @ 11:27am 
Yes, I noticed this when I tried to make my Minigun have an 800-round magazine to match its 800-round reserve ammo. Thanks anyway, dude. I appreciate the tips! And don't worry, this will be fixed soon. Actually, let me do it now quickly. I'm currently testing the Minigun script in playtesting, but I'll do a quick update.
Alex_D #NoWar Sep 22, 2017 @ 9:09am 
Uh, I'll have to warn you that the ammo counter on the HUD is "BYTE". This means it only shows values from 0 to 255 (it actually fails to show 255, making several shots soundless, and the ammo count stays 0 for a short while). I'd recommend decreasing the clip_size to 250, sadly enough.