Credit for script goes to S4Real (FlashlightV3) Thanks s4real:)

Uses a standard full screen hud to simulate a flashlight look
Tested & works with V1.20_1.17  Does not work properly BlackIce Mod, 
some hud commands have changed. One needs to change script to newer
hud commands to work with BlackIce Mod. Not hard to do.


Drop files into folders

*OPEN* script "rechageable_flashlight.fpi" and change lines at "state=1, state=18"
"plrcurrentweapon=" path to the flashlight your using.

Then under "state=2" one can see "check which weapon being used"
Change each line "plrcurrentweapon=" to reflect each/every weapon you will
use in your level. Add more lines if needed.


Attached "rechageable_flashlight.fpi" script to a trigger anywhere in level.

Place "Battery" entities where needed.

Test run, Pickup your flashlight and press "F" key to activate/de-activate hud.
Flashlight loses power/brightness every 5 secs (adjust timer to meet your needs)
You can "holster" flashlight & switch weapons, hud works as it should.

Pickup extra Batteries "ENTER" key, to store until needed. To use Batteries Press "B" key!
Flashlight will then recharge to full capacity. 

have fun
best

