Ok, New project i was asked about.
Its pretty much the flashlight model from zombie master, with a “Following” light, The light figets around with the idle animation and moves with the melee animations aswell.
If you have ever played doom 3, this is pretty much what it is like.
Features:
Gives you the Flashlight when you spawn.
Changed the Flashlight button with “Equip FlashLight” instead.
The light dims when you get closer to a wall.
The light follows the flashlight, with the idle and such.
Primary Attack melee’s
Secondary attack toggles the light on and off.
1.1:
Fixed lua error when the light was made.
Fixed lua error when toggling the light.
1.2:
Hopefully fixed it fucking up in Dedi servers.
Fixed decal marks on props.
Pictures are at the download
Download:
http://www.garrysmod.org/img/?t=dll&id=93389
Download the Non Fuck Up Version: