Left 4 Dead 2

Left 4 Dead 2

Turret Mod (Script)
226 Comments
kurochama Jul 26 @ 4:03pm 
@party the cat , this mod doesn't use custom models, so other players will be able to see it even when they don't have this mod.
Roaring knight Jul 26 @ 3:25pm 
wait i have a question does other people see the turret or its gonna say an error for them
if they did not have the mod
Rizzu铬 Jul 14 @ 7:49am 
waa
ZoroMcGregor Jul 9 @ 1:35am 
Super OP
fugitin flow May 31 @ 12:23pm 
4
´-Sylviaᓚᘏᗢᵐᵉᵒʷ May 28 @ 10:52am 
can u make this show up on survival maps ?
The Combine Death Trooper Mar 19 @ 2:21pm 
could you make the auto shooting script go into the 50 cal
黑丝白雪 Mar 3 @ 11:47pm 
木头底座有些违和,要不要改为机械底座
脱你裤衩子 Feb 26 @ 6:32am 
多变出几个架在地上,真的做到了无伤通关,太无敌了
KauaFelipe Feb 12 @ 10:44am 
Can you make a Standalone version?
残阳落雪 Nov 25, 2024 @ 7:50am 
终于找到自己想要的了
XChester Nov 20, 2024 @ 4:52am 
how do u spawn more?
CAT_SAYS_NO Aug 7, 2024 @ 10:04pm 
Now I actually use the m60
¦♠¦ᴴᴱᴸᴸᴱᴺ㍐ Jul 17, 2024 @ 9:32am 
How to make the Turret non pickeable ?
BBQBaconBurger :3 May 11, 2024 @ 3:47pm 
the ammo packs are still the same and it replaces the actual m60 for me
WuChan Jan 19, 2024 @ 12:18am 
@kurochama, already tested in many ways so here's my conclusion about this mod:

if this mod works as standalone mod, it definitely needs ammo safety and ammo refill. but it can be solved by your item drop bonus mod or that m60 fix mod.

if this mod works with your gun collectors lite mod or double primary mod, it can auto refill itself (as a good bug ofc) when switching guns. so ammo safety and ammo refill is no need in this case.
kurochama Jan 18, 2024 @ 11:50pm 
@WuChan , probably there might be some unknown conflicts with my other mods then.

Btw I also just finished testing, & the ammo of m60 turret here isn't affected by m60 real ammo. So it's a custom ammo from this mod, & m60 mods that can make m60 refill ammo probably can't refill this turret. The easiest way to solve ammo refill would be making the ammo count connect to certain gun other than m60 (for example, rifle), then, load the ammo data of that gun when m60 is installed. So, anytime the rifle is refilled, ammo data of rifle will be transferred to m60 turret to replace the m60 turret custom ammo.
WuChan Jan 18, 2024 @ 11:47pm 
@kurochama already tested in map 2 > map 3 and it's normal, no bug like you said, the only bug I think is when player crouch on turret, it may consider that player is not even in the game so it's stop firing.
kurochama Jan 18, 2024 @ 11:16pm 
@WuChan , my mod Item Drop Bonus actually also has the ammo safety & ammo refill for m60 & grenade launcher, & m60 will get reserve ammo as much as smg (650), but I haven't tested to pick ammo for this turret with that mod.
WuChan Jan 18, 2024 @ 11:07pm 
@kurochama let me test. btw. there is a mod already can fill that ammo safety & ammo refill is Grenade Launcher & M60 Fix [Server Mod] . the code style inside is kinda similar to yours. may be you can implement the ammo safety and ammo refill from tagged mod to this turret mod
kurochama Jan 18, 2024 @ 10:59pm 
@WuChan , I modified it into infinite ammo instead :steamhappy: . Well, it it's ammo safety & ammo refill, I think there are some mods that can make m60 pick ammo & have ammo safety too. I wonder if the ammo here can be refilled with those mods or not. Btw, did you ever get similar bug like mine on this turret? If not, you could try a new campaign on gamemaps named "Bloodsoul". Somehow m60 turret got bugged when I tested there, like the first 2 maps worked but after map 2 it's bugged, until I fixed it myself by changing "IsAlive()" to "IsDead()".
WuChan Jan 18, 2024 @ 9:45pm 
@kurochama, this mod only needs 2 things to be invincible: ammo safefy (for normal mode) and ammo refill.
kurochama Jan 18, 2024 @ 5:51pm 
@★ CrossGun ★ , probably I found the cause of this bug. I also got this bug recently when playing certain custom campaigns, & there's an error on console like "IsAlive does not exist". This error actually makes the turret detection on the living survivor fail. This actually can be replaced by "IsDead()", with the opposite function, like:
- "hPlayer.IsAlive" = "!hPlayer.IsDead()"
- "!hPlayer.IsAlive" = "hPlayer.IsDead()"

