multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.42k stars 437 forks source link

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

Open lopezloo opened 2 years ago

lopezloo commented 2 years ago

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

Buddy99-40 commented 2 years ago

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.