Left 4 Dead 2

Left 4 Dead 2

137 ratings
[VScript] Boss Warn
   
Award
Favorite
Favorited
Unfavorite
Infected: Tank, Witch
Game Content: Scripts
File Size
Posted
Updated
3.412 KB
10 May, 2024 @ 12:54pm
20 May, 2024 @ 10:45am
2 Change Notes ( view )

Subscribe to download
[VScript] Boss Warn

Description
A small VScript that will annonuce to players when a Boss Infected (Tanks, Witches) spawns in. Text will be printed to chat and a sound will play.

Can be a helpful Script for new players, or for Versus. I suppose just an all around general usage script.

This is not my original idea, as this comes from a SourceMod plugin of Tank and Witch spawn announcements.

This script will only work if the server is Local Hosted

Do let me know of any bugs.

GitHub repository [github.com]

Thanks and have fun.
26 Comments
Av0n 14 Sep, 2024 @ 12:48pm 
useful:steamthumbsup:
Legoshi's Lover 25 Jun, 2024 @ 6:38am 
Alright. t's nice to see mod creators actually take feedback instead of "nah do it yourself".
And yes, the instant witch startle with a flashlight is an idea I took from the L4D1 intro, as the intro and survivors point that she hates light, and they tell you to turn off your lights as if it was a death sentence if you didn't, but all it really does is slightly extend her anger range and make her get up slightly faster the closer you are to her.
Pyri  [author] 25 Jun, 2024 @ 6:31am 
@Xenorvya
Hey. the addon script doesn't have any configuration yet. I do intent on including a config so you could have either Tank, Witch or both warnings to show.

As for insta-startling a Witch if you shine your flashlight, that sounds like a unique idea to do in-game, sorta like in the L4D1 Intro. I'd love to try that.
Legoshi's Lover 25 Jun, 2024 @ 6:27am 
Does this have an EM or configurable settings so only the Witch has the warning?
Also if you take suggestions, what do you think about a mod that instantly startles the Witch if you look at her with your flashlight on?
that my girl 22 May, 2024 @ 8:40am 
ok work perfect.Thank you
Pyri  [author] 20 May, 2024 @ 12:58pm 
Excellent. Now I know what to look forward to in the future to avoid breaking L4B2.
Phoenix‎ Rose 20 May, 2024 @ 12:49pm 
well the update seems to have fixed the issue. bots actually threw a molotov at the tank since they can now see it. and it printed the "tank is nearby" text in chat :D
Pyri  [author] 20 May, 2024 @ 10:45am 
Alrighty, update is pushed, hopefully it is indeed fixed.
Pyri  [author] 20 May, 2024 @ 10:34am 
Alright, I'll give that a try. Thanks a bunch. Still learning the in's and out's of VScript. All the help and knowledge is appreciated.
4512369781 20 May, 2024 @ 10:12am 
yes, I think make "HUD_PRINTTALK" as a const will fix the problem.
or just use "3"?