MMORPG Project. Player owned house system? C#

I am building an MMORPG game in which their is a scene where players can gather resources or battle monsters or even pvp. There is a second scene where the player should be able to take the resources he collected and use them to make a player owned house. The problem is I do not know how to make a modular house system. I do not want to download one from the asset store due to issues with compatibility with my already existing inventory system in my game, and the inventory system that comes with the modular house system. So now I am stuck trying to create my own house building system.

In theory, the house system should work on an entirely different scene than the regular world. Players should be able to invite other player’s to their house. The house system should have a way to keep the building persistent so that they can save their construction progress.

I already know how to instantiate prefabs, but not in a way like the modular house system where parts can be attached in certain patterns. Can someone show me how to do this?

How can I make the house’s construction have a save feature?

The multiplayer system is based off the one here:

How can I use this to invite allow a house owner to invite another player to their home? In other words, how will I create the invite system?

Thanks in advanced.

Guessing from the post, youre a newbie. Is it a new thing that people want to start with mmo-s? I know, I wanted to make one too when I was like 12 or so, but it really disappoint you if you fail.

As for the question itself
You should have a connection-connector system, where you predefine connections and connectors and when youre building, you just need to connect each connector to a connection. Kinda like lego in a way. The saving system should be pretty easy though, you have each piece marked with an id (order of placement for example) then in the file, after each id a position. I would suggest making the pieces buyable and then in the house view you dont need to care about inventory management.

The connector connection system:
Lets just say, that we have a wall and a roof piece, both flat. Thr roof piece has 4 connectors, 1 on each side and the wall has 3 connections, one on the top for the roof and two on the sides fir other walls. Then in game you just pair them up and your square house is done

1 Like