Profile image

A weird discovery about bullet auto-replacement

9,428 vcharng  4.5 years ago

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.

  • Log in to leave a comment
  • Profile image

    You have to change burst count

    1.2 years ago
  • Profile image

    doesn't work

    1.2 years ago
  • Profile image

    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

    4.5 years ago
  • Profile image
    3,391 PhoenixZeMan

    @vcharng lmao, glad you found it

    4.5 years ago
  • Profile image

    @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.

    4.5 years ago
  • Profile image
    9,428 vcharng

    @Brields95 It is and it has been proven.
    In some circumstances high burst count results in the system deleting older bullets.

    4.5 years ago
  • Profile image

    This definitely isn't a thing

    4.5 years ago
  • Profile image
    9,428 vcharng

    @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.

    4.5 years ago
  • Profile image
    9,428 vcharng

    @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.

    4.5 years ago
  • Profile image
    9,428 vcharng

    @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.

    4.5 years ago
  • Profile image
    9,428 vcharng

    @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.

    4.5 years ago
  • Profile image
    3,391 PhoenixZeMan

    @vcharng part count doesn't matter, the bullet lifetime makes bullets disappear lol

    4.5 years ago
  • Profile image
    9,428 vcharng

    @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

    4.5 years ago
  • Profile image
    3,391 PhoenixZeMan

    @vcharng nope, when i shoot nothing disappears

    4.5 years ago
  • Profile image
    9,428 vcharng

    @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.

    4.5 years ago
  • Profile image
    28.0k Armyguy1534

    Or you can just XML it by setting lifetime=big number

    +1 4.5 years ago
  • Profile image

    Hmm..., Interesting

    4.5 years ago
  • Profile image
    9,428 vcharng

    @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?

    4.5 years ago
  • Profile image
    3,391 PhoenixZeMan

    It never happened to me

    4.5 years ago