Replacing "IsAlive" with "IsDead" will fix that bug.
WuChan Jan 18, 2024 @ 5:32pm 
please add me, I wannt talk to you something about this mod, adjust it a little bit so that it can be carry-able
kurochama Jan 17, 2024 @ 3:20pm 
Btw this a good one. The mechanisms of using it are simple. The turret aim is also perfect, & when I modified it to have 360 degrees of shooting angle & farther shooting range, it can deal all zombies even without me doing anything :steamhappy: . I also modified it to have infinite ammo, just to have fun with zombies. Probably it's one of best turret mods I've ever seen.
kurochama Jan 17, 2024 @ 6:34am 
@★ CrossGun ★ , probably one or some of your mods conflicted with this mod. I tested this several times, even when I was in the process of making the alternative mod of this one that replaces gnome by adding a virtual inventory to keep the gnome, with infinite ammo & ammo that can destroy zombies even in normal shots, & this mod worked perfectly. To check which ones of your mods having conflicts with this, try to disable all mods & use only this one on "Gib Fest" mutation
★ CrossGun ★ Jan 16, 2024 @ 5:05am 
@Wuchan
No for some reason it just stops working. Even if you check "!ammo" it still shows a lot of it.
tsoewoe Jan 15, 2024 @ 4:40pm 
this is so cool
Mortimer Jan 13, 2024 @ 8:58pm 
engineer gaming in l4d2
WuChan Jan 7, 2024 @ 7:19am 
@★ CrossGun ★ only 1 obvious reason: out of ammo
★ CrossGun ★ Jan 3, 2024 @ 3:16am 
Any reason why somewhere mid game the turret stops working by itself?
amigaforever Dec 16, 2023 @ 7:49am 
still works great, moved it to an alternate slot position, works so well I have to come up with creative ways to limit usage, don't think !mode works but who care,
lazz Nov 6, 2023 @ 10:57pm 
Heisenberg mod :gordon:
尼古拉斯-厚礼蟹 Oct 12, 2023 @ 7:46am 
自动M60机枪:steamthumbsup::steamthumbsup::steamthumbsup:
Magic man Sep 13, 2023 @ 4:12am 
Its op but it has the drawback to become reliant on your secondary or your team.
Gordon Freeman gaming Aug 17, 2023 @ 7:44am 
nice
狂野峨眉吗喽 Aug 8, 2023 @ 3:49am 
VERY GOOD!
kz May 13, 2023 @ 7:04am 
"Sentry going up"
11B4P May 7, 2023 @ 4:36am 
can you make so that the shove button to place on ground
困里菜 Jan 25, 2023 @ 7:32am 
I want to ask if I can permanently modify the properties. Every time I go online to l4d2, I need to reset my own debugging properties. Is there any way to record my debugging properties all the time? I can't use cfg files:steamfacepalm:
Retour du Roi Oct 19, 2022 @ 11:50am 
It can be destroyed?
Buster Oct 16, 2022 @ 6:59pm 
and can you put this in a secondary slot?
Sparkey Sparks Oct 15, 2022 @ 2:34am 
Sweet handy heavy weapon , good for backup and if there's a

Mega Horde

incoming.
amigaforever Oct 13, 2022 @ 9:36pm 
console = sv_turret_max_ammo 9999 - when you pick up the unit, this value resets - I have never come close to using that much at any one time - I'm not even good at this game, play only with bots and never seen it below 9600 before I picked it up and move to another area
Buster Sep 27, 2022 @ 4:22am 
can you make this with infinite ammo
祈禱 Sep 25, 2022 @ 6:08pm 
Can I set the M60 mode as the default by modifying the file?
ryaN Sep 15, 2022 @ 3:28pm 
nice
Gummydrop Jul 31, 2022 @ 1:19am 
I wish there was some way to make the turrets ammo infinite
▼ WellDare ▼ ♫♫♫ Jul 23, 2022 @ 12:08pm 
Cool mode
Very nice for Survival maps
300 ammo is perfect