Left 4 Dead 2

Left 4 Dead 2

Super Knockback Tanks
129 条留言
not_requested49 12 月 5 日 上午 8:26 
nice, i was thinking about having this and now i dont have to make it myself
pech 11 月 19 日 上午 8:40 
watch yo tone
Isolda 9 月 5 日 下午 4:11 
And just to be clear: no lag/jittering (associated with Coldfront) while trying to recreate it privately in single player (but I know it happened hosting local). The error still happens on vanilla maps and Coldfront alike.
Isolda 9 月 5 日 下午 4:02 
The full error is:
AN ERROR HAS OCCURED [the index 'GetActiveWeapon' does not exist]

CALLSTACK
*FUNCTION [OnGameEvent_player_hurt()] c:/program files (x86)/steam/steamapps/common/left 4 dead 2/left4dead2/addons/workshop/3383897874.vpk/scripts/vscripts/director_base_addon.nut line [7]
*FUNCTION [__RunEventCallbacks()] unnamed line [211]
*FUNCTION [__RunGameEventCallbacks()] unnamed line [218]

LOCALS
[attacker] INSTANCE
[victim] INSTANCE
[event] TABLE
[this] TABLE
[funcName] "OnGameEvent_player_hurt"
[idx] 0
[useTable] TABLE
[bWarnIfMissing] false
[globalTableName] "GameEventCallbacks"
[prefix] "OnGameEvent_"
[params] TABLE
[event] "player_hurt"
[this] TABLE
[params] TABLE
[event] "player_hurt"
[this] TABLE
Isolda 9 月 5 日 下午 4:02 
With every mod unchecked and non-workshop mods moved out of the way, the error still occurs, except this time it appears the fall damage causes the console error, not the Tank punch. I have locally hosted Coldfront a few times with this script on (and I was aware of this at first harmless console error), where the framerate became jittery for everyone when the Tank fight happens halfway through the map (which spammed the error in console if memory serves right).

Launching through console in single player does not cause jittering (but the error persists). I remember killing the Tank removed the stuttering, and no other Tank in the campaign caused that (including the following finale Tanks). At first console glance, Coldfront modifies and is loading a director_base_addon script, but I don't understand why it would cause that.
kurochama 9 月 5 日 下午 3:40 
Actually "GetActiveWeapon" is tricky sometimes. Sometimes, you'll need to add some checks like this to prevent "does not exist" error on console:
if(!player.GetActiveWeapon() || !player.GetActiveWeapon().IsValid())
{
return;
}

& although it triggers some errors, usually it won't cause lag unless if it's spammed continuously via timer or regular tick.
Geebanger0  [作者] 9 月 5 日 下午 3:14 
If you wouldn't mind, could you do a couple more tests?

- Try it on a vanilla map like Dead Center with no other mods enabled, just to confirm that the script is working.

- If it is working, see if you get lag on any map other than coldfront 5.
Geebanger0  [作者] 9 月 5 日 下午 3:11 
heres how the script works

when a player takes damage
- get the ID of the player and the attacker
- check which weapon the attacker was using
if the attacker was using a tank_claw
- give the player massive upward velocity

