Raised This Month: $32 Target: $400
 8% 

CustomFlashlight


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   EKS (166)
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-23-2005 , 18:46   CustomFlashlight
Reply With Quote #1

CustomFlashlight 0.11 by Avalanche
Last updated 08/25/05 - only tested in Counter-Strike, but it may work in other mods that use a regular flashlight (ie: Half-Life, Sven Co-op)

About
CustomFlashlight is a server-side modification that allows you to customize the flashlight in Counter-Strike to your specifications by basically recoding the flashlight. Currently it affects everyone in the server but if anyone suggests a great method of managing user-specific flashlights go ahead and post it here.

Commands
None - plugin is controlled by cvars

CVars
flashlight_custom (default 1) - whether to use custom flashlights or not
flashlight_r (default 100) - red value for flashlight color
flashlight_g (default 100) - green value for flashlight color
flashlight_b (default 100) - blue value for flashlight color
flashlight_drain (default 1.0) - rate at which flashlight battery drains
flashlight_charge (default 0.5) - rate at which flashlight battery recharges
flashlight_radius (default 9) - radius of the light from the flashlight
flashlight_decay (default 60) - rate at which light "decays" (has to do with the edges of the light, just screw around with it)

Required Modules
Engine

Known Bugs
None

Troubleshooting
If it doesn't work, make sure all modules are enabled and that flashlight_custom is 1.

Screenshots
Regular flashlight
Default custom flashlight (almost exactly like the regular flashlight)
Crazy green flashlight
Large light blue flashlight
Concentrated red flashlight

Credits
obbin - for suggesting something like it
Twilight Suzuka - for suggesting a viable method
Attached Files
File Type: sma Get Plugin or Get Source (customflashlight.sma - 13274 views - 3.1 KB)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode