Ah, turrets... took me while to wrap my head around correctly placing and orienting those bastards ;)
Limiting rotation / firing arcDefinitely possible, but with limitations. Same basics are covered here:
Turret OrientationGenerally it boils down to this:
- per default every turret can fire in every direction
- Nexus tries to select the best turret for attacking a specific target - it's a good idea to have at least two turrets per weapon slot on opposite sides of the ship, so Nexus can pick a turret, that won't fire through the ship's hull
- you can limit the firing angle by modifying "CannonMaxFireAng" in your tacticstypes.ini for that weapon's DEVICETYPE
- "CannonMaxFireAng" describes the maximum angle in degrees the shot can deviate from the current orientation of the turret's barrel (e.g. if the barrel points forward and CannonMaxFireAng is 90 degrees, then the turret could fire upwards)
- "CannonMaxFireAng" is always relative to the barrel, not the turret! Rotating turrets can already move their barrel to cover the upper half-sphere above them - picking a high "CannonMaxFireAng" makes that turret fire outside it's designated half-sphere!
- a rotating turret can always cover it's upper half-sphere, even with a really low "CannonMaxFireAng" such as 1 degree - because it can always fire in direction of its barrel.
- the firing arc of a non-rotating turret (such as Nexus' default flak lasers) can be effectively limited by adjusting "CannonMaxFireAng" - because the barrel can't move, the weapon is forced to fire inside the angle set by "CannonMaxFireAng"
Recoil animation:Not possible, as far as I know.
Multi-barrelled muzzle flashMaybe possible, although AFAIK that's only a theory. The game ignores more than one #fire# point, although you could potentially fake that by creating a particle effect, that shows a muzzle flash for each barrel. Theoretically, for a cannon with three barrels, you could create a particle effect consisting of three muzzle flash effects with each one's position being slightly offset. If done right, that could result in a proper multi-barreled fire effect. Haven't tried it before, though, so take that with a grain of salt...
Some problem I already see with that approach: particle effects don't scale with turret size - if you use differently sized turrets of the same weapon system on different ships, the particle effect won't align with the barrels. You'd need to make a special version of that weapon's DEVICETYPE for each possible turret size, adjusting the effect's size each time.
I'm not sure, if it's worth it. If your turrets are really big relative to the ship's size, then it's maybe worth a try... but otherwise the player isn't likely to notice that effect anyway - he won't zoom in far enough most of the time to actively notice the small barrels and their fire effects.