Left 4 Dead 2

Left 4 Dead 2

313 个评价
Grenade Launcher staggers everything
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts
Game Modes: Single Player, Co-op
文件大小
发表于
2.955 KB
2024 年 12 月 16 日 下午 8:52
1 项改动说明 ( 查看 )

订阅以下载
Grenade Launcher staggers everything

描述
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 条留言
Agitatio 9 月 7 日 下午 1: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 月 7 日 上午 10:22 
can you make one that dont stagger the player who shot the grenade
Courier 6-μ 6 月 7 日 上午 7:20 
can i have the script like this but without staggering the Tank?
Јамеѕ 5 月 19 日 上午 11:07 
Sorry. I just didn't expect a reply so soon.
Geebanger0  [作者] 5 月 19 日 上午 3:44 
you had a question mark like you were asking why i explained it
Јамеѕ 5 月 18 日 下午 11:51 
I wasn't doubting you.
Geebanger0  [作者] 5 月 18 日 下午 10:38 
Well you brought it up, I'm just explaining it
Јамеѕ 5 月 18 日 下午 8:57 
Ah, okay?
Geebanger0  [作者] 5 月 18 日 下午 7: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
Јамеѕ 5 月 18 日 下午 6: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