Im making a game in unity 5 where you get to build armies from blocks, similar to minecraft, space engineers or starmade, but i need a GUI that will allow this when you select a unit production building, btw, i’m using Voxel’s Cubiquity for this.
P.S. if this is the wrong forum to post this, let me know and i’ll relocate it to the proper forum
I’ve been looking into this myself, for a proper RTS, you’re going to need to learn about instantiate, using arrays to make the grids themselves, both for building and for unit movement as well as raycasting, that’s for just the basic game mechanics as well, you’ll also need to look into how to make a decent RTS camera.
So in short, RTS’ are pretty damn complicated, if this is your first project don’t do it, platformers are simpler trust me
If you’re using Cubiquity, great. It’s awesome tech, stick with it.
If you’ve got your heart set on building an in game editor, here’s some initial Steps:
Find a block via a raycast to the mouse position.
Tell Cubiquity to remove it.
Figure out how to add a block on one face of a cube. How about the other face?
Save, reload.
From there, iterate. Rome wasn’t built in a day and RTS games are about as hard as building a content rich RPG. You need to think about AI, pathfinding, mesh deformation and LOD. Cubiquity will do storage and volume deforms for you, but you need to think hard about what you’re doing. Break it down into small steps, code from there.
When you do crack it though, it’s insanely rewarding.