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

Implement `createobjects` and `createplants` property in `engineSetSurfaceProperties`

Open lopezloo opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

engineSetSurfaceProperties function lack createobjects and createplants property.

Describe the solution you'd like

These properties were deliberately disabled because were producing crashes. Maybe it could be fixed.

Describe alternatives you've considered

No response

Additional context

https://github.com/multitheftauto/mtasa-blue/blob/cd1d2088a92b685b3b6294acb388fc1154ddbee4/Client/mods/deathmatch/logic/lua/CLuaFunctionParseHelpers.cpp#L611-L615 https://github.com/multitheftauto/mtasa-blue/blob/ebf54d4fcfe9b0b5600c2b632595029ea97f2b3f/Client/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp#L1271-L1288 #702

Security Policy

  • [X] I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

lopezloo avatar Jul 24 '22 11:07 lopezloo

In here I would like to comment, alongside this making it possible for collision materials to spawn their proper procedural plants within the implementation of custom models. By default they do not, the same as mapped files. However this could be that. I'm just not tech savvy lol.

Buddy99-40 avatar Aug 06 '22 17:08 Buddy99-40