[RELEASED] uConstruct - Fully generic, socket based runtime construction system

uConstruct is a runtime building system, It is fully generic and socket based, it can create any kind of buildings with just simple few steps and with no limitations.
uConstruct is a very powerful and generic building system available for unity. It doesnt have to only be used a building system but it can also be used in a level editor for example.

Why uConstruct ?

FULL Source Code : The system comes with FULL source code.

Clean And Full API : The system comes with extremely clean code, Fully commented and a huge API, Giving you the ability to do anything in the system. The system also comes with many tutorials and a fully written documentation about the system.

Sockets and Conditions : Sockets and Conditions are an innovative way to create buildings, Sockets will act as snap points for your buildings while you can visually scale and rotate them to your need, They can be snap sockets or free place sockets. (Explained in the docs).
Conditions are a generic way of you to set up any condition you want that will give you the ability to make the building placeable only when all conditions are met. ( There are 4 extremely useful built in conditions as of now, Its extremely easy to code new ones )

Snap points : Snap points are points on your building which will take a placed building and modify its anchor so it can fit to the building on that specific point, taking into account rotation, size and current position. This will allow you to use ANY kind of a shape with the system.

Multi-Threading : The system uses a different thread in some cases in order to improve performance, the thread methods are also exposed so you can add your own calls to it!, supporting up to 4 generic types in 1 method!.

Batching: The system will reduce thousands of draw calls into 1-2 draw calls and increase your performance substantially.

Area Of Interest : The system has a very generic built in Multithreaded Area Of Interest system that will make the buildings have their unity physics, sockets and conditions enabled only when you are close to the buildings without effecting the main thread and will keep you away from the colliders limit and increase your performance without any main thread impacts.

Blueprints : Blueprints are set of data that can be created and allows you to have any mesh/prefab to adjust to that data and transform to a fully set up building with sockets, conditions and everything else!, supports a feature that supports wrongly placed pivots.

uConstruct Extensions : Get compactible assets working in your project with uConstruct in 1 click!. You can also design your own extensions for your own assets so people can use both your asset and uConstruct simultaneously!

Templates : The system will give you the ability to save some of your sockets and conditions into a data file and allows you to have them on any of the buildings. The templates persist through buildings so any change you make to the template will be copied to the other buildings. This will help when you want building to have the same sockets and conditions and you want the changes to save to each one of them instead of applying the changes to each one of the buildings individually.

Prefab Database : The system has a built in prefab database that gives each building an uniqueID and allowing you to get their prefab at runtime. Very useful for networking, pooling system etc.

Custom Physics System : The system has a built in physics system that offers a much faster way to handle sockets physics and is mostly recommended. Even though the system doesnt support complex shapes and only a box shape the system doesnt prevent you from using normal unity physics. For example the terrain that serves as a socket for the foundation(in the rust demo for instance) has a terrain collider.

Saving System : The system has an extremely generic built-in saving system that saves your buildings and loads them when the game starts. It is fully extendable to use with your own needs if needed.

Building Types Code Generator : Normally in any building system if you would like to add a new building type you will need to dig into the code and change some references. uConstruct has an easy way of adding/removing building types through the editor. It even allows spaces.

Smart Behaviour : The system is extremely smart, the system would disable any used sockets automatically, overlapping sockets and so on. It will save you a huge amount of performance and memory without you needing to do anything. It also saves all of the buildings in groups. Giving you full control over all the buildings in the game.

Currently Integrated With :
GAIA
Inventory Pro
Photon Bolt
Trees Manager System
Forge Networking
UniStorm
ICE Creature Control
Village Exteriors Kit
Village Interiors Kit


Tutorials
Asset Store

Thanks for reading,
Elroy.



7 Likes

Hmm. You have my attention. I’d like to see what you have!

1 Like

Read the documentation this looks great

1 Like

Thanks for your interest :),
Any pictures you would like me to upload ?
currently the system is done with all the features above, as written i will start a testing phase soon :).

got a video on what you have at this point to show the system working?

1 Like

Definitely interested! Sounds perfect for us. :slight_smile:

1 Like

Going to work on a workflow video today or tommorow, I will upload a picture of the rust demo today. took me about 20 min to make with the system it has Stairs, foundations, ceilings,walls,pillars and all the good stuff. it also has a collapse condition ( as i said, all conditions are generic, so i coded a basic one for collapse. any one can code their own so you arent limited :slight_smile: ).

:).

3 Likes

Sounds interesting. Would like to see pics or video of how this works :slight_smile:

You’ve got my attention for now :smile:

Will try to get a video or pics soon :).

1 Like

Agree on the pics/videos… Would be great to see more of what it does. I’ve used other systems like this that either just don’t work or have been abandoned. Great to see you putting one together! Will be a great addition to the asset store!

I got some sneak peaks that i made a few mins ago, its showing off a building i built with the rust clone demo and it is a replica of the “famous” 3 foundation tower in rust :).
https://gyazo.com/22e933a9e6d8cc297c4d24a5e2783860
https://i.gyazo.com/8fb9bab3d840e2cd63a6ea59d5756476.mp4

i am not going to show any of the work flow as of now as its something i prefer not to expose for now.
i am going to organize the testing group today and send out testing package tommorow, if there is someone that wants to join in the last minute send me a private message.

Elroy.

1 Like

A new feature that was added in this testing week ( obviously more happend but keeping the core secret for now :wink: ):

Now Construere has its own raycast-physics system! yes you have heard right!. no more colliders for certain core systems in Construere and now reaching the physics limit is almost impossible !!.

The Construere physics system opened many doors and we can now make anything much better than any one else did with a building system!

Will keep you guys tuned with some more core features that will be added in the development time.

1 Like

Another cool built-in feature :

Detail Removing & Restoring upon destruction :

2 Likes

Another cool example use of the condition system :

1 Like

Another great feature, easy extendable and extremely generic saving system!

this system is really easy to extend on, and it efficently saves a building group instead of all buildings in the scene.
its an extremely powerful feature :).

also another feature, is the prefabDatabase, all buildings have prefabID that allows them to use the system to get the prefab of that building, very helpful with multiplayer integrations and polling systems. ( no compiling needed! ).

1 Like

Rewrite of the detail cleaner, super efficent. and also supports revert status when exiting the game on the editor.
https://i.gyazo.com/4a5e74496e99c2a7eeb5edd215870bd0.gif

works perfectly and easily extendable.
Added other many cool stuff that were required in order to acheive a built-in saving and detail cleaner so keep your eyes peeled :slight_smile:

1 Like

Another new building to the demo scene : https://i.gyazo.com/f347eb3fa5b1a006292b39f9b85872f8.mp4

as you can see free place sockets arent limited to “flat areas”, a very cool feature.
i will post some more updates on the asset as its getting further in development,
also getting some new models soon so the release demo will look a lot better.

1 Like

Please note: system was renamed from “UltimateBuildingSystem” to “Construere” which fits alot better.

The videos are to fast. and don’t show much in my opinion, would be nice to show more and slow down a bit.

Yeah sorry they are gifs, when i record them i only have 6 seconds lol
i will try to get better examples :),
but i dont want to expose my workflow so much for now so i wont show the workflow.

Edit:
Also please note that currently they are just supposed to show unique features such as saving all buildings, cleaning details on placement / free place area sockets.

1 Like