mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Add "flyingcomponents" special world property

Open FileEX opened this issue 1 year ago • 4 comments

Merge after #3572

This PR adds a new special world property called flyingcomponents (default is true). This property determines whether the detached components such as doors, bumpers, etc., should respawn after a vehicle is recreated or streamed in. This PR solves a very frustrating and annoying issue where all missing components fall off again after using setElementModel or setVehicleVariant:

image

Thanks to this property, various car garages and vehicle spawners will be able to look normal without flying components around

FileEX avatar Jul 22 '24 00:07 FileEX

Again I'll have to point out that this to me seems like more of a bug-fix-scenario, rather than a special-world-property-scenario. What about the current behavior is desirable?

Dark-Dragon avatar Jul 22 '24 00:07 Dark-Dragon

Probably nothing, but it's better to set it to the current default than for the PR to get labeled as 'backwards-incompatible' and end up stalled for several months, or possibly even years

FileEX avatar Jul 22 '24 00:07 FileEX

Probably nothing, but it's better to set it to the current default than for the PR to get labeled as 'backwards-incompatible'

It won't. Current state is bugged

TheNormalnij avatar Oct 01 '24 16:10 TheNormalnij

Probably nothing, but it's better to set it to the current default than for the PR to get labeled as 'backwards-incompatible'

It won't. Current state is bugged

Done

FileEX avatar Oct 05 '24 15:10 FileEX