Profile image

A weird discovery about bullet auto-replacement

9,445 vcharng  5.0 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.6 years ago
  • Profile image

    doesn't work

    1.6 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

    5.0 years ago
  • Profile image
    3,391 PhoenixZeMan

    @vcharng lmao, glad you found it

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

    5.0 years ago
  • Profile image
    9,445 vcharng

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

    5.0 years ago
  • Profile image

    This definitely isn't a thing

    5.0 years ago
  • Profile image
    9,445 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.

    5.0 years ago
  • Profile image
    9,445 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.

    5.0 years ago
  • Profile image
    9,445 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.

    5.0 years ago
  • Profile image
    9,445 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.

    5.0 years ago
  • Profile image
    3,391 PhoenixZeMan

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

    5.0 years ago
  • Profile image
    9,445 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

    5.0 years ago
  • Profile image
    3,391 PhoenixZeMan

    @vcharng nope, when i shoot nothing disappears

    5.0 years ago
  • Profile image
    9,445 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.

    5.0 years ago
  • Profile image
    28.0k Armyguy1534

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

    +1 5.0 years ago
  • Profile image

    Hmm..., Interesting

    5.0 years ago
  • Profile image
    9,445 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?

    5.0 years ago
  • Profile image
    3,391 PhoenixZeMan

    It never happened to me

    5.0 years ago