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.
DoYouNoob | PxServ, flamingpheonix20, zoombienaruto, caleb_miller1130, pp08250, yaowapa28.ning, juanr20, cool, Joksanpro1900, own, thailandtin2548, thailandtin2548, erdemlioyuncu07, rosantosguelfi, kosenok.kiril, FlowerShy, Benze, loubannmounir, Crazy Cat Play, sunLOL16, dudu.selau, koko, ramunatorius, himynameiszdenek, kawanssilva10, kawanssilva10, cbothma, motherhubard21, alex lmx youtube, abz_cool66, oxcumix, じょえもん, kknaulak, coachs20003, gryZor4000, jose_abraham.almada, castor_derek, Artza, masnarang, sauddvds, 270088740, rector, asstelevy, rita.zebeliene, mostafa20061207, Boo!_oFantasma, joawnai, eduardoykaro, RifqiFauzan2004, galaxy08092004 +705 others