OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: Nord on June 01, 2020, 07:50:41 pm

Title: [Answered] How does SmokeThreshold work?
Post by: Nord 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?
Title: Re: How SmokeThreshold work?
Post by: Meridian 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
Title: Re: How SmokeThreshold work?
Post by: Nord 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.
Title: Re: How SmokeThreshold work?
Post by: Meridian 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.
Title: Re: How SmokeThreshold work?
Post by: Nord 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.