aliens

Author Topic: [Answered] How does SmokeThreshold work?  (Read 1926 times)

Offline Nord

  • Commander
  • *****
  • Posts: 1643
  • The Gate is open.
    • View Profile
[Answered] How does SmokeThreshold work?
« on: June 01, 2020, 07:50:41 pm »
I have put
Code: [Select]
SmokeThreshold: 1000 to the explosive weapon, but it creates smoke anyway. So how can i remove smoke result from explosive?
« Last Edit: February 12, 2023, 09:34:57 am by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: How SmokeThreshold work?
« Reply #1 on: June 01, 2020, 08:32:15 pm »
The smoke is not produced by the explosive.
It's produced by whatever was destroyed on the tile.

E.g. a C4 explosion doesn't produce much or any smoke itself, but all the dirt on the ground will be propelled into the air and create a fine dust cloud.

If you want to turn that off, you can set the tile damage of the explosive to zero.
(Or to a small fraction, e.g. 0.2, if you just want to create a smaller dust cloud)

Code: [Select]
items:
  - type: STR_GRENADE
    damageAlter:
      ToTile: 0.0

Offline Nord

  • Commander
  • *****
  • Posts: 1643
  • The Gate is open.
    • View Profile
Re: How SmokeThreshold work?
« Reply #2 on: June 01, 2020, 08:40:58 pm »
And no way to remove smoke after explosion? It is a wind spell, to be understanded properly.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: How SmokeThreshold work?
« Reply #3 on: June 01, 2020, 08:52:30 pm »
And no way to remove smoke after explosion? It is a wind spell, to be understanded properly.

Doesn't ToTile: 0.0 do the trick?
Wind does not destroy terrain... or is it a very strong hurricane-like wind?

Anyhow, there is no way of removing smoke from destroyed terrain at the moment... I also don't want to mess with that, it's Yankes' baby... better wait for him to respond.

Offline Nord

  • Commander
  • *****
  • Posts: 1643
  • The Gate is open.
    • View Profile
Re: How SmokeThreshold work?
« Reply #4 on: June 02, 2020, 06:54:19 am »
Doesn't ToTile: 0.0 do the trick?
Wind does not destroy terrain... or is it a very strong hurricane-like wind?

Anyhow, there is no way of removing smoke from destroyed terrain at the moment... I also don't want to mess with that, it's Yankes' baby... better wait for him to respond.
Yes, it's a tornado. Ok, i undersand.