Entity Posted October 27, 2018 Share Posted October 27, 2018 (Credit to Wumpie on discord) Multiple TNT blocks no longer seem to destroy parts that have that exact multiple of 500 hp. 1 TNT destroys 500 hp blocks as expected 2 TNT does NOT destroy 1000 hp blocks 4 TNT does NOT destroy 2000 hp blocks etc Repro: make a drone like this, detonate the TNT, the button survives even though it has 1000 hp and the TNT should be doing 2x500 damage. Link to comment Share on other sites More sharing options...
Ookami-sama Posted October 27, 2018 Share Posted October 27, 2018 I have the same problem: small blocks with 1 000 HP require a minimum of three packs of TNT to be destroyed. Link to comment Share on other sites More sharing options...
Micha Posted October 28, 2018 Share Posted October 28, 2018 If it works with 3 then I assume its a timing problem. A TnT block has a small delay before it explodes if it gets triggered by another explosion. I did this to allow large chain explosions without them exploding all at the same time. Combined with the fact that all parts repair themselves by a small amount over time might give the part a few milliseconds time to regenerate before the second blast. Its ether this or something else is broken. Are both TnT on the same button or does only 1 explode and then trigger the other explosion? Link to comment Share on other sites More sharing options...
Ookami-sama Posted October 28, 2018 Share Posted October 28, 2018 All TNT packs were mapped to Mouse0 on all of my attempts. Packs that are too close to one another indeed do not explode at exactly the same time, but that is regardless of their activation method. On the contrary, packs that are far enough from one another explode all at the same time, and destroy the target as intended. First gif shows the delay when packs are close to one another, even with all having the same key as detonator; second shows the intended destruction after both packs explode at the same time. Link to comment Share on other sites More sharing options...
Entity Posted October 28, 2018 Author Share Posted October 28, 2018 3 hours ago, Micha said: Are both TnT on the same button or does only 1 explode and then trigger the other explosion? both detonated on same input. I know blocks repair themselves, but when detonated at the same time it should be destroying the block. Maybe the delay-on-detonation-if-hit-by-other-explosion is overriding the detonation input? Even if it happens on the same tick? if so, that's not the right way to handle simultaneous events Link to comment Share on other sites More sharing options...
Lurkily Posted October 28, 2018 Share Posted October 28, 2018 It looks like the damage is assigned before the game moves on to detonating the next pack, so the next pack is damage-detonated instead of signal-detonated. But then, the third back in the chain should be signal-detonated before the second explodes. Huh. Micah, how about stopping block regeneration for a moment after taking damage? Half a second of halted regeneration would obviate this, and is a common game mechanic for making continual damage more threatening, and not something you can just out-regen. Link to comment Share on other sites More sharing options...
Micha Posted October 29, 2018 Share Posted October 29, 2018 Yep it's fixed by adding a small cooldown on the self regeneration after taking damage. I rather leave the timing as it is, so you can build huge tnt chains. If they explode in the same frame it's just a huge lag spike. I'll upload a silent hotfix today so you can blow up stuff. 2 Link to comment Share on other sites More sharing options...
Ookami-sama Posted October 29, 2018 Share Posted October 29, 2018 So that was what the update was for! Thank you, in any case. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now