Plugin texture decoration

For Decorations and areal map layout tools.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3129
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Plugin texture decoration

Post by Lobby » Sat Jul 08, 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 80 times
...Have a nice stay

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6410
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Plugin texture decoration

Post by CommanderABab » Sat Jul 08, 2017 21:02

Interesting!
524524Currently using alpha? 524. 524 What's new? :)
Lua!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
A guy from Shireport
Inhabitant of a Universe
Reactions:
Posts: 4233
Joined: Fri Feb 10, 2017 17:40
Location: I won't give ya
Plugins: Show
Version: Beta

Re: Plugin texture decoration

Post by A guy from Shireport » Sat Jul 08, 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 2930 times
"Racers don't need girlfriend, am i right Iketani!" - Itsuki
...Goodbye Stefan, You always be number one 1975-2018

User avatar
Lobby
Developer
Reactions:
Posts: 3129
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: Plugin texture decoration

Post by Lobby » Sat Jul 08, 2017 21:12

Only available in non sandbox mode cities...
...Have a nice stay

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4495
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone model: ASUS ZenPad 10 z300c

Re: Plugin texture decoration

Post by Bearbear65 » Sun Jul 09, 2017 1:00

It looks like your financial situation is getting better :lol:
ImageJust my opinion
Caladrius is officially my favourite bird

User avatar
Lobby
Developer
Reactions:
Posts: 3129
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: Plugin texture decoration

Post by Lobby » Tue Sep 12, 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}
    ]
  }
]
...Have a nice stay

User avatar
soumya-8974
Inhabitant of a Megacity
Reactions:
Posts: 324
Joined: Mon Apr 30, 2018 6:53
Plugins: Show
Version: Beta
Phone model: +91 9475852635

Re: Plugin texture decoration

Post by soumya-8974 » Sat Jun 09, 2018 15:55

A guy from Shireport wrote:
Sat Jul 08, 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."
I am a stupid guy without former members! :cry:
I hate @DrillPeel[Posts][PM]!! :x
They say a little knowledge is a dangerous thing, but it's
not one half so bad as a lot of ignorance.
Terry Pratchett – Equal Rites

User avatar
Pounkiller
Inhabitant of a Conurbation
Reactions:
Posts: 497
Joined: Mon Jan 15, 2018 15:53
Location: Turkey
Plugins: Show
Phone model: Huawei Mate 10 Lite

Re: Plugin texture decoration

Post by Pounkiller » Sun Jun 10, 2018 9:01

soumya-8974 wrote:
Sat Jun 09, 2018 15:55
A guy from Shireport wrote:
Sat Jul 08, 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...
Hello people,I'm Turkish and I like foreign languages especially English and I love video games too.
I love City Builders,that's why I am playing this game.
''Si vis pacem,para bellum''.

User avatar
Lobby
Developer
Reactions:
Posts: 3129
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: Plugin texture decoration

Post by Lobby » Sun Jun 10, 2018 10:01

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

Post Reply Previous topicNext topic

Return to “Decorations and Tools”

Who is online

Users browsing this forum: No registered users and 1 guest