Controllable Turrets:
Before I start I would like to say that I didn't do the original code, it was done by Ridah. I simply put it in this DLL after changing a few things and adding the multiple weapons option.
Now thats out of the way . . . . . to use a turret in your map, just make a turret (goto Rust if you want to know how to make turrets) and then add a new field onto the turret_breach brush:
"turretweapon"
If you do not specify a weapon to use on the turret, it will not fire at all.
Give one of the following values to the turretweapon field to specify which weapon to use:
| Field Number | Weapon |
1 2 3 |
Railgun Rocket BFG |