Skip to content

Add new world special property (vehicleburnexplosions) #4040

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

Merged
merged 2 commits into from
May 20, 2025

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

@botder botder merged commit 88d303c into multitheftauto:master May 20, 2025
6 checks passed
@botder botder added this to the 1.6.1 milestone May 20, 2025
@botder botder added the enhancement New feature or request label May 20, 2025
MTABot pushed a commit that referenced this pull request May 20, 2025
88d303c Add new world special property: vehicleburnexplosions (PR #4040)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants