Plugin texture decoration

For Decorations and areal map layout tools.

Moderators: KoalaGuy, Showcase Moderators

Post Reply
User avatar
Lobby
Developer
Reactions:
Posts: 2316
Joined: Sun Oct 26, 2008 12:34

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 26 times
...Have a nice stay

User avatar
CommanderABab
Inhabitant of a Universe
Reactions:
Posts: 4191
Joined: Tue Jun 07, 2016 21:12

Re: Plugin texture decoration

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

Interesting!
378378Currently using beta 378. 378 What's new? Bus stop bug fixed! :)
ImageTelegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
Fireout
Former FaizalGo112
Reactions:
Posts: 2742
Joined: Fri Feb 10, 2017 17:40
Location: Longshire,Shireport
Contact:

Re: Plugin texture decoration

Post by Fireout » 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 540 times
]]]

User avatar
Lobby
Developer
Reactions:
Posts: 2316
Joined: Sun Oct 26, 2008 12:34

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 Supercluster
Reactions:
Posts: 3694
Joined: Fri Feb 10, 2017 14:53
Location: Japan

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

User avatar
Lobby
Developer
Reactions:
Posts: 2316
Joined: Sun Oct 26, 2008 12:34

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests