## Creating Non-Square Buildings (Outdated)

Learn here how to create and use plugins.

Moderator: Plugin Moderators

KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2047
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Contact:

### Creating Non-Square Buildings (Outdated)

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.
A 2x4 building.
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.
Last edited by KINGTUT10101 on Thu Jun 25, 2020 2:20, edited 1 time in total.

THEMAX
Inhabitant of a Universe
Reactions:
Posts: 4239
Joined: Thu Sep 14, 2017 17:30
Location: Astrellia, UHAE
Plugins: Show
Version: Beta

### Re: Creating Non-Square Buildings

Ok, it will be hard with the imperial palace I made...... 9 3×3 square... probably a lot laggy
Emperor of Atlantean federated empire

Founder state of Internationxal council
Leader of AEOY and steel pact

wcs
Small-town resident
Reactions:
Posts: 39
Joined: Sun Jun 16, 2019 8:21
Plugins: Show
Contact:

### Re: Creating Non-Square Buildings

Is it still now possible in the current build to create a 1x2 structure?

Lobby
Developer
Reactions:
Posts: 3538
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

### Re: Creating Non-Square Buildings

You can use compositions for that purpose: https://theotown.com/forum/viewtopic.php?f=41&t=9694
=^._.^= ∫

wcs
Small-town resident
Reactions:
Posts: 39
Joined: Sun Jun 16, 2019 8:21
Plugins: Show
Contact:

### Re: Creating Non-Square Buildings

Is it possible to apply composition to RCI spawnable building?

Lobby
Developer
Reactions:
Posts: 3538
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

### Re: Creating Non-Square Buildings

I didn't test it, but it should just work. If not, please let me know
=^._.^= ∫

CommanderABab
AB
Reactions:
Posts: 8651
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

### Re: Creating Non-Square Buildings

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.