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.
FINS461, gksu02, G3, aidanmathieu, SalatoiTH, Lanker, justforrecovery121, thegoldenappgaming, Bitup, marcjohn0903, SkalocosGame, w21drakec, mayok664, shdiamon, mihael_bendov, mihael_bendov, akanson1, akanson1, DoYouNoob | PxServ, flamingpheonix20, bilalerdemaksoy1234, zoombienaruto, caleb_miller1130, pp08250, yaowapa28.ning, alejomolina, afkan0202, juanr20, cool, Joksanpro1900, own, thailandtin2548, thailandtin2548, erdemlioyuncu07, rosantosguelfi, rosantosguelfi, kosenok.kiril, marzluise, Yuki Plays, Benze, ExtraPlayerMAN, loubannmounir, Crazy Cat Play, sunLOL16, dudu.selau, koko, ramunatorius, himynameiszdenek, kawanssilva10, kawanssilva10 +736 others