View Single Post
Author Message
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 07-10-2010 , 10:05   [L4D2] Block Flashlight (1.2, 18/10-2011)
Reply With Quote #1

Block Flashlight

About:
This one is more of a "fun" plugin. Doesn't add much to the game play, but I still like it as it adds a bit to the realism.

This plugin will turn off the flashlight when players are holding a "non flashlight" weapon. Such as melee, medkits, molotovs, all of those weapons without any kind of flashlight.

Again this was just made for fun, as some of my friends wanted this for their realism games, without flashlight leaking out through a wooden bat.

Description:
Upon survivor wielding a "non flashlight" weapon, flashlight will remain off until survivor switches weapon.

Known Problems / Things to Notice:

Changelog:
Code:
Version 1.2 - 18/10-2011
~ Fixed players being able to toggle flashlight on ladder.
~ Fixed players being unable to toggle on their flashlight after being pin downed by an infected player.
~ Fixed players being unable to toggle on their flashlight after having used a ladder.

Version 1.1.1 - 10-10-2010
~ Fixed out of bounds on OnEndTouch.

Version 1.1
+ Added AWP to flashlight weapons
+ Added Atomic's ladder fix.

Version 1.00
Initial release

Download the .smx for the plugin, as the webcompiler won't be able to compile this plugin.
Attached Files
File Type: smx l4dblockflashlight.smx (6.8 KB, 1358 views)
File Type: zip L4D Block Flashlight.zip (21.9 KB, 1304 views)

Last edited by Mr. Zero; 10-18-2011 at 06:22.
Mr. Zero is offline