Plugin texture decoration

For Decorations and areal map layout tools.

Moderators: Scenario Moderators, Plugin Moderators

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

Platform

Plugin texture decoration

#1

Post by Lobby » 08 Jul 2017, 20:57

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 639 times
User avatar
CommanderABab
AB
Posts: 11264
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Plugin texture decoration

#2

Post by CommanderABab » 08 Jul 2017, 21:02

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

Platform

Re: Plugin texture decoration

#3

Post by malsa » 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
2017-07-08 18.45.07.png (499.17 KiB) Viewed 14883 times
User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Plugin texture decoration

#4

Post by Lobby » 08 Jul 2017, 21:12

Only available in non sandbox mode cities...
User avatar
Bearbear76
Former Bearbear65
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 » 09 Jul 2017, 01:00

It looks like your financial situation is getting better :lol:
User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Plugin texture decoration

#6

Post by Lobby » 12 Sep 2017, 12:46

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
Sbb1413
TheoTown Veteran in Pension
Posts: 837
Joined: 30 Apr 2018, 06:53
Location: India
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Plugin texture decoration

#7

Post by Sbb1413 » 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."
User avatar
Pounkiller
Inhabitant of a Megalopolis
Posts: 600
Joined: 15 Jan 2018, 15:53
Location: Turkey
Plugins: Showcase Store

Platform

Re: Plugin texture decoration

#8

Post by Pounkiller » 10 Jun 2018, 09:01

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
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Plugin texture decoration

#9

Post by Lobby » 10 Jun 2018, 10:01

I assume he asked for that UI element in general as it was new at that time.
User avatar
imajoke
Inhabitant of a Conurbation
Posts: 532
Joined: 27 Oct 2019, 02:39
Plugins: Showcase Store
Version: Beta

Platform

Re: Plugin texture decoration

#10

Post by imajoke » 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
User avatar
malsa
Inhabitant of a Multiverse
Posts: 5085
Joined: 10 Feb 2017, 17:40
Location: Malaysia
Plugins: Showcase Store
Version: Beta

Platform

Re: Plugin texture decoration

#11

Post by malsa » 26 Mar 2020, 16:13

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”