Hmmm.....
I have an idea...
What if we used your mod to make a camera that binds an entity to it, the entity is shaped like gun, but is a character with an invsible gun in it.......(transparent cylinder?).......
After that, we tell it to set other entities as targets, then run a decal and fire......
Here's a rough idea of what this may look like......
;CoffeeGrunt Scripts
;Header
desc= Scripted Gun
:state=0,plrdistwithin=40:hideplrgun,makecamera=gunCam,
bindentitytocam=gunCam,state=1
:state=1,mouseclick=1:settargetname=enemy,animate=X,useweapon,rundecal=6
:state=1,scancodekeypressed="G":unbindcam=gunCam,showplrgun
;/////Put code that makes it re-orient to cam orientation here
:********************************************
:********************************************
:********************************************
Doubt that it will work, but it's a theory.....