Left 4 Dead 2

Left 4 Dead 2

OBO: Rifle, M60 HMG script
16 Comments
Lankycide  [author] 3 Feb, 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 18 Nov, 2021 @ 1:32pm 
does it have reserve ammo? some m60 scripts add that so it can reload
Lankycide  [author] 24 Apr, 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...
𐌔𐌀𐌔𐌊𐌉𐌀 23 Apr, 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] 23 Apr, 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 22 Apr, 2018 @ 12:16pm 
the first 4 pictures are of a m60, the last picture is a m2hb
Lankycide  [author] 18 Apr, 2018 @ 1:40am 
Oh wow. Thanks for that. xD
𐌔𐌀𐌔𐌊𐌉𐌀 18 Apr, 2018 @ 1:06am 
Here, I found a video on that bug I was talking about in civilization: https://youtu.be/YOg-V4OBZc0
𐌔𐌀𐌔𐌊𐌉𐌀 11 Apr, 2018 @ 1:26am 
Comrade Aleksander!
Lankycide  [author] 11 Apr, 2018 @ 1:22am 
True that. And welcome back, Mr. Vasilkov. :D
Alex_D #NoWar 9 Apr, 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.
𐌔𐌀𐌔𐌊𐌉𐌀 9 Apr, 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] 8 Apr, 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.
𐌔𐌀𐌔𐌊𐌉𐌀 7 Apr, 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] 22 Sep, 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 22 Sep, 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.