Plugin texture decoration

For Decorations and areal map layout tools.

Moderator: Plugin Moderators

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

Platform

Plugin texture decoration

#1

Post by Lobby »

A 2x2 sized decoration that shows you your plugin space usage, similar to the pt console command.
2017-07-08 18.45.07.png

Code: Select all

[
  {
    "id":"$anim_deco_show_plugintexture00_bg00",
    "type":"animation",
    "frames":[{"x":52,"y":30,"w":8,"h":8,"target w":64,"target h":128,"offset x":3072}],
    "color":{"r":0,"g":0,"b":0,"a":100}
  },
  {
    "id":"$anim_deco_show_plugintexture00_content00",
    "type":"animation",
    "frames":[{"x":3072,"y":2048,"w":1024,"h":2048,"target w":64, "target h":128}]
  },
  {
    "id":"$deco_show_plugintexture00",
    "type":"decoration",
    "width":2,
    "height":2,
    "frames":[{"x":0,"y":0,"w":0,"h":128, "handle y":128}],
    "draw ground":true,
    "animation":[
      {"id":"$anim_deco_show_plugintexture00_bg00","x":0,"y":-128},
      {"id":"$anim_deco_show_plugintexture00_content00","x":0,"y":-128}
    ]
  }
]
Attachments
deco_plugintexture.json
(759 Bytes) Downloaded 410 times

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

Plugin Creator

Platform

Re: Plugin texture decoration

#2

Post by CommanderABab »

Interesting!

User avatar
malsa
Inhabitant of a Multiverse
Reactions:
Posts: 5085
Joined: 10 Feb 2017, 17:40
Location: Malaysia
Plugins: Showcase Store
Version: Beta

Platform

Re: Plugin texture decoration

#3

Post by malsa »

Sorry for this i know this is off topic but i never seen this thing in my tab and everyone had it where you get that
2017-07-08 18.45.07.png
2017-07-08 18.45.07.png (499.17 KiB) Viewed 10919 times

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

Platform

Re: Plugin texture decoration

#4

Post by Lobby »

Only available in non sandbox mode cities...

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: Plugin texture decoration

#5

Post by Bearbear76 »

It looks like your financial situation is getting better :lol:

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

Platform

Re: Plugin texture decoration

#6

Post by Lobby »

As with version 342 you will get doubled texture space for plugins (unless you're using Chinese or Japanese language) as mentioned here, this plugin won't work correctly anymore. For the bigger texture size you might use this code:

Code: Select all

[
  {
    "id":"$anim_deco_show_plugintexture00_bg00",
    "type":"animation",
    "frames":[{"x":52,"y":30,"w":8,"h":8,"target w":128,"target h":128,"offset x":3072}],
    "color":{"r":0,"g":0,"b":0,"a":100}
  },
  {
    "id":"$anim_deco_show_plugintexture00_content00",
    "type":"animation",
    "frames":[{"x":2048,"y":2048,"w":2048,"h":2048,"target w":128, "target h":128}]
  },
  {
    "id":"$deco_show_plugintexture00",
    "type":"decoration",
    "width":4,
    "height":4,
    "frames":[{"x":0,"y":0,"w":0,"h":128, "handle y":128}],
    "draw ground":true,
    "animation":[
      {"id":"$anim_deco_show_plugintexture00_bg00","x":0,"y":-128},
      {"id":"$anim_deco_show_plugintexture00_content00","x":0,"y":-128}
    ]
  }
]

User avatar
soumya-8974
TheoTown Veteran in Pension
Reactions:
Posts: 834
Joined: 30 Apr 2018, 06:53
Location: India
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Plugin texture decoration

#7

Post by soumya-8974 »

A guy from Shireport wrote:
08 Jul 2017, 21:08
Sorry for this i know this is off topic but i never seen this thing in my tab and everyone had it where you get that
2017-07-08 18.45.07.png
"Klienstadt" means "Town."

User avatar
Pounkiller
Inhabitant of a Megalopolis
Reactions:
Posts: 600
Joined: 15 Jan 2018, 15:53
Location: Turkey
Plugins: Showcase Store

Platform

Re: Plugin texture decoration

#8

Post by Pounkiller »

soumya-8974 wrote:
09 Jun 2018, 15:55
A guy from Shireport wrote:
08 Jul 2017, 21:08
Sorry for this i know this is off topic but i never seen this thing in my tab and everyone had it where you get that
2017-07-08 18.45.07.png
"Klienstadt" means "Town."
Preferably, it means ''Small city'',buut I guess they're the same thing...

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

Platform

Re: Plugin texture decoration

#9

Post by Lobby »

I assume he asked for that UI element in general as it was new at that time.

User avatar
imajoke
Inhabitant of a Conurbation
Reactions:
Posts: 532
Joined: 27 Oct 2019, 02:39
Plugins: Showcase Store
Version: Beta

Re: Plugin texture decoration

#10

Post by imajoke »

Bookeric wrote:
08 Jul 2017, 21:08
Sorry for this i know this is off topic but i never seen this thing in my tab and everyone had it where you get that
2017-07-08 18.45.07.png
update the game and start a nonsandbox city

User avatar
malsa
Inhabitant of a Multiverse
Reactions:
Posts: 5085
Joined: 10 Feb 2017, 17:40
Location: Malaysia
Plugins: Showcase Store
Version: Beta

Platform

Re: Plugin texture decoration

#11

Post by malsa »

imajoke wrote:
26 Mar 2020, 16:11
Bookeric wrote:
08 Jul 2017, 21:08
Sorry for this i know this is off topic but i never seen this thing in my tab and everyone had it where you get that
2017-07-08 18.45.07.png
update the game and start a nonsandbox city
you know i posted that 3 years ago

Post Reply Previous topicNext topic

Return to “Decorations and Tools”