Page 1 of 2

Building size

Posted: 31 Jul 2017, 13:48
by Brody Craft
Is it possible to make a building which is more than 6×6

For example: 7×7, 8×8 or even 100×100 :evil:

If its possible tell meeeeee

Re: Building size

Posted: 31 Jul 2017, 13:51
by Brody Craft
32×32 plugin can be done with a lot of collabs

Re: Building size

Posted: 31 Jul 2017, 13:54
by MXD77
Or it's mostly empty

Re: Building size

Posted: 31 Jul 2017, 13:55
by Brody Craft
Maybe i will try making a 16×16 building

Re: Building size

Posted: 31 Jul 2017, 13:57
by MXD77
Last time I'm thinking on 32x32 plugin which will be concert area
But I will make it as small part

Re: Building size

Posted: 31 Jul 2017, 13:59
by Brody Craft
Making 32×32 pligins are Trademarked by me, anyone who make it needs to delete it :evil:

Re: Building size

Posted: 31 Jul 2017, 14:26
by iborrobi
32x32 sized plugin? <..>

Re: Building size

Posted: 31 Jul 2017, 14:35
by Brody Craft
@lobby[Posts][PM] can you give me a 32×32 template?

Re: Building size

Posted: 31 Jul 2017, 14:40
by Brody Craft
Anyone give me a 32×32 template?

Re: Building size

Posted: 31 Jul 2017, 14:50
by Lobby
8x8 is the maximum officially supported building size... I won't solve issues resulting from bigger sizes

You can construct a template yourself by putting smaller templates together.

Re: Building size

Posted: 31 Jul 2017, 14:57
by Brody Craft
So i can make a larger size with just copying templates and paste it near each other?

Well ok, sayonara to my plugin texture usage :lol:

Re: Building size

Posted: 31 Jul 2017, 15:39
by Lobby
Yes :)

Re: Building size

Posted: 02 Aug 2017, 08:09
by CommanderABab
Here is a 16x16 blue pattern for reference:
16x16blue.png
16x16blue.png (2.98 KiB) Viewed 9275 times

Re: Building size

Posted: 02 Aug 2017, 08:28
by CommanderABab
Here is a 32x32 blue pattern for reference:
32x32blue.png
32x32blue.png (6.59 KiB) Viewed 9274 times

Re: Building size

Posted: 02 Aug 2017, 23:31
by CommanderABab
Actually, the biggest plugin size accepted is 31x31.

Seehttp://www.theotown.com/forum/viewtopic ... 430#p45430

With this code:

Code: Select all

{
    "id":"$debigblueterrain00",
	"type":"decoration",
	"title":"Terrain gray",
	"text":"big",
	"width":32,
	"height":32,
	"frames":[{"bmp":"32x32blue.png","w":1024,"h":512,"count":1}
     ]
  }
I got plugin error:

Code: Select all

In /storage/emulated/0/TheoTown/plugins/Extras/areacolortools.json:

org.json.JSONException: Max building height is 32 but got 33 for building draft $debigblueterrain00
So, I changed it to this and it works:

Code: Select all

{
    "id":"$debigblueterrain00",
	"type":"decoration",
	"title":"Terrain gray",
	"text":"big",
	"width":31,
	"height":31,
	"frames":[{"bmp":"32x32blue.png","w":1024,"h":512,"count":1}
     ]
  }

Re: Building size

Posted: 02 Aug 2017, 23:45
by MXD77
<..>

Wow nice to know that :bc
Thanks

Re: Building size

Posted: 02 Aug 2017, 23:59
by CommanderABab
There is overdraw of one tile on the right where a building can be placed but not seen, so the image also needs to be trimmed down to 31x31 tiles.

Re: Building size

Posted: 03 Aug 2017, 01:20
by Lobby
However, if you provide the frame as animation you can use size 32x32 and bigger because only the given frames are considered for building height. Maybe it also works to set build height manually to something smaller than 33 (build height and height aren't the same thing).

Re: Building size

Posted: 03 Aug 2017, 01:41
by CommanderABab
Thanks Lobby! Setting build height to 32 worked.

Code: Select all

{
    "id":"$debigblueterrain00",
	"type":"decoration",
	"title":"Terrain gray",
	"text":"big",
	"width":32,
	"height":32,
	"build height":32,
	"frames":[{"bmp":"32x32blue.png","w":1024,"h":512,"count":1}
     ]
  }

Re: Building size

Posted: 03 Aug 2017, 07:39
by actemendes
Wow With such success we can make a really big project with upgrades.