I was building my new plane and I suddenly found out that my bullets would disappear after the 7th shot is fired, i.e. for each gun, it can at most have 6 bullet in the sky at the same time.
I did a few thing about the XML setting of the gun, and nothing worked.
I think it could be that only gattling guns allow more bullets at the same time, but it still doesn't work.
Edit: after further trial-and-error I found it's the problem of setting burst count too high.
You have to change burst count
doesn't work
I Have a gun with burst count higher than 100 and still fine, burst count 150 and bullet count 50 it works with no problem
@vcharng lmao, glad you found it
@vcharng oh see I never have a burst count higher than 1 anyway because 1 combine that with the timebetweenburst function to control rate of fire and subsequently the sound of the gun.
@Brields95 It is and it has been proven.
In some circumstances high burst count results in the system deleting older bullets.
This definitely isn't a thing
@BlackBoA @PositivePlanes @TrislandianAlliance
OK after further research, I found the reason.
It's BURST COUNT.
I tried lowering burst count from 150 to 45 and now it can shoot all the way to the far end of the runway.
So it looks like the problem is that you can't have too large a magazine, or the system would try to spare some resource in case you started shooting non-stop.
@BlackBoA What's more, do you know what happens when a 10-sec-lifetime gun stopped firing? the last 6 rounds suddenly continued to fly because there's no more round to replace them. This is total evidence of something ELSE is deleting the bullets.
@PositivePlanes My guess is that the system allocates resource in accordance with the size of your plane. Larger plane= more resources= more allowed bullets per gun.
@BlackBoA Well that's not what happened with me.
I made it 10 second lifetime, still only first 6 rounds exist.
Yet the exactly same gun on a 300 part plane can have 60 rounds at the same time.
@vcharng part count doesn't matter, the bullet lifetime makes bullets disappear lol
@BlackBoA This usually happens at quite a long distance, did you pause and pull your camera all the way front to see? (usually it disappears after 500m)
Also try this with a <100 parts plane
@vcharng nope, when i shoot nothing disappears
@Armyguy1534 No it doesn't work.
It is entirely independent to bullet lifetime. No matter how long I set it the planes with lower part count will always have its 7th bullet replacing the 1st.
Or you can just XML it by setting
lifetime=big number
Hmm..., Interesting
@BlackBoA You never had bullet disappearing after a certain number of shots from the same gun?
Or is that simply because your builds always have very much parts?
It never happened to me