AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   CustomFlashlight (https://forums.alliedmods.net/showthread.php?t=16963)

XxAvalanchexX 08-23-2005 18:46

CustomFlashlight
 
1 Attachment(s)
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

diamond-optic 08-23-2005 18:54

this a pretty sweet idea here...

Hawk552 08-23-2005 19:07

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.

eFrigid 08-23-2005 19:28

Great plugin installing it now :wink: :wink:

But umm how do you get like your health and things all squigly in the picture?

CubicVirtuoso 08-23-2005 19:53

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/

Zenith77 08-23-2005 20:09

wow. This is event better than colored flash bangs :D

or do i dare compare?

XxAvalanchexX 08-23-2005 20:16

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.

The-Jeff 08-23-2005 20:42

Quote:

Originally Posted by XxAvalanchexX
That's a custom HUD

are you willing to share it?

XeNo 08-23-2005 21:19

Seems pretty original ^_^ Nice plugin

XxAvalanchexX 08-23-2005 21:19

Quote:

Originally Posted by The-Jeff
are you willing to share it?

That's not the scope of this topic, sorry.


All times are GMT -4. The time now is 08:28.

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