I'm sure some people have been following Ply's mod lately, I certainly have. With new scripting commands added to Ply's Mod, it is now possible to create a simple turret effect (though creation may not prove simple). This Community Challenge is a new way for people to familiarize themselves with some of Ply's Mod features, and is a good way to learn some FPI and get practice in.
Here is one idea on how we could make the turret:
When used, the turret temporarily disappears and gives the player a weapon, then removes it and reappears when done
Anyone should feel free to join, even the expert scripter. Anyone should feel free to give suggestions on how to fix bugs, or even a completely different way to go about this. As a start, I will provide the first 2 states:
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=turretuse,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=40:hudshow=turretuse
:state=1,plrdistwithin=40,hudfadeout=turretuse
:state=1,plrdistwithin=40,plrusingaction=1:hudfadeout=turretuse,giveweap=modernday/minigun,alttexture=1,state=2