True Nukes


Adds realistic nuclear blasts, and more nuclear options, including various scales of atomic artillery shell, as well as atomic cannon shells. Also adds thermobaric weapons (these are like fuel air bombs), which act as early game nukes. Simulates the blast wave, thermal impact, crater and fireball of nuclear weapons.

Content
1 year, 25 days ago
1.0 - 1.1
43.4K
Combat

b [Fixed] Nukes Destroy indestructible entities

1 year, 3 months ago

I'm not sure whether this is a bug or not, but this behavior is making notnotmelon's Factorissimo 2 fork crash.

1 year, 3 months ago

Oooh, that's an interesting problem. I've not been able to replicate the crash though.
What nuke did you use to destroy the building, and how close-by was it?
Also, can you replicate the issue with the indestructible setting off?
What about the "retain damage statistics" settings on true nukes?
Thanks for the report, I'm not really sure where the issue is yet.

1 year, 3 months ago
(updated 1 year, 3 months ago)

It only happens when factories are set as indestructible, which only sets the indestructible flag on the entities so by manually changing that flag in the editor you can test and change the outcome.

The nuke only needs to deal more damage than the remaining health of the factory, despite the factory being marked as indestructible.

To reproduce this you must:

  1. Create a factory having Factorissimo's indestructible setting on (or through the entity flag)
  2. Place an electric pole which covers the factory, and it must be in the south (forgot to mention that one)
  3. Drop any nuke that would destroy it
1 year, 3 months ago
(updated 1 year, 3 months ago)

I couldn't avoid the bug by disabling any options of True Nukes.

1 year, 3 months ago

Ok, I didn't know the power pole step, I'll try that now

1 year, 3 months ago

Awesome, I found the issue, and I think I've fixed it, though I can't be certain there aren't edge cases, as factorissimo has lots of hybrid buildings, and there may be cases where the overall destructivity of the weapons can break that.
Still, it worked in the test case I used.

1 year, 3 months ago

I can't reproduce the problem any more so this is “fixed” despite not being a bug. Thanks for the fix.

1 year, 3 months ago

I'll happily class it as a bug, as T-N was destroying indestructible entities, so yeah, fixed.

New response