Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wind pushes smoke/gas/fire/hot air. #28058

Merged
merged 4 commits into from Mar 25, 2019
Merged

Wind pushes smoke/gas/fire/hot air. #28058

merged 4 commits into from Mar 25, 2019

Conversation

ghost
Copy link

@ghost ghost commented Feb 4, 2019

Summary

SUMMARY: Features "Wind will now affect the spread of smoke/gas/fire/hot air"

Purpose of change

With the increasing wind changes, it seems logical that gases and fire would be influenced by it.

Describe the solution

If the fire or gas or smoke is not indoors, not sheltered from the wind, and the wind is over 5mph, then it's spread direction will be influenced by the wind direction.
High winds will make fires burn hotter and shorter and spread more.
More smoke will be produced and the smoke will blow in the same direction as the wind.
This applies to poison gas, tear gas, cigarette smoke, nuclear bomb clouds, hot air, and so on.
CPU concerns limit long smoke columns and trails, and the reality bubble would limit that anyway.
If you stand upwind, and set a fire, you may well be safe from it's spread.
Once again these changes may be best served by the wind direction and power being displayed on the sidebar, which @nsklaus is working on.

Describe alternatives you've considered

N/A

Additional context

torching the starting shelter surrounded by fungal growth, with a fairly strong easterly wind. the fire is spreading mostly west and north and south. the smoke too.

image

The fire code mangled my brain a bit with it's complexity and endless indents and lambdas, apologies if I've misunderstood any of it.

@I-am-Erk
Copy link
Member

I-am-Erk commented Feb 4, 2019

I'm not sure why this makes me so happy, but this makes me so happy.

@ZhilkinSerg ZhilkinSerg added <Enhancement / Feature> New features, or enhancements on existing [C++] Changes (can be) made in C++. Previously named `Code` Fields / Furniture / Terrain / Traps Objects that are part of the map or its features. Mechanics: Weather Rain, snow, portal storms and non-temperature environment labels Feb 5, 2019
@ghost ghost changed the title Wind pushes smoke/gas/fire/hot air. [WIP] Wind pushes smoke/gas/fire/hot air. Feb 9, 2019
@ghost
Copy link
Author

ghost commented Feb 9, 2019

Marking as WIP, as there is a new wind system using debug overrides and fixing various things, that will make this obsolete as it is, itll need to be rebased to #28143

@ghost
Copy link
Author

ghost commented Mar 10, 2019

rebased to master, using the new wind override system

@ghost ghost changed the title [WIP] Wind pushes smoke/gas/fire/hot air. Wind pushes smoke/gas/fire/hot air. Mar 10, 2019
@ghost
Copy link
Author

ghost commented Mar 10, 2019

jenkins rebuild

@ghost ghost mentioned this pull request Mar 14, 2019
@ZhilkinSerg ZhilkinSerg self-assigned this Mar 20, 2019
@kevingranade kevingranade merged commit 0b3d701 into CleverRaven:master Mar 25, 2019
@ZhilkinSerg ZhilkinSerg removed their assignment Mar 25, 2019
@kevingranade
Copy link
Member

This pull request has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there:

https://discourse.cataclysmdda.org/t/everburning-fires/19415/9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` <Enhancement / Feature> New features, or enhancements on existing Fields / Furniture / Terrain / Traps Objects that are part of the map or its features. Mechanics: Weather Rain, snow, portal storms and non-temperature environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants