Left 4 Dead 2

Left 4 Dead 2

Interneted's Custom Events Lib
18 Comments
Unsants 17 Jan @ 8:04am 
Ok
Interneted  [author] 16 Jan @ 8:56pm 
Unless you have some knowledge with vscript, I don't think an example video would do much. :(
Unsants 16 Jan @ 4:06pm 
I would like to see an example video, so I understand it better:steamthumbsup:
Kayle Tid 4 Oct, 2024 @ 5:02am 
Alright, understood. Thanks for your answer. :luv:
Interneted  [author] 3 Oct, 2024 @ 8:40pm 
@ Kayle Tid
Nope, you don't need VSLib to make mods with this.
Now, I don't know how familiar you are with VScript and decompiling vpk, but to explain, the game has built in events that you can use as hooks, for example like you can do anything you want like printing message to the console when a player jumps, in VScript, it's called OnGameEvent_player_jump.
In a nutshell, VSLib recoded the built in events to simplify coding. Mine does the same thing, except that I make my own custom events using the game's existing events listed in the description.

Simple example when I wrote this code and Include my events lib:
function ICEL_OnChargerDeathCharge::HAHALOL(params, extra)
{
printl("SOMEONE GOT DEATHCHARGED!");
}
When someone got death-charged, it will show 'SOMEONE GOT DEATHCHARGED' in the console.
In my skill detect add-on, I use all of my custom events to print messages to the chat.

Hopefully that answers your question.
Kayle Tid 3 Oct, 2024 @ 6:22pm 
excuse me, I have a question that seems a bit stupid. If I want this to work I have to mod with Vslib right?
And I also have another question about how it will work.
Interneted  [author] 8 Jun, 2024 @ 12:15am 
@cato perhaps this is what you're looking, though it doesn't display the percentage.
miku 6 Jun, 2024 @ 3:16pm 
maybe add the damage % when the tank and witch gets killed / dies (like to show which survivor did how much % of damage)
Interneted  [author] 6 Jun, 2024 @ 10:31am 
I feel violeted.
Queen Blush 6 Jun, 2024 @ 10:17am 
very purple
Interneted  [author] 21 Dec, 2023 @ 3:40pm 
Great one, I was thinking about that one as well, but instead of just percentage based damage, I will do total actual damage for each survivor too.
miku 21 Dec, 2023 @ 6:34am 
maybe add the damage % when the tank and witch gets killed / dies (like to show which survivor did how much % of damage)
Interneted  [author] 16 Dec, 2023 @ 7:20am 
I already included cutting smoker tongue. Tank spawn alarm isn't included in the original plugin and I am not quite interested in that.
(^^^) Xeno 16 Dec, 2023 @ 7:15am 
I mean like a text chat
Interneted  [author] 16 Dec, 2023 @ 7:12am 
Both of them are already built in functions inside the game.
(^^^) Xeno 16 Dec, 2023 @ 5:23am 
Maybe add a tank spawn alarm sound? Or smoker cut tongue notify.
Interneted  [author] 15 Dec, 2023 @ 4:27pm 
🫠🫠
Queen Blush 15 Dec, 2023 @ 1:55pm 
fascinating