Originally uploaded by devilsson on 13th July 2007 16:16 pm
A flashlight SWEP by Devilsson2010 (me). Also a super huge awesome big thanks to mrflippy for working out the battery script and working out most of my errors.
You can just overwrite the old flashlight files:
Extract to garrysmod/garrysmod/
Use: Left click to turn on and right click to turn off. Every second it is on, it will drain 2 'battery' and when it is off, it will regen 1 'battery'. However if you hit 0 then you have to wait for it to get enough power to turn back on (which is 5 energy (10 seconds))
This SWEP disbales the 'f' flashlight so I do not recommend downloading it unless you are really going to use it. Or if you want to be able to use this and the regular flashlight just delete the cl_init script under lua/weapons/flashlight.
Any bugs/suggestions visit the forums: http://forums.facepunchstudios.com/showthread.php?p=6392465#post6392465
This download looks like an unpacked addon. You can either convert the files to an addon or merge the folders in the zip with the folders in your Garry's Mod folder.
Convert to Addon (Recommended)
You should end up with a directory structure similar to below:
Flashlight SWEP V2 <-- Make this folder!
Or, Merge Folders (Not recommended)
This option makes it difficult to remove the content should you no longer want it. Merge any folders from the zip with the equivalent folders in your Garry's Mod folder.
tahtacenk, great.gamers67, GameBazBoyGBB, Rusito, kawanssilva10, Black_Goku, rielhopps, rielhopps, treber77, Goldengamebear, AirKass, Minefox4343, Ludoy, valerochka.mokryy, Good-Puma, 오르는 사람, funniestgaming546, mathewtale, penninofederico, Fee Bud, gamingfoxy123, Shawdy, rezhashahidzindarb, mauricioelanime2, garnthai01, RabbidMonkey, TheLegend27, KroosManXD, tipasfaith, yebraa966, EnderGuy, cozyy9662, Berkin, AlexGMOD, Maksiuuuu, camilojaragutu, iori98yagami, marekpolczyk216, marekpolczyk216, SpringIvan_42, pockedyl000, facbros1st, alvaro.cope, naserloay97, cesarpambisito, 萌喵酱, 萌喵酱, GAMETECK, 15221517769, 10081971z +527 others