C-4 Bug

  • TheBombMaker94
    5th Oct 2012 Member 0 Permalink

    Ok, ok, ok. I know there is a BIG bunch of reported bugs around C-4.  I didn't want to make a useless post, so I searched "C-4" and I didn't foud my bug.  So, I'm posting this.

     

    Here's how to make the bug:

     

    1)  Draw a c-4 circle on the screen

    2)  Go type in the console "!set temp c-4 9000"

    3) Get out the console and see

     

    Or you can simply go my save "Ultimate lag".

     

    Is this a bug, seeing the game freezing, or it is a normal lag like the neut cannons one?

     

    Thanks for your answers!

    BombMaker

  • jacob1
    5th Oct 2012 Developer 0 Permalink
    You forgot one step. In your save, you also have TNT under the C-4, and that is needed to cause the lag. The reason it happens is that TNT uses flood fill to make it all explode at once, but when C-4 is on top, every particle uses flood fill because it tries to tell the TNT next to it to explode, but can't find it with the C-4 on top.

    I already fixed this, I just made TNT not use flood fill when it isn't on top.
  • billion57
    5th Oct 2012 Member 0 Permalink