Creating Non-Square Buildings

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1934
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Platform

Plugin Creator

Creating Non-Square Buildings

#1

Post by KINGTUT10101 » Fri Nov 03, 2017 5:01

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.

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

Platform

Plugin Creator

Re: Creating Non-Square Buildings

#2

Post by THEMAX » Fri Nov 03, 2017 20:43

Ok, it will be hard with the imperial palace I made...... 9 3×3 square... probably a lot laggy
Emperor of Atlantean federated empire
Image
Founder state of Internationxal council
Leader of AEOY and steel pact

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

Re: Creating Non-Square Buildings

#3

Post by wcs » Wed Jun 19, 2019 9:04

Is it still now possible in the current build to create a 1x2 structure?
Follow me! @wackyserious on Twitter | Youtube for the latest updates on my projects!

User avatar
Lobby
Developer
Reactions:
Posts: 3373
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Creating Non-Square Buildings

#4

Post by Lobby » Wed Jun 19, 2019 10:28

You can use compositions for that purpose: https://theotown.com/forum/viewtopic.php?f=41&t=9694
...Have a nice stay

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

Re: Creating Non-Square Buildings

#5

Post by wcs » Wed Jun 19, 2019 12:26

Is it possible to apply composition to RCI spawnable building?
Follow me! @wackyserious on Twitter | Youtube for the latest updates on my projects!

User avatar
Lobby
Developer
Reactions:
Posts: 3373
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Creating Non-Square Buildings

#6

Post by Lobby » Wed Jun 19, 2019 22:09

I didn't test it, but it should just work. If not, please let me know :)
...Have a nice stay

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

Platform

Plugin Creator

Re: Creating Non-Square Buildings

#7

Post by CommanderABab » Wed Jun 19, 2019 22:54

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.
770!770Currently using alpha 770. 770 What's new? :)
Need plugins dialog!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest