when putting my cannon rpm under what is possible in vanilla without overload xml, i noticed that muzzle flash and the cannon sound only play once you stop holding down the fire button. i was wondering if anyone knew how to make it so it plays the muzzle flash and cannon sound every time its fired and not just at the end like that.
If that's the issue you're having, one way to get around it is to stack multiple cannons in the same location, and then disable aircraft collisions via Overload on all but one of them (so they don't explode each other). Having the game alternate between multiple cannons seems to fix the problem since it can let one part finish playing the effect while the others start, or something to that effect.
For example, I've made an A-10 gun that uses five individual cannon parts clipped into each other to get the same fire rate as the actual GAU-8, and it works pretty well in terms of audio and everything.
@HuskyDynamics01thx for the answer btw
@HuskyDynamics01 that's kinda annoying when you replicate a real aircraft's fire rate :/
@Saleplouck If you set the fire rate really fast, the same thing happens. The game doesn't have time to play the effect before the next shot, so it just skips it.
I think it's at least somewhat framerate-dependent as to what point it stops doing the effects, but I don't know for certain. The way to fix it is to just decrease the fire rate until it works properly.
@HuskyDynamics01 ok but what abt the flash?
When the cannon is set to fire that quickly, the game can't play the fire sound for each round because of how close together they would be.