Plugin texture decoration

For Decorations and areal map layout tools.

Moderators: KoalaGuy, Showcase Moderators

Post Reply
User avatar
Lobby
Developer
Reactions:
Posts: 2589
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: 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 29 times
...Have a nice stay

User avatar
CommanderABab
Inhabitant of a Universe
Reactions:
Posts: 4765
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!
411 :bp 411Currently using beta 411. 411 What's new? Road support! :)
ImageTelegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
A guy from Shireport
Former Fireout
Reactions:
Posts: 2994
Joined: Fri Feb 10, 2017 17:40
Location: Longshire,Shireport
Plugins: Show

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 829 times
]]]

User avatar
Lobby
Developer
Reactions:
Posts: 2589
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: 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 Supercluster
Reactions:
Posts: 3901
Joined: Fri Feb 10, 2017 14:53
Location: Earth
Plugins: Show
Version: Beta
Phone: Asus zenpad 10

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: 2589
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: 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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest