View Single Post
sereky
Member
Join Date: Aug 2011
Old 08-06-2012 , 13:14   Re: [L4D & L4D2] Dynamic Light (1.1) [15-Jun-2012]
Reply With Quote #5

[L4D & L4D2] Teammate Flashlight

It's a fork of Silvers' Dynamic Light plugin. It's based on his plugin.

Changes:

- Removed the "Double tap the Flashlight (F) key" feature. Now everyone has flashlight.
- Removed unnecessary features and cvars.
- Added new cvars and features.
- Fixed the brightness cvar. Originally this cvar changed the size instead of the brightness.
- Changed fade feature. If your aim is close to the wall, the size of the light will be reduced. Like in real life. (It is disabled by default.)

Removed cvars and features:

l4d_dynamic_light_bots
l4d_dynamic_light_default
l4d_dynamic_light_hint
l4d_dynamic_light_hints
l4d_dynamic_light_modes_tog

New cvars:

PHP Code:
// 0=Off. 1=Ignore trace on survivors so the dynamic light will go through them.
l4d_teammate_light_ignore "1"

// Size of the light.
l4d_teammate_light_size "155.0" 
Fixed cvar:
PHP Code:
//Brightness of the light.
l4d_teammate_light_bright "1" 
This plugin requires the SDKHooks extension. Therefore do not click "Get Plugin" because it will not work. You can download the compiled .smx file.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_teammate_light.sp - 3990 views - 19.1 KB)
File Type: smx l4d_teammate_light.smx (11.3 KB, 2950 views)

Last edited by sereky; 09-02-2012 at 06:43. Reason: I forgot to add the .smx file
sereky is offline