Left 4 Dead 2

Left 4 Dead 2

340 betyg
Grenade Launcher staggers everything
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Game Content: Scripts
Game Modes: Single Player, Co-op
Filstorlek
Lades upp
2.955 KB
16 dec, 2024 @ 20:52
1 ändringsnotis ( visa )

Abonnera för att ladda ner
Grenade Launcher staggers everything

Beskrivning
Any target hit by the grenade launcher will now be staggered. This includes:
- The player using the launcher
- Other survivors
- Tanks and Chargers
- All common and special infected

It's a bit of a rework in a way; the launcher is now very useful against Tanks and specials, but friendly fire and self damage is a lot more punishing.
47 kommentarer
Agitatio 7 sep @ 13:17 
That error that was previously reported coincides with my game freezing for like half a second. And it feels like it happens on an interval.
Cody | MusicLockerStudio 7 jul @ 10:22 
can you make one that dont stagger the player who shot the grenade
Courier 6-μ 7 jun @ 7:20 
can i have the script like this but without staggering the Tank?
Јамеѕ 19 maj @ 11:07 
Sorry. I just didn't expect a reply so soon.
Geebanger0  [skapare] 19 maj @ 3:44 
you had a question mark like you were asking why i explained it
Јамеѕ 18 maj @ 23:51 
I wasn't doubting you.
Geebanger0  [skapare] 18 maj @ 22:38 
Well you brought it up, I'm just explaining it
Јамеѕ 18 maj @ 20:57 
Ah, okay?
Geebanger0  [skapare] 18 maj @ 19:06 
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 maj @ 18:46 
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