Author Topic: Explosion height & Alternate movement methods  (Read 21132 times)

Offline Juku121

  • Commander
  • *****
  • Posts: 1798
  • We're all mad here.
    • View Profile
Re: Explosion height & Alternate movement methods
« Reply #30 on: December 16, 2023, 08:45:49 pm »
My mistake, it does have density.

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 466
    • View Profile
Re: Explosion height & Alternate movement methods
« Reply #31 on: December 16, 2023, 10:44:29 pm »
Back to initial question then.
How smoke works with different explosion heights?

Offline Juku121

  • Commander
  • *****
  • Posts: 1798
  • We're all mad here.
    • View Profile
Re: Explosion height & Alternate movement methods
« Reply #32 on: December 17, 2023, 05:52:18 am »
As I understand it, it works the same as any other explosive. Assuming you've not changed radius calculation parameters, it calculates the explosion radius from the 'power' value and plops down a full-power (well, there seems to be a somewhat variable starting density/time-to-live, too; per tile, even) smoke instance on every tile in the radius. For explosion height, you get an additional malus to vertical radius depending on the 'battleExplosionHeight', or no verticality at all with the vanilla option.

But since you're forking the code, you can (try to) read it yourself. I haven't checked if the above is true code-wise, that's just my understanding from experience and documentation.
« Last Edit: December 17, 2023, 05:59:49 am by Juku121 »