I've discovered a great way to create limited ammo on my aircrafts gun, but the issue now is that the aircraft also has a controllable turret and I don't want the forward facing armament to fire at the same time as the turret. Is there a way to make the gun facing forward 'deactivate' when I activate the turret (AG2)?
Hey I hope you'll have a chance to look at my XML help @jamesPLANESii
@jamesPLANESii sum(clamp01(FireGuns)) < 13.8504155125
this is the XML I have in the forward facing guns activation group
This just because the cannon fires a roughly 11.6 rounds per second and he capacity is 150 so this allows the cannon to fire for 13.8504155125 seconds which is exactly 150 rounds
What do you mean by the 'swivel' code? Do I put it in the guns activation XML? @jamesPLANESii
Try putting
-clamp01(Activate2)
in the turret swivel code@jamesPLANESii