Left 4 Dead 2

Left 4 Dead 2

Fire Spreads Between Infected
89 条留言
Јамеѕ 11 月 30 日 上午 11:31 
Okay, thanks!
Geebanger0  [作者] 11 月 30 日 上午 10:32 
i would GUESS its because youre losing temporary health, which might not have an associated damage type so it throws an error. It shouldnt have any effect on the mod working, but i will fix it so it doesnt print the error once i have time to do so
Јамеѕ 11 月 30 日 上午 10:30 
AN ERROR HAS OCCURED [the index 'type' does not exist]

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

LOCALS
[hot_single] INSTANCE
[event] 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

This is spammed in the console sometimes when a player (survivor) takes damage, or is low on health.
NorthCaptain 11 月 30 日 上午 12:18 
@judge Walker : That pretty simple, you can just download .vpk file and edit script file for pitchfork to change either swing pattern from weird * to full 3 horizontal and damage type (blunt, sharp, fire or knockback) for it.
Judge Walker 11 月 29 日 下午 2:51 
Would you consider making a VScript that makes the pitchfork cut the smoker's tongue, like other sharp melees?
Geebanger0  [作者] 11 月 29 日 上午 10:34 
@sprefans the tank mod triggers whenever a tank deals damage to someone. This mod causes the tank to deal fire damage when it walks near you. So the extra burn damage is causing you to take vertical knockback.
区中 11 月 29 日 上午 4:07 
so many international people:D
sprefans 11 月 29 日 上午 3:52 
After being hit by a tank, survivors will fly straight up into the sky instead of following a normal parabolic trajectory.
Geebanger0  [作者] 11 月 28 日 下午 9:41 
@sprefans how does it conflict
雄鹰一样的男人 11 月 28 日 下午 9:32 
nice mod:steamhappy:
sprefans 11 月 28 日 下午 9:06 
Geebanger0  [作者] 11 月 28 日 下午 5:59 
?
sprefans 11 月 28 日 下午 5:18 
Will conflict with the mod that makes tanks throw people
KennyS 11 月 28 日 下午 4:13 
Yhea
DrippyCheeseBruh 11 月 28 日 上午 2:12 
tanks die faster than normal ever since i added this addon.
Did you (this addon) do something EXTRA my boi ? ( Looking at you with sussy eyes:steammocking: )
Geebanger0  [作者] 11 月 27 日 下午 8:36 
Yeah I’m empl*yed and have a j*b
Henrietta 11 月 27 日 下午 5:55 
WORK?
Geebanger0  [作者] 11 月 27 日 下午 5:13 
Yeah I will just not right now cause I’m at work
Henrietta 11 月 27 日 下午 4:43 
You could also use

if( !("type" in event) )return;

just to reduce error clutter in the console.

You can also use

if((event.type & 268435456) == 268435456)

to include all damage that has burning damage type instead of checking for just fire+burning and burning damage types. It should cover fringe cases, too.
Divisionic 11 月 27 日 上午 10:43 
Okay, thanks for clarifying!

That should probably help those that wonder as well, so it's good to have it documented now.
Geebanger0  [作者] 11 月 27 日 上午 10:35 
type refers to damage type, and the script only triggers if its fire damage. so if theres no type the script wont trigger, but thats fine because it means it wasnt fire damage
Geebanger0  [作者] 11 月 27 日 上午 10:35 
should be fine though
Divisionic 11 月 27 日 上午 10:02 
Just saying:

I think it happens whenever a player gets hurt.

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

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

LOCALS
[hot_single] INSTANCE
[event] 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

In console, might want to take a look at it.
Otherwise banger mod!
Geebanger0  [作者] 11 月 27 日 上午 2:26 
:otrv: :needy_heart:
dylancares 11 月 27 日 上午 2:25 
You are brilliant Geebanger0, thank you for all of your amazing contributions to this workshop
Poolsup (TH) 11 月 26 日 上午 10:24 
damn that like real life you can sent one person on fire
guert 11 月 26 日 上午 8:38 
now make nick's flammable suit do the same thing
11 月 26 日 上午 3:13 
:steamthumbsup::steamthumbsup:
COCHÉ14 11 月 25 日 下午 11:34 
😯
heartware 11 月 25 日 下午 9:44 
Awesome! I feel like more games should have POSTAL-style fire spreading between NPCs, it just makes fire that much more fun.

Now if only we had a flamethrower...
jaxisopp 11 月 25 日 下午 6:31 
very usefull and kinda bit realistic in some way:steamthumbsup:
Evil Dr.Gorb 11 月 25 日 下午 5:47 
very cool dude thanks
PeristeriMan 11 月 25 日 上午 11:53 
seems fun hehe
Cody | MusicLockerStudio 11 月 25 日 上午 11:14 
Like Left 4 Dead 1!
Baker 11 月 25 日 上午 7:16 
This is Fire!

(I'll see myself out XD)
dbl 11 月 25 日 上午 2:50 
good
TaTx RC 11 月 25 日 上午 12:09 
..........omg
Zswxtxlen 11 月 24 日 下午 11:53 
wow
-Gh0st 11 月 24 日 下午 10:55 
ye not bad but can we add ts so the tank can break throught walls and push the infected or speacial ones
JCUBIDES456 11 月 24 日 下午 9:12 
not bad my bro
Nemeiros 11 月 24 日 下午 8:56 
not bad
Dembonezz 11 月 24 日 下午 8:41 
paired with the common infected taking less fire damage mod is a good idea
TIFA 11 月 24 日 下午 7:08 
-
Blindyomite 11 月 24 日 下午 6:56 
not cause, bad good
JustAFleshyWound 11 月 24 日 下午 5:45 
Not bad, cause
Geebanger0  [作者] 11 月 24 日 下午 5:29 
not bad cause its good
Chisaki 11 月 24 日 下午 5:28 
Not bad, because it's really reasonable
Blindyomite 11 月 24 日 下午 4:45 
sensational
elmona_rica1517 11 月 24 日 下午 12:59 
POSTAL reference:dealerrizz:
Sandro07 11 月 24 日 上午 10:24 
Bom.