Here you can see simple monster_miniturret and monster_turret entities. You can add a 'firemode' key to make them fire bullets or projectiles.