ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Cookoff - Improve destroying vehicle post cookoff

Open Cyruz143 opened this issue 3 years ago • 0 comments

When merged this pull request will:

  • When cookoff completes vehicles explode (depending on settings)

In it's currently implementation, when cookoff completes and you have destroyVehicleAfterCookoff enabled, there is a chance (based around _detonateAfterCookoff) that the vehicle will just change to the wreck model without an explosion. This looks a bit weird to be honest, the explosion hides the model change fairly well and looks a bit more natural.

If you have destroyVehicleAfterCookoff disabled and _detonateAfterCookoff is also false, this statement never runs so it shouldn't have any unwanted impact.

IMPORTANT

  • [x] If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • [x] Development Guidelines are read, understood and applied.
  • [x] Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

Cyruz143 avatar Sep 13 '22 18:09 Cyruz143