Alley and linear decoration

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 256
Joined: Mon May 15, 2017 0:05
Location: Gdańsk
Plugins: Show

Platform

Alley and linear decoration

#1

Post by MXD77 »

Is there any way to add linear decoration to alley :bq
(3 units of width, if it helps)
Thank you in advance for your response :)
Happy owner of cat and dog :D
Have a niceday :)
And greatings from Gdańsk ;)

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 256
Joined: Mon May 15, 2017 0:05
Location: Gdańsk
Plugins: Show

Platform

Re: Alley and linear decoration

#2

Post by MXD77 »

former member wrote:
Mon Dec 04, 2017 8:49
I'm not quite sure what you mean :?
I mean alley with decos in the middle like military fence (in decoration category)
Happy owner of cat and dog :D
Have a niceday :)
And greatings from Gdańsk ;)

AwkwrdPrtMskrt
Metropolitan
Reactions:
Posts: 138
Joined: Wed Nov 08, 2017 2:31

Platform

Re: Alley and linear decoration

#3

Post by AwkwrdPrtMskrt »

Best I can think of is just replace the trees by building over them.
:mine Currently working on New Winchester

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 256
Joined: Mon May 15, 2017 0:05
Location: Gdańsk
Plugins: Show

Platform

Re: Alley and linear decoration

#4

Post by MXD77 »

AwkwrdPrtMskrt wrote:
Mon Dec 04, 2017 13:11
Best I can think of is just replace the trees by building over them.
Yeah, but I want to do it more quickly :lol:
Happy owner of cat and dog :D
Have a niceday :)
And greatings from Gdańsk ;)

User avatar
CommanderABab
AB
Reactions:
Posts: 8832
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Alley and linear decoration

#5

Post by CommanderABab »

Code: Select all

[
 {
   "id":"$abroadpalmdeco01","type":"decoration","title":"deco for road",
   "text":"5","author":"CommanderABab",
   "width":1, "height":1,
   "draw ground":true,
   "frames":[
      {"bmp":"2palm.png","w":32,"count":2}     
   ]
 },
  {  
     "active": true,
     "id":"$aballey03palm", 
     "type":"road", 
     "author": "Commander ABab",
     "level":3,
     "width":3,
     "height":1,          
     "decoration buildings":[ 
        "$abroadpalmdeco01" 
      ],
     "frames":[
       {"bmp":"greyroad road.png","w":32,"count":16},
       {"bmp":"greyroad road.png","w":32,"count":16},
       {"bmp":"greyroad road.png","w":32,"count":16},
       {"bmp":"greyroad road.png","w":32,"count":16}
     ],
     "bridge frames":[
       {"bmp":"greyroad bridge.png","w":32,"count":12},
         {"bmp":"greyroad bridge.png","w":32,"count":12},
           {"bmp":"greyroad bridge.png","w":32,"count":12}
     ],
     "one way frames":[
       {"bmp":"a3.png"},
       {"bmp":"a1.png"},
       {"bmp":"a2.png"},
       {"bmp":"a4.png"}
     ],
     "show arrows":true,
     "traffic lights":[
       {"bmp":"Gtl3.png"},
       {"bmp":"Gtl4.png"},
       {"bmp":"Gtl1.png"},
       {"bmp":"Gtl2.png"}
     ],
     "overrunnable":         true,
     "one way":              true,
     "bridge height": 12,
     "green phase":5000,
     "yellow phase":1500,    
     "speed":                50.2,
     "price":                50, 
     "monthly price":        4,
     "auto join":      false,
     "allow bus stop": false,
     "allow crossing": true,
     "allow transfer": true,
     "title":"Grey two span divided highway", 
     "text":"For faster travel.\n\nBecause, why not?  :)"
  }
]  
Here is the code for one of my alleys.

Apparently, it doesn't need the {} brackets inside the [] brackets here

Code: Select all

     "decoration buildings":[ 
        "$abroadpalmdeco01" 
      ],
as it is the id of a 1x1 building or road only.

You can put any 1x1 id there, such as a 1x1 road $road00, etc.

If the id has multiple frames, they are cycled through when the road is built.

You are welcome to use this with your own graphics and, please, use your own ID for the road.
Image

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”