Skip to content

Add new world special property (vehicleburnexplosions) - #4040

Merged
botder merged 2 commits into
multitheftauto:masterfrom
samr46:feature/prop-veh-explosions
May 20, 2025
Merged

Add new world special property (vehicleburnexplosions)#4040
botder merged 2 commits into
multitheftauto:masterfrom
samr46:feature/prop-veh-explosions

Conversation

@samr46

@samr46 samr46 commented Feb 19, 2025

Copy link
Copy Markdown
Contributor

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

samr46 commented Feb 19, 2025

Copy link
Copy Markdown
Contributor Author

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
@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