Results 1 to 4 of 4

Thread: Doomrockets vs. Nukes: An investigation

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Icon1 Doomrockets vs. Nukes: An investigation

    tl;dr Doomrockets have yields of either 6 tons, 43 tons or ~270 tons if judging the explosion by detonation radius, fireball radius and crater radius respectively, all comparable to small tactical nukes.

    I've been modding Doomrockets recently and I was wondering how Doomrockets compare to nuclear weapons, given how players generally compare them to such. A simple eyeball test shows them to be either very small nukes or extremely large conventional bombs. So I thought I could try looking at a few Doomrocket explosion properties, comparing those properties with real life nukes to determine their explosive power in TNT equivalents.

    The first property I looked at was the detonation radius as defined by projectiles_explosions_tables. The key for the non-hero Doomrocket explosion is wh2_dlc12_army_abilities_warpstorm_doomrocket_upgrade, where, by default, the detonation radius is 40 meters (I assumed all measurements in Total War are in meters). Any soldier inside the detonation radius I think will be damaged by the amount defined in "Detonation Damage" or "Detonation Damage Ap," which, for Doomrockets, is 216. In turn, I corresponded this value to the 20 psi radius as defined in NUKEMAP, because the fatality rate at that pressure is about 100%. According to NUKEMAP, a 40 meter 20 PSI radius corresponds to a 6 ton nuclear explosion, which is extremely small for a nuclear weapon. For reference, here's a video of a 7.8 ton nuclear test. Despite the minuscule yield, there has been nuclear weapons designed with yields in this range, the most famous being the Davy Crockett nuke.

    The next property I decided to examine was the crater left behind from the explosion. The normal map used for the crater is crater_decal_impact_normal.dds. That DDS file has a resolution of 1024x1024. With regards to the crater, the crater has a lip radius of about 320 pixels and an inner radius of about 175 pixels (source), which means the lip and inner radii are 62.5% and 34.18% respectively of the DDS' width.

    Now let's take a look at how particle files work with regards to Doomrockets. Three XML files located in data.pack define the dimensions of Doomrocket particles:
    • wh2_dlc12_lib_warpstorm_doomrocket_cloud.xml
    • wh2_dlc12_lib_warpstorm_doomrocket_impact.xml
    • wh2_dlc12_warpstorm_doomrocket_impact.xml
    • wh2_dlc12_warpstorm_doomrocket_explosion.xml (only used for the initial Doomrocket explosion and has no impact on the fireball, crater or mushroom cloud)


    wh2_dlc12_lib_warpstorm_doomrocket_impact.xml and wh2_dlc12_lib_warpstorm_doomrocket_cloud.xml define emitters and their dimensions (emitters are essentially animations created from DDS files), while wh2_dlc12_warpstorm_doomrocket_impact (note the lack of "lib" in its name) takes the emitters defined in the lib XML files and organizes the emitters by instances. Each instance defines the emitters' scales, as well as which emitters to fire and how long the emitters fire.

    An emitter inside wh2_dlc12_lib_warpstorm_doomrocket_cloud.xml named "decal" uses the aforementioned DDS files to create the Doomrocket crater. That emitter has a BoundingBoxMax of (15,1,15) and a BoundingBoxMin of (-15,-1,-15). Inside wh2_dlc12_warpstorm_doomrocket_impact.xml, the instance named "impact" scales up the decal emitter by a factor of 2.5, which makes the width of the DDS image 37.5 meters. Therefore, we can conclude that the inner and lip radii are about 12.8m and 23.42m respectively (5.12 meters and 9.37 meters without the 2.5 scaling). According to NUKEMAP, this roughly corresponds to a 244 ton nuclear explosion if using the crater lip radius or a 292 to nuclear explosion if using the inner radius. Regardless of what value you choose, they're still both very small yields for nuclear weapons, but are nevertheless far more powerful than any conventional weapon. Those yields are, in fact, within the range of nuclear land mines.

    Finally, I examined the fireball the Doomrocket generated. Inside wh2_dlc12_warpstorm_doomrocket_impact.xml, the instance "fireball_ground" scales the emitter "firey_emission" (yes, fiery is misspelled) by a factor of 1.5. According to wh2_dlc12_lib_warpstorm_doomrocket_cloud.xml, where the "firey_emission" emission is located, "firey_emission" has a BoundingBoxMin of (-15,-1,-15) and a BoundingBoxMax of (15,20,15), which means the fireball is not really a sphere. For simplicity's sake, I rounded everything down to 15. In turn, taking into account the scaling, "fireball_ground" has a radius of 22.5 meters. Using NUKEMAP, this fireball radius corresponds to a 43 ton nuclear explosion, which, once again, is very small for a nuke, but not unheard of, as they too are within the range of nuclear land mines.

    With regards to the last two properties, it's one thing to guess a radii by looking at the XML files, but it's another thing to confirm these dimensions in-game, or, more specifically, in the Terrain Metadata Editor (aka Terry). Conveniently, Terry allows you to play any particle animation and allows you to place these particles (along with other entities) at precise coordinates. For my test, I placed the Doomrocket explosion VFX at (100,0,100) and I placed props at the crater and fireball radii to see if they really matched up with the estimated radii. Here's how the crater decal looks like in Terry, with shelf props at (100,0,112.8) and (100,0,123.42). It doesn't look perfect (and they're hard to see) but the shelves do look like they align with the lip and inner edges.

    As for the fireball, it was a little harder to tell whether the fireball actually had a radius of 22.5 meters. In this screenshot, where the explosion was rotated 90 degrees along the X-axis, the orangish fireball towards the bottom of the screenshot sort of extends past the props that act as a 22.5 meter boundary (it's also not really a sphere). On the other hand, you could just argue that that's just some noise and that 22.5 meters is a totally valid radius.

    Finally, here's some more references for those who want to more realistically mod the Doomrocket explosion. As mentioned earlier, wh2_dlc12_warpstorm_doomrocket_impact.xml scales the size of the crater and fireball emitters for the Doomrockets. Therefore, if you want to create a somewhat accurate looking Doomrocket explosion with a yield of 6, 43 or 244 tons, the following scales should be used inside wh2_dlc12_warpstorm_doomrocket_impact.xml:





    • Fireball scale values should be used for the "ignition_smoke", "slow_mushroom_cloud," "cloud_ring" and "omni_light" instances inside wh2_dlc12_warpstorm_doomrocket_impact.xml
    • Crater scale values should be used for the "impact" instance inside wh2_dlc12_warpstorm_doomrocket_impact.xml
    • Cloud_ring scale values should be used for the "cloud_ring" instance inside wh2_dlc12_warpstorm_doomrocket_impact.xml and the "vfxref_3032" instance inside wh2_dlc12_warpstorm_doomrocket_explosion.xml
    • "slow_ignition_smoke" and "impact_shockwave" are both located inside wh2_dlc12_warpstorm_doomrocket_impact.xml


    (also, are tables broken on twcenter.net?)

    And, once again, here are the dimension of the four properties if the scaling inside wh2_dlc12_warpstorm_doomrocket_impact.xml was set to 1.00:
    • Detonation radius - 40.00 meters
    • Inner crater - 5.12 meters
    • Outer crater - 9.37 meters
    • Ground fireball - 15.00 meters
    Last edited by Jon_the_XII; September 15, 2020 at 08:39 PM. Reason: table, wording, corrections

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •