V2 IS OUT:
The Thread: http://forums.facepunchstudios.com/s...d.php?t=376327
My first SWEP, which happened to be a request. I however was not given a world model so I just made it the pistol because I hate those errors! Lyoko774 did the models. I will update it soon enough to have battery life. Please no flaming. Also, left click to turn on and right click to turn off. The brightness is the exact same as the regular falshlight, the purpose of this one is to disable the 'f' flashlight on dark and scary maps, then make people choose between light or a weapon.
More Edits:
Well with thanks to mrflippy, the battery drain and recharge works perfectly. As for the model, I am working on finding a better one. And for the stupid mp_flashlight 0 problem, mrflippy and I are both working on it.
The view model:
In the gm_construct dark room: