Left 4 Dead 2

Left 4 Dead 2

SI Stumble Shot[Vscript]
10 条留言
TrueKringe 8 月 11 日 上午 1:40 
I do think that you might wanna separate each weapon's stun damage tho, since I think it's odd that the more powerful guns like AWP deal about the same stun damage as hunting rifle.
TrueKringe 8 月 11 日 上午 1:40 
Ah I see. Thanks m8.
Everice  [作者] 8 月 10 日 下午 8:19 
they're difference.
this mod adds 20% of si max hp as stun threshold. weapon stun power is flat dmg that will reduce si stun threshold.
example: Tank on normal has 4000 max health. 20% of 4000 is 800. This 800 point will be Tank's stun threshold

if you shoot the tank legs with rifles which have 10 stun power, it will take 80 hit in the legs before Tank gets stumble
TrueKringe 8 月 10 日 下午 1:03 
So, is the stun power based on a percentage of weapon's full damage, or is a separate "stun damage" on its own?
Everice  [作者] 8 月 1 日 下午 5:59 
You can use mod setting to reduce the stun_power for each weapon. Every SI has their 20% of max health as stumble threshold.
Or you can increase stun_cooldown. This setting prevent si from stumble again within this seconds.
(^^^) Xeno 8 月 1 日 下午 1:05 
I liked this but you should really nerf down the chances being stumble, it's unfair for the tank.
Aurelíos 6 月 23 日 上午 10:07 
I love you
Morsch 3 月 16 日 上午 9:51 
:steamthumbsup:
Everice  [作者] 3 月 16 日 上午 8:42 
fixed. i must have removed the function by accident in today update
Morsch 3 月 16 日 上午 8:30 
AN ERROR HAS OCCURED [the index 'TankIsDying' does not exist]

CALLSTACK
*FUNCTION [IsTankThrowingRock()] scripts/vscripts/eve_lh_stumble.nut line [238]
*FUNCTION [unknown()] scripts/vscripts/eve_lh_stumble.nut line [53]
*FUNCTION [__RunEventCallbacks()] unnamed line [211]
*FUNCTION [__RunGameEventCallbacks()] unnamed line [218]

LOCALS
[entity] INSTANCE
[this] TABLE
[vic] INSTANCE
[atk] INSTANCE
[event] TABLE
[this] TABLE
[funcName] "OnGameEvent_player_hurt"
[idx] 28
[useTable] TABLE
[bWarnIfMissing] true
[globalTableName] "GameEventCallbacks"
[prefix] "OnGameEvent_"
[params] TABLE
[event] "player_hurt"
[this] TABLE
[params] TABLE
[event] "player_hurt"
[this] TABLE

Been gettin' this error.