from your error, it looks like its failing at the "check which weapon the attacker was using" step. If the script fails in that way, it shouldn't have any lag related impact, it should just stop.
Isolda 9 月 5 日 上午 10:32 
When a Tank punches a survivor, I get this console error: "AN ERROR HAS OCCURED [the index 'GetActiveWeapon' does not exist]" referencing line 7 on this script. On Coldfront map 5, it has caused massive lag spikes just when a Tank is alive, so I unfortunately can't run this script without worrying about that. Is there any solution you can come up with for this?
Qxxqwas 9 月 5 日 上午 10:25 
nevermind the mod worked
Geebanger0  [作者] 9 月 2 日 上午 4:47 
are you on a local host server
Qxxqwas 9 月 2 日 上午 4:43 
the mod didn't worked
❆ЛёоНя!❆ 5 月 26 日 上午 10:47 
Don't ♥♥♥♥ with this Senator!
doctor crentist 4 月 30 日 下午 5:12 
it makes the game ♥♥♥♥♥♥♥♥ but its so funny when you have voice over mods AND skin mods for the survivors like spongebob and you see him get ♥♥♥♥♥♥♥ flung as he screams
Geebanger0  [作者] 4 月 28 日 上午 12:50 
thats great, son. just great.
Louis 4 月 27 日 上午 9:50 
pretty sure. threw a burger tank. into space. at work
Geebanger0  [作者] 4 月 19 日 下午 6:44 
are you sure
scotomy 4 月 19 日 下午 6:42 
im tanking it im tanking it
Geebanger0  [作者] 4 月 18 日 下午 11:47 
No. You will suffer the consequences of your actions for eternity. I may forgive you, but history will not. Your failure shall be immortalised until the end of time.
Machoboy197 4 月 18 日 下午 5:51 
Can we just pretend this never happened? Please delete your comment so I can delete mine's.
Machoboy197 4 月 18 日 下午 5:50 
Oops, I was referring to a different addon, so sorry
Geebanger0  [作者] 4 月 18 日 下午 1:37 
it is a script
Machoboy197 4 月 18 日 上午 11:45 
Don't download this, it has missing textures
Detz 3 月 24 日 上午 6:34 
feel that?
that's "so true"
Nox79 3 月 24 日 上午 6:34 
Geebanger0!
La desinstalacion del mod es simple (solo desuscribirse) o vendría a ser mas complicada?
Busco un mod como este pero no encontré ninguno similar, así que estoy considerando suscribirme para probarlo pero me da pereza la idea de tener que ir archivo por archivo para desinstalarlo.
[♥PINKY-BEACH♥] 2 月 21 日 下午 4:47 
Geebanger0!
La desinstalacion del mod es simple (solo desuscribirse) o vendría a ser mas complicada?
Busco un mod como este pero no encontré ninguno similar, así que estoy considerando suscribirme para probarlo pero me da pereza la idea de tener que ir archivo por archivo para desinstalarlo.
El Rey De Salem 2 月 19 日 上午 1:40 
El LAG Que Tenia Desapareció De La Nada No Actualize Nada Y No Hice Nada Asique No Me Explico Que Era Por Que Plugins Y Add-Ons No Eran Y Los CFG Tampoco, .___. , Creo Que Eran Ataques DDOS :c
Geebanger0  [作者] 2 月 12 日 下午 8:29 
:BL3Thumbsup:
Prof.NickelButt 2 月 12 日 下午 2:54 
Verifying files seemed to fix the issue, thank you Geebanger0
El Rey De Salem 2 月 11 日 上午 5:30 
Ahora No Se Desactivan Los Add-ons Con De-suscribirse Tiene Que Buscar El ID Del Add-on ".vpk" Y Eliminarlo Manualmente O Por Lo Menos Así Me Anda A Mí El Juego Xd
n_n
Geebanger0  [作者] 2 月 10 日 下午 9:20 
did you do all of these too just to be sure
- unsubscribe from the addon
- restart your game
- verify your files
Prof.NickelButt 2 月 10 日 下午 9:19 
Anyone else having trouble where the tanks still send you into the ♥♥♥♥♥♥♥ stratosphere after disabling and deleting the addon files?
GlarinGamer 1 月 28 日 上午 8:16 
I've been waiting for a mod like this, looks just as dumb and funny as I imagined. :steamthumbsup:
El Rey De Salem 1 月 28 日 上午 5:32 
Huy Me Falto El Respeto: Karma Summon!!!! x144000
Geebanger0  [作者] 1 月 27 日 下午 10:46 
No. Ve y busca mujeres reales. Existen y son mucho mejores que Zoey.
El Rey De Salem 1 月 27 日 下午 10:24 
Tienes Razón Tengo Que Clonarla :)
Geebanger0  [作者] 1 月 27 日 下午 9:02 
No, ella es fea. Puedes conseguir algo mejor que ella.
El Rey De Salem 1 月 26 日 下午 9:24 
Mi Amor Zoey
Geebanger0  [作者] 1 月 9 日 下午 5:19 
if it were lite thered be no point. the tank already knocks you back enough by default
Unknown 1 月 9 日 上午 9:49 
You have tested it at a long distance as seen in the sample video and it is fine but in smaller or shorter places it looks ugly, make a lite version please bro or tell me how to modify it:steamsad:
Unknown 1 月 6 日 上午 6:09 
bro podrias hacer que no sea tan extremo? a veces solo lo saca del limite del mapa y se queda medio flotando el personaje para luego caer y morir, no se si puedas hacer una version lite donde su empuje no sea una kill sino que con suerte y caigas mejor y solo te bajes mucha vida por la altura pero obviamente quitarle un poco esa elevación tan alta, que le vuele un poco menos en pocas palabras :steamthis:
fallsie 1 月 4 日 下午 8:24 
bro just takes off
Oakman227 (but festive) 2024 年 12 月 26 日 下午 5:55 
tanks on steroids
Tomas Horvath 2024 年 12 月 24 日 下午 5:54 
instant kill
Villadssejrj 2024 年 12 月 20 日 上午 7:33 
pov you have 23 hp and tank hits you
XR CO-OP 2024 年 12 月 20 日 上午 2:08 
I will try 555
Ricochet 2024 年 12 月 19 日 下午 6:29 
G A M E :gordon:
Dickinwing 2024 年 12 月 19 日 下午 4:31 
woow
少女的祈祷 2024 年 12 月 17 日 上午 7:01 
t:steambored: