Alley and linear decoration

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 255
Joined: 15 May 2017, 00:05
Location: Gdańsk
Plugins: Showcase Store

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 :)

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 255
Joined: 15 May 2017, 00:05
Location: Gdańsk
Plugins: Showcase Store

Platform

Re: Alley and linear decoration

#2

Post by MXD77 »

former member wrote:
04 Dec 2017, 08:49
I'm not quite sure what you mean :?
I mean alley with decos in the middle like military fence (in decoration category)

User avatar
AwkwrdPrtMskrt
Metropolitan
Reactions:
Posts: 138
Joined: 08 Nov 2017, 02: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.

User avatar
MXD77
Inhabitant of a Megacity
Reactions:
Posts: 255
Joined: 15 May 2017, 00:05
Location: Gdańsk
Plugins: Showcase Store

Platform

Re: Alley and linear decoration

#4

Post by MXD77 »

AwkwrdPrtMskrt wrote:
04 Dec 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:

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

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.

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”