Add roomy minicopters, but keep the original

Is it possible to use a similar algorithm to spawn a minicopter not globally on the server, but for example spawn as an Extended Recycler. I'm trying to rewrite the plugin for myself, but I stopped at the fact that the minicopter spawns, but I can't sit on the added chairs .. Can you throw in some ideas?) Thanks!)

Do you mean you want place a minicopter using a deployable interaction like placing a workbench? If so, check out the Portable Vehicles plugin which does that.

(Yes, a similar plugin, only I also want to spawn additional chairs on the minicopter with the ability to sit on them...)
I successfully spawn the minicopter - it works, but I can't sit on the additional chairs.

Merged post

In general, the problem is to be able to sit on these chairs. The prefab of this chair, if spawned manually, is not intended to sit on it. If you use the prefab of a regular chair, it visually disappears (becomes invisible after takeoff), but as an entity it remains attached to the copter, and you can still sit on it. At the same time, a warning appears in the console: "Non-convex MeshCollider with non-kinematic Rigidbody is no longer supported since Unity 5.
If you want to use a non-convex mesh either make the Rigidbody kinematic or remove the Rigidbody component. Scene hierarchy path "assets / content / vehicles / minicopter / minicopter.entity.prefab / assets / bundled / prefabs / static / chair.static.prefab", Mesh asset path "" Mesh name "chair_COL"
(Filename: Line: 0) "I tried to spawn both chair prefabs - from the first one uses the visual part, from the second one uses the ability to sit on it - everything works. Not the most successful way of implementation, but with my zero knowledge of the language, the solution is acceptable .. ...

For the first part, I thought this plugin is supposed to already do that? Is that not the case? There is also the Extra Seating plugin which works similarly. As you mentioned, I believe these only spawn the visual part, and they add a mount point. When they player mounts the mini, it puts them in the nearest mount point. This should not be an issue if the chairs are close to the mini since the player will see the mount prompt of the mini itself. Are you saying that you are trying to spawn chairs farther away from the mini?

As for the workaround you tried, that is the only one I know. The same approach is used in Ridable Drones, except that the chair providing the mount prompt there does not have a visual component.

Thanks for the tips and advice! My initial version was not very successful - near the RT, the pilot became invisible, and the passengers on the chairs could not get off them later ... I used the Extra Seating plugin. I slightly changed it and made a spawn check and a hook so that when buying a copter in a store it was equipped with extra seats, and in a bandit it was normal ... Everything works fine. Perhaps the next thing I can do is to combine all this into one plugin and remove the unused one ..)) Thanks again for your help!)