Left 4 Dead 2

Left 4 Dead 2

[VScript] Yet Another CS Sniper Buff
46 条留言
Duke Nukem 9 月 8 日 下午 6:13 
Any chance for a version that stumble every infected when shot? This one is awesome.
I STAPLE TAPEWORMS ON MY  [作者] 3 月 14 日 上午 3:22 
i could fix that
Solid 3 月 13 日 下午 8:00 
I wish this script gibbed enemies properly like the enemy died to the bullet normally, with how it is now you can't blow legs off in expert realism with it. Is there a way to multiply the damage of the bullet instead of just sethealth to 0? I haven't written a vscript before that wasn't just a single line with a console command so I don't know shit.
Harry Osporn Nobel Prize 3 月 6 日 上午 3:55 
oooooooh, thank you so much
I STAPLE TAPEWORMS ON MY  [作者] 3 月 6 日 上午 3:17 
@Harry Osporn Nobel Prize no thats the comment, you gotta remove the victim.GetZombieType() == 6 (6 is the charger)
Harry Osporn Nobel Prize 3 月 6 日 上午 3:08 
in the script file, i see a line with the words tank, charger, survivor
all i need to do is remove the word "charger" ...right ?
I STAPLE TAPEWORMS ON MY  [作者] 3 月 5 日 上午 3:25 
remove the check for if an infected is a common or witch and remove the check for if the hurt player (special infected) is a charger while keeping the one for if theyre a tank
Harry Osporn Nobel Prize 3 月 5 日 上午 3:01 
is there a way to make it also stumble Charger and witch but not tank ?
Milcoенг 3 月 3 日 下午 9:53 
VNVBN
VNV
BNVN
V
NVNB
VBN
Azy 2 月 14 日 下午 3:02 
Oh, thank you :bunnyinablanket:
Azy 2 月 14 日 下午 2:42 
I like your viewmodel and that animation on scout which one are u using :o
I STAPLE TAPEWORMS ON MY  [作者] 2 月 14 日 上午 6:49 
@Back ok its fixed
I STAPLE TAPEWORMS ON MY  [作者] 2 月 14 日 上午 6:41 
i never noticed that it could happen cause i didnt test for it and i just never friendly fired
I STAPLE TAPEWORMS ON MY  [作者] 2 月 14 日 上午 6:34 
oh ill fix it
leva 2 月 14 日 上午 6:31 
@Wenda friendly fire can stumble survivors
I STAPLE TAPEWORMS ON MY  [作者] 2 月 14 日 上午 6:15 
what do you mean
leva 2 月 14 日 上午 2:52 
is it able to remove survivors stagger?
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 7:21 
@FreezeBlue i could try
FreezeBlue 2 月 13 日 下午 7:03 
Can u make one for shotgun but when they are on close range?
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 5:15 
@smilehigh_2007 tumtara
smilehigh_2007 2 月 13 日 下午 4:54 
map name plss
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 1:48 
i should probably add a thing to make it not for riot zombies
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 1:48 
it can
leva 2 月 13 日 下午 1:36 
i wonder if it can 1 shot uncommons
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 1:27 
oh its fine, im happy it works
leva 2 月 13 日 下午 1:26 
oh nvm it was scout skin i was using that have script in it, sry for disturbing u :needy_heart:
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 1:20 
all this script does is set common health to 0 when damaged, with the scout or awp, aswell as have specials stumble without damaging them. It shouldn't be touching damage at all?
leva 2 月 13 日 下午 1:18 
uhh homemade script that increase the base damage to 288
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 1:17 
what scout script are you using?
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 1:17 
this addon doesnt have weapon scripts in it at all, only 2 vscript files. There shouldn't be any reason its doing that?
leva 2 月 13 日 下午 1:15 
its colliding with my scout script tho but not awp
leva 2 月 13 日 下午 1:12 
it doesnt effect the awp damage but only the scout?
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 1:11 
@Back this doesnt effect the damage of the weapon at all
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 1:11 
its getting the origin for any time any player takes damage, which includes fall damage. the world, who would be the attacker in this case, does not have an origin, so the console puts that when it happens.
leva 2 月 13 日 下午 1:11 
now this lock the scout damage to default :sob:
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 1:10 
ok wait i figured out the problem
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 12:51 
@Јамеѕ do you maybe have a survivor script mod?
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 12:50 
idk why it broke but i fixed it
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 12:48 
i fixed it
Јамеѕ 2 月 13 日 下午 12:47 
You mean weapon scripts? Yes.
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 下午 12:39 
wtf, it was working fine before???
leva 2 月 13 日 上午 11:08 
for whatever reason, this stumble charger and tank with the only except is witches
I STAPLE TAPEWORMS ON MY  [作者] 2 月 13 日 上午 5:28 
@Јамеѕ do you have another script that effects them? are you on a different version of the game? I'm not getting these in my testing even rn
Јамеѕ 2 月 12 日 下午 8:54 
This error is spammed in the console each time i think either a special, or survivor gets hurt.
Јамеѕ 2 月 12 日 下午 8:53 
AN ERROR HAS OCCURED [the index 'GetOrigin' does not exist]

CALLSTACK
*FUNCTION [OnGameEvent_player_hurt()] scripts/vscripts/cssniper1shotcommon.nut line [26]
*FUNCTION [__RunEventCallbacks()] unnamed line [211]
*FUNCTION [__RunGameEventCallbacks()] unnamed line [218]

LOCALS
[victim] INSTANCE
[attacker] NULL
[params] TABLE
[this] TABLE
[funcName] "OnGameEvent_player_hurt"
[idx] 2
[useTable] TABLE
[bWarnIfMissing] true
[globalTableName] "GameEventCallbacks"
[prefix] "OnGameEvent_"
[params] TABLE
[event] "player_hurt"
[this] TABLE
[params] TABLE
[event] "player_hurt"
[this] TABLE