The building system was ready for art this week. So we started giving it some attention.
Documentation
I made some
documentation on the building prefab system to let the artists know what's going on. It's important to me that artists can not only make their art but they can also go into the game and implement it. This way you don't end up with a chain of 3 people working on different things having to continually get in sync to push a bit of the project through. The programmer can put a placeholder in, the artist can make a model and iterate on it in game.. without having anyone else involved. You don't end up with the situation where the artist is guessing things like proportions or colours, getting it wrong then the programmer sending it back to be re-done.
Skin
Bill really kicked ass on skinning the existing components. It's looking a bit like
"The Forest" right now, so apologies to them if they think we're copying them.. we really didn't set out to, it's just where we landed.
Conditional Skins
We came up with a conditional skins for the building system. One of the original thoughts was that we'd get you placing corners manually.. and if you make a mess it's your own fault. But thinking further down the line the amount of these edge case components we'd need would have been massive.
Instead we came up with a system that looks at the placed building components, and if two edges are intersecting at 90 degrees it decides that it must be a corner - so places a model. A good example of this is the foundations. If you place one foundation it looks like this.
The stones around the four sides are all conditional models. They only show if there's not a connecting model.
These simple rules are pretty easy for an artist to set up themselves, but it's completely modular so we can add our own custom checks. This makes me really excited for the future of the build system. It's a new toy for us to explore the possibilities of.
Test Level
Because it was getting a pain in the ass to keep starting a game and building something to test changes I made a test level for checking buildings. This works because in the editor you can host your own game and then save it.. and then rejoin. The test level is set up to load a saved game I made. When the other guys play it they see my body asleep.
This is also good for testing performance without having to join a server then trying to find a fully built building. It will be expanded over time to make sure we can support big towns of buildings.