Page 1 of 1

Plugin texture decoration

Posted: 08 Jul 2017, 20:57
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}
    ]
  }
]

Re: Plugin texture decoration

Posted: 08 Jul 2017, 21:02
by CommanderABab
Interesting!

Re: Plugin texture decoration

Posted: 08 Jul 2017, 21:08
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 10924 times

Re: Plugin texture decoration

Posted: 08 Jul 2017, 21:12
by Lobby
Only available in non sandbox mode cities...

Re: Plugin texture decoration

Posted: 09 Jul 2017, 01:00
by Bearbear76
It looks like your financial situation is getting better :lol:

Re: Plugin texture decoration

Posted: 12 Sep 2017, 12:46
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}
    ]
  }
]

Re: Plugin texture decoration

Posted: 09 Jun 2018, 15:55
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."

Re: Plugin texture decoration

Posted: 10 Jun 2018, 09:01
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...

Re: Plugin texture decoration

Posted: 10 Jun 2018, 10:01
by Lobby
I assume he asked for that UI element in general as it was new at that time.

Re: Plugin texture decoration

Posted: 26 Mar 2020, 16:11
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

Re: Plugin texture decoration

Posted: 26 Mar 2020, 16:13
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