Page 1 of 1

Creating Non-Square Buildings (Outdated)

Posted: 03 Nov 2017, 05:01
by KINGTUT10101
Before I start, I need to say that this tutorial won't be very in depth. I won't be explaining how to make the json for this. This will just explain the concept and how you can use it.

For a long time now, players have wanted to have building that aren't squares. This tutorial will tell you how you can make your own non-square buildings using fun. However, there are definitely simpler ways of doing this, but with this method you won't have to place the building parts manually. Next I'll provide an example and I'll walk you through the process of making your own custom-shaped buildings.

As an easy example, I'll use a 2x4 building. First you should split the building into squares. In this situation we need two 2x2 building parts. When combined, these parts should form the building you want. I would recommend making these rotation aware otherwise they will look terrible when they are rotated.
Screenshot_20171102-214428.png
A 2x4 building.
Screenshot_20171102-215354.png
Split it into two parts like this.

Next you'll need to create the json. I would recommend using one building part as a "base". The base will be the building that places the other parts to form the full building. Once you choose one, use fun to make it place the other parts automatically. After that, you're done. Although you could always place these parts manually, I think it's cool and convenient to have a non-square building build itself in front of your eyes. It also removes the need for players to memorize what piece goes where. Unfortunately, this plug-in may get laggy if the building is too complex or if there is a large quantity of them, but I'm sure there are ways around that.

Re: Creating Non-Square Buildings

Posted: 03 Nov 2017, 20:43
by THEMAX
Ok, it will be hard with the imperial palace I made...... 9 3×3 square... probably a lot laggy

Re: Creating Non-Square Buildings

Posted: 19 Jun 2019, 09:04
by wcs
Is it still now possible in the current build to create a 1x2 structure?

Re: Creating Non-Square Buildings

Posted: 19 Jun 2019, 10:28
by Lobby
You can use compositions for that purpose: https://theotown.com/forum/viewtopic.php?f=41&t=9694

Re: Creating Non-Square Buildings

Posted: 19 Jun 2019, 12:26
by wcs
Is it possible to apply composition to RCI spawnable building?

Re: Creating Non-Square Buildings

Posted: 19 Jun 2019, 22:09
by Lobby
I didn't test it, but it should just work. If not, please let me know :)

Re: Creating Non-Square Buildings

Posted: 19 Jun 2019, 22:54
by CommanderABab
Screenshot_20190619-160206.png
Screenshot_20190619-160731.png
Screenshot_20190619-160903.png
Here is one I made using the composition tool. It is industrial buildings and decorations. In order to place it anywhere, all conditions must be met, which isn't easy for such a large one. It is 7x10. First, since this was over farmland, I had to remove the zone of the farmland, then zone the area dense industrial.

The composition itself is found in the park category.