Raised This Month: $66 Target: $400
 16% 

CustomFlashlight


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   EKS (167)
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-23-2005 , 19: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 - 12438 views - 3.1 KB)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
diamond-optic
Veteran Member
Join Date: May 2005
Location: Upstate New York
Old 08-23-2005 , 19:54  
Reply With Quote #2

this a pretty sweet idea here...
__________________
diamond-optic is offline
Send a message via AIM to diamond-optic
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-23-2005 , 20:07  
Reply With Quote #3

Nice. I'd install this but my server is an inch away from exploding due to too many plugins. 5/5 when this gets approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 08-23-2005 , 20:28  
Reply With Quote #4

Great plugin installing it now

But umm how do you get like your health and things all squigly in the picture?
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
CubicVirtuoso
Senior Member
Join Date: Sep 2004
Location: Canada
Old 08-23-2005 , 20:53  
Reply With Quote #5

Very cool nice idea makes things look a little different. nice to see peoples reactions when they turn on the fl and they are like wtf/
__________________
Sig Under Construction.
CubicVirtuoso is offline
Send a message via ICQ to CubicVirtuoso Send a message via AIM to CubicVirtuoso Send a message via MSN to CubicVirtuoso Send a message via Yahoo to CubicVirtuoso
Zenith77
Veteran Member
Join Date: Aug 2005
Old 08-23-2005 , 21:09  
Reply With Quote #6

wow. This is event better than colored flash bangs

or do i dare compare?
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-23-2005 , 21:16  
Reply With Quote #7

Quote:
Originally Posted by bizzybone
But umm how do you get like your health and things all squigly in the picture?
That's a custom HUD I designed myself.

Thanks for all of the positive feedback everyone.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
The-Jeff
Member
Join Date: Aug 2005
Old 08-23-2005 , 21:42  
Reply With Quote #8

Quote:
Originally Posted by XxAvalanchexX
That's a custom HUD
are you willing to share it?
__________________

(Instant Jeff, Just Add Karma)
* Set AWP status of -=nSc=- Col. Jeff Recruiter to: immune
x7r killed -=nSc=- Col. Jeff Recruiter with awp
The-Jeff is offline
XeNo
Member
Join Date: Aug 2005
Old 08-23-2005 , 22:19  
Reply With Quote #9

Seems pretty original ^_^ Nice plugin
XeNo is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-23-2005 , 22:19  
Reply With Quote #10

Quote:
Originally Posted by The-Jeff
are you willing to share it?
That's not the scope of this topic, sorry.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply


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 07:17.


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