Left 4 Dead 2

Left 4 Dead 2

Grenade Launcher staggers everything
46 Comments
Cody | MusicLockerStudio 7 Jul @ 10:22am 
can you make one that dont stagger the player who shot the grenade
Courier 6-μ 7 Jun @ 7:20am 
can i have the script like this but without staggering the Tank?
Јамеѕ 19 May @ 11:07am 
Sorry. I just didn't expect a reply so soon.
Geebanger0  [author] 19 May @ 3:44am 
you had a question mark like you were asking why i explained it
Јамеѕ 18 May @ 11:51pm 
I wasn't doubting you.
Geebanger0  [author] 18 May @ 10:38pm 
Well you brought it up, I'm just explaining it
Јамеѕ 18 May @ 8:57pm 
Ah, okay?
Geebanger0  [author] 18 May @ 7:06pm 
It does have a reason. It’s just a false trigger, the script running when it doesn’t need to and since it can’t get the info it needs to run (since the info doesn’t exist) it throws up an error and ends the script. You can ignore them since it doesn’t affect the function of the mod
Јамеѕ 18 May @ 6:46pm 
This gets spammed in the console for no reason.

AN ERROR HAS OCCURED [the index 'attackerentid' does not exist]

CALLSTACK
*FUNCTION [OnGameEvent_player_hurt()] c:/program files (x86)/steam/steamapps/common/left 4 dead 2/left4dead2/addons/workshop/3385964131.vpk/scripts/vscripts/director_base_addon.nut line [6]
*FUNCTION [__RunEventCallbacks()] unnamed line [211]
*FUNCTION [__RunGameEventCallbacks()] unnamed line [218]

LOCALS
[victim] INSTANCE
[event] TABLE
[this] TABLE
[funcName] "OnGameEvent_player_hurt"
[idx] 1
[useTable] TABLE
[bWarnIfMissing] true
[globalTableName] "GameEventCallbacks"
[prefix] "OnGameEvent_"
[params] TABLE
[event] "player_hurt"
[this] TABLE
[params] TABLE
[event] "player_hurt"
[this] TABLE
Geebanger0  [author] 2 May @ 11:42pm 
only some explosions. By default they can be stunned by propane, pipe bombs and oxygen tanks, but not grenade launchers.
@Geebanger0 This means that survivors can be stunned by explosions normally and without mods, and that this mod adds that feature, but applies it to all infected.
So, whether or not I have this mod, survivors can be stunned by explosions normally and without mods?
Geebanger0  [author] 2 May @ 11:37pm 
survivors can be stunned by propane and pipe bombs if theyre standing very close to it. For grenade launchers, it only works with this mod
@Geebanger0 Can survivors be stunned by explosions, like those caused by tanks like gas tanks, oxygen tanks, pipe bombs, or grenade launchers? Or do survivors need a mod for that?
Because reading the description, this mod also stuns survivors and special and normal infected only when they are hit by a grenade launcher. So, the question came to mind: can survivors be stunned without a mod or can they be attacked or hit by an infected to be stunned?
Geebanger0  [author] 2 May @ 9:40pm 
by default, tanks dont get staggered by the grenade launcher, but they do get staggered by propane tanks and pipe bombs
@Geebanger0 I know I said there would only be 2 questions with 2 of your mods, but I have 2 more questions with 2 of your other mods (they'll be the last 2 questions).
And one of them is with this mod and another called "Shoving Clowns attracts nearby commons."

Regarding this, I understand that with the Tank, any explosion or attacking it with the grenade launcher stuns the Tank for a few moments/seconds (I don't remember how many), but... does the same happen with the survivors? Because as far as I remember, yes, but I don't know if a mod is currently required or if it comes by default in the game.
Barbecue Bacon Burger 30 Mar @ 1:46pm 
Expert mode witch does not stagger
Kurono 20 Feb @ 8:35am 
my 13years old dream come true in 29
Gregger 7 Jan @ 5:53pm 
l4d2 if realism mode was actually realistic:
Lenar 4 Jan @ 10:29am 
Thanks! :)
Geebanger0  [author] 4 Jan @ 10:10am 
i will fix that eventually
Lenar 4 Jan @ 5:52am 
The staggered targets only goes forwarded, it is very weird most of the times
Male_09 23 Dec, 2024 @ 10:02am 
yayers realism
toyota_driver_99 23 Dec, 2024 @ 5:33am 
Good job, mate! Now The physics of The Grenade launcher are Much More realistic.
Raya 22 Dec, 2024 @ 4:44pm 
It is a great idea!
But, there is a problem that the direction of stagger is different.
So, I have improved the code so that it staggers based on the point of explosion impact,
I'd like to pass the code to you, so could you be friend please?
Kedama! 22 Dec, 2024 @ 2:32am 
Ah thank you for making this. Finally now the grenades have the expected stagger effect.
yoru 22 Dec, 2024 @ 12:12am 
doesn't incap you, simply takes a chunk of your hp and ragdolls you into the nearest wall
yoru 22 Dec, 2024 @ 12:11am 
Saw a plugin on some server, think you could recreate it if you can?
All explosions blast survivors away (pipe bombs, grenade launcher, gas cans etc), as if they got punched by a tank, looks hilarious. Accidentally blasted all of my teammates off a roof, really makes for some fun scenarios.
Cypher 21 Dec, 2024 @ 6:02am 
thx i've been looking for this
Absolute Sucker 20 Dec, 2024 @ 11:26pm 
Another Geebanger W
Cheryl🌙☥ 19 Dec, 2024 @ 8:09pm 
After all these years the grenade launcher finally staggers the tank
Geebanger0  [author] 19 Dec, 2024 @ 2:02am 
yes it should be
Slipknot 18 Dec, 2024 @ 7:45pm 
is this script compatible with a 6 round grenade launcher?
Geebanger0  [author] 17 Dec, 2024 @ 10:38pm 
@Look I'm not adding a friendly fire toggle because there's already mods that disable it
Look 17 Dec, 2024 @ 10:37pm 
@Geebanger0 I'll take that as a no then, thanks anyway.
Geebanger0  [author] 17 Dec, 2024 @ 10:33pm 
do you understand what the point of this mod is?
有个人在台州 17 Dec, 2024 @ 10:23pm 
Author, I think your plugin is too funny. First of all, it is recommended to remove the grenade launcher to give the survivor a stiffening effect. Because this is very harmful to teammates and creates a bad game experience for other players. Second, if the Grenade Launcher can blow up the Tank and Charger, adjust the probability to only if the Grenade Launcher hits directly. Because the special infected are in a static state, players can easily use melee weapons to surround them, reducing the difficulty of the game. In this case, the Grenade Launcher, a T3-level weapon with a slow rate of fire and great damage, has a special effect, but it does not disrupt the balance of the game.
Geebanger0  [author] 17 Dec, 2024 @ 10:14pm 
then get a mod that disables friendly fire and self damage
Look 17 Dec, 2024 @ 9:46pm 
@Geebanger0 i see, though still need an option to disable deadly friendly&self damage, just staggered is enough, thanks.
Geebanger0  [author] 17 Dec, 2024 @ 9:37pm 
@Look bots cant deal friendly fire damage
TuNdraLobo 17 Dec, 2024 @ 9:17pm 
Nice
Look 17 Dec, 2024 @ 9:17pm 
How about just stagger and not deadly friendly fire&self damage?? I don't know how i feel when a bot using it.
Kelwin 17 Dec, 2024 @ 11:36am 
Awesome
Geebanger0  [author] 17 Dec, 2024 @ 10:36am 
Yeah I could make it do that
Kelwin 17 Dec, 2024 @ 4:39am 
Will it be possible to customize it someday? So we can choose who one can be staggered and who shouldn't?
Geebanger0  [author] 17 Dec, 2024 @ 12:02am 
much obliged again
GunzFletcher 16 Dec, 2024 @ 11:50pm 
nice work