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

Add new world special property (vehicleburnexplosions) #4040

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

samr46
Copy link
Contributor

@samr46 samr46 commented Feb 19, 2025

This property toggles creation of additional explosions (type 2 - rocket) when plane or helicopter is burning (default is true).

By default when plane or helicopter is burning the game randomly creates additional explosions before vehicle finally blows up. It can be useful to disable these unnecessary explosions (the big dark smoke will remain and it doesn't affect normal blow up behavior).

It should also help to better filter false positives that typically occur when plane or heli is burning (onExplosion event).

Warning

The code includes missing "ignorefirestate" and "flyingcomponents" properties in ResetWorldProperties.

@samr46
Copy link
Contributor Author

samr46 commented Feb 19, 2025

Needs testing but it might also help to avoid infinite blowing described in #2443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants