ThiccSmoke & ThiccFire
I was a bit fed up with the lack of smoke within Teardown. Smoke, when you look at actual building/house fires, is thickand black due to the improper combustion of materials. Smoke should billow out of all crevices, cracks, holes and windows where smoke can go. Fire, also never really grew bigger after a small increase, even though more fires are spawned. Even more so, intensity wasn’t accounted for during spreading of fire at all! But this mod allows for all of that! All this was sort of there in the game, but toned down a lot.
This is understandable, from performance and gameplay reasons, as this would limit visibility within a building to a huge decree. But that is what smoke and fire is about!
What definitely is not in the game, is that different materials being on fire would create different types of smoke! Smoke can be thick black and a bit colored when burning toxic materials (plastic, etc) but if something like wood would burn it would create much less thick and more clear smoke.
So I went ahead and tried my hands on modding Teardown for the first time, with the mentioned idea behind smoke and fire in mind.
Basically this mod is just:
-[/spoiler] Determine fire locations using an binary search and the latest API (teardown v0.8.0).
-[/spoiler] There is fire there! Determine what is on fire.
-[/spoiler] SPAWN MORE SMOKE and FIRE
If you want to help developing or improve and/or fix issues within the mod, you can request a pull request on the github page for this mod:
https://github.com/EldinZenderink/ThiccSmoke-ThiccFire
– Previous settings from earlier versions are, unfortunately, erased to make place for the new versions settings.
– If still not enough smoke is spawned, go to the setting menu -> particle spawner settings, and then tweak the settings there until you achieved your desired performance/fires&smoke ratio. If still not enough fire and smoke is spawned go to settings menu -> Fire Detector Settings -> Detection and lower the value "Min Distance Between Fires" to let it spawn smoke and fire at more locations closer to each other.
There are more settings you can tweak for performance/visuals but I will leave that up to you!
New feature:
– Despawn Teardown Fire: To improve performance and/or the amount of particles that can be spawned at once, the mod can now after detecting teardown’s own fire despawn/delete it. This reduces the particle amount significantly as only the beginning of new fires are actual teardown fire. The option can be found in the menu and is enabled by default and can be found here: Fire Settings -> Fire Spread -> Despawn Teardown Fire. Note however that this is experimental and espescially with small fires can be quite noticeable/jarring. Particle density decreases as well (since teardowns fire particles are now no longer spawning as much).
Improvements/Changes:
– Looked up some efficiency tips/tricks for lua and implemented them, well, tried to. Should be a bit faster now when detecting fires so 300+ fires technically would be possible on high end systems, but the amount of particles will be the limiting factor anyway.
– Changed particle spawner behavior for fire (fire no animates alpha to 0)
– Gravity of particles is no longer affected by fire intensity (only randomized based on particle randomize setting).
– Default presets tweaked to take these changes into consideration
Bug Fixes:
– Fire detector uses recursive binary search to determine fire locations, however it used to take fire intensity into account to identify locations to prevent to much overlap when spawning large particles. This was not working for a while (don’t remember when I altered it to not work) but works again improving efficiency when dealing with large fires.
If these features are not to your liking and you’d rather have the old version, you can manually download older versions from the github page:
Official releases:
https://github.com/EldinZenderink/ThiccSmoke-ThiccFire/releases
Tags for even earlier releases:
https://github.com/EldinZenderink/ThiccSmoke-ThiccFire/tags
Extract the zip file into your Documents/Teardown/mods directory and you will be able to enable them. Be sure to disable the mod from the steam workshop or other versions of this mod if you have previously installed them from the github page, as they can conflict with each other!
Revisions:
Old revisions of this mod are available below. Click the link to download.