Building size

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8034
Joined: 24 Jan 2017, 11:15
Location: SE Asia
Plugins: Showcase Store
Version: Beta

Platform

Building size

#1

Post 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

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8034
Joined: 24 Jan 2017, 11:15
Location: SE Asia
Plugins: Showcase Store
Version: Beta

Platform

Re: Building size

#2

Post by Brody Craft »

32×32 plugin can be done with a lot of collabs

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 255
Joined: 15 May 2017, 00:05
Location: Gdańsk
Plugins: Showcase Store

Platform

Re: Building size

#3

Post by MXD77 »

Or it's mostly empty

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8034
Joined: 24 Jan 2017, 11:15
Location: SE Asia
Plugins: Showcase Store
Version: Beta

Platform

Re: Building size

#4

Post by Brody Craft »

Maybe i will try making a 16×16 building

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 255
Joined: 15 May 2017, 00:05
Location: Gdańsk
Plugins: Showcase Store

Platform

Re: Building size

#5

Post by MXD77 »

Last time I'm thinking on 32x32 plugin which will be concert area
But I will make it as small part
Last edited by MXD77 on 31 Jul 2017, 13:59, edited 1 time in total.

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8034
Joined: 24 Jan 2017, 11:15
Location: SE Asia
Plugins: Showcase Store
Version: Beta

Platform

Re: Building size

#6

Post by Brody Craft »

Making 32×32 pligins are Trademarked by me, anyone who make it needs to delete it :evil:

User avatar
iborrobi
Metropolitan
Reactions:
Posts: 141
Joined: 04 Jul 2017, 14:57
Location: Bandung
Plugins: Showcase Store

Platform

Re: Building size

#7

Post by iborrobi »

32x32 sized plugin? <..>
Last edited by CommanderABab on 02 Aug 2017, 23:32, edited 1 time in total.
Reason: Removing offensive word combination.

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8034
Joined: 24 Jan 2017, 11:15
Location: SE Asia
Plugins: Showcase Store
Version: Beta

Platform

Re: Building size

#8

Post by Brody Craft »

@lobby[Posts][PM] can you give me a 32×32 template?

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8034
Joined: 24 Jan 2017, 11:15
Location: SE Asia
Plugins: Showcase Store
Version: Beta

Platform

Re: Building size

#9

Post by Brody Craft »

Anyone give me a 32×32 template?

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Building size

#10

Post 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.

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8034
Joined: 24 Jan 2017, 11:15
Location: SE Asia
Plugins: Showcase Store
Version: Beta

Platform

Re: Building size

#11

Post 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:

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Building size

#12

Post by Lobby »

Yes :)

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Building size

#13

Post by CommanderABab »

Here is a 16x16 blue pattern for reference:
16x16blue.png
16x16blue.png (2.98 KiB) Viewed 5129 times

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Building size

#14

Post by CommanderABab »

Here is a 32x32 blue pattern for reference:
32x32blue.png
32x32blue.png (6.59 KiB) Viewed 5128 times

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Building size

#15

Post 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}
     ]
  }

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 255
Joined: 15 May 2017, 00:05
Location: Gdańsk
Plugins: Showcase Store

Platform

Re: Building size

#16

Post by MXD77 »

<..>

Wow nice to know that :bc
Thanks

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Building size

#17

Post 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.

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Building size

#18

Post 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).

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Building size

#19

Post 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}
     ]
  }

User avatar
actemendes
Metropolitan
Reactions:
Posts: 131
Joined: 20 Jan 2017, 16:53
Location: Russia
Plugins: Showcase Store

Platform

Re: Building size

#20

Post by actemendes »

Wow With such success we can make a really big project with upgrades.

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”