Left 4 Dead 2

Left 4 Dead 2

66 ratings
{OBSOLETE} Server-side Bill's Cigarette Smoke script
   
Award
Favorite
Favorited
Unfavorite
Survivors: Bill
Game Content: Scripts
File Size
Posted
Updated
36.280 KB
5 Jan, 2020 @ 9:30pm
24 Sep, 2020 @ 8:22pm
7 Change Notes ( view )

Subscribe to download
{OBSOLETE} Server-side Bill's Cigarette Smoke script

Description
As of 9/27/2020, an update has re-introduced Bill's cigarette smoke functionality into the game. (https://www.l4d.com/blog/post.php?id=75935)
There is no longer a need for this.


NOTICE: dayum I have to keep copy-pasting this. This addon uses scripts. This will not work in Dedicated servers. Use local/listen servers, or singleplayer instead.

Yay another cigarette smoke fix... except it's a server-side version, for the people who host their own servers. (local servers, dedicated, etc.)

Other notices:
- Despite the conflict in the addons menu between another one of my script mods, there are no side-effects in-game as the only file that conflicts is literally the same between all my script mods.
- Most custom survivor model replacements should work with this mod, however there could be a few that may not.
- Minor bug: The smoke will wave in the first-person view of whoever's playing Bill, using the position of the third-person cigarette's attachment. However, if the user playing Bill isn't rather focused on the orange glow, it shouldn't affect much.

This is a simple script that restores Bill's cigarette smoke, not by model, but by server-side script instead. This allows the cigarette to get put out upon Bill dying.
This won't work if you're not the owner of the server, but everyone else will see the smoke if you are.
The addon has functionality on all gamemodes and maps, but for Versus it is automatically disabled by Valve.

To make it work in Versus on your local server, right-click on Left 4 Dead 2 in your steam library, select Properties, click on the Local Files tab, then click on the Browse Local Files... button.
Go to left4dead2/cfg/ and open addonconfig.cfg with a text editor or Notepad.
By now, it should be obvious what you need to do.

There's no fun little tips or anything for this. :|
17 Comments
BW 18 Oct, 2020 @ 12:49am 
Nvm i figured it out now one of my mod is conflicting with the update.
BW 12 Oct, 2020 @ 9:01am 
@Shadowysn Did they really update "Lit Bill's cigarette Last Stand Junkyard"? Cause i dont see that in game same as usual
Tsuey 26 Sep, 2020 @ 11:53am 
Kerry lit Bill's cigarette today officially. The code for it was commented out.

[11:42 AM]
Tsuey:
oh wow, so I guess this was a C++ fix?

[11:42 AM]
Kerry:
Yes, the code was commented out
because none of the L4D2 characters were smokers
and the most efficient code is the code that never runs. :)
but now it's running again

[11:43 AM]
Tsuey:
oof, that's nice, thank you for that
Shadowysn  [author] 10 Feb, 2020 @ 8:20pm 
@Beel
Unfortunately I don't feel like porting over something yet, but only time can tell.
Saul Goodman 22 Jan, 2020 @ 3:24am 
Hey, just wanted to inform you that this might be causing my game to crash. Not crash constantly, quite rarely infact.
Saul Goodman 18 Jan, 2020 @ 10:45pm 
aw. that sucks. I understand though
Shadowysn  [author] 18 Jan, 2020 @ 10:40pm 
@GhostBombKaBoo
Nope, the attachment itself (baked into the model) isn't moving when Bill's mouth moves, so unless I edit the model and recompile I can't do anything.
Saul Goodman 18 Jan, 2020 @ 10:23pm 
Can you make the cigarette glow follow the cigarette when Bill's lips move?
Shadowysn  [author] 18 Jan, 2020 @ 6:06pm 
@Beel
Authoring Tools isn't a tool for VScripts.

It could be possible to port Play As Witch to VScript, but there's a lot of code and I'm not really in the mood to do so.
Shadowysn  [author] 11 Jan, 2020 @ 6:06am 
@Aexotic
Regardless of your comment, I think I'll just keep this addon up.