by Surfa on Fri Aug 19, 2011 1:12 pm
This is actually rather simple to do. You toggle the flash-light using the console command impulse 100 so if you a search for this in the code you should be able to find the section that toggles the flash-light when the button is pressed and then remove that and just place this code in the primary attack section of the weapon you make. Also to make it better and similar to how awesome it is in NMRiH create a bone at front of the model and attach the projected-texture for the flash-light to this in the code.