Fire and police composition

Fire departments, Police and SWAT buildings, Your Military creations, Hospitals

Moderator: Plugin Moderators

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

Plugin Creator

Platform

Fire and police composition

#1

Post by CommanderABab »

Code: Select all

[{
  "id":"$ab.firepolicecompo",
  "text":"build a fire and police station with surrounding roads",
  "title":"Fire and Police setdown",
  "type":"park",
  "width":6,"height":4,
  "composition":[
    {"y0":0,"y1":0,"x0":0,"id":"$road01","x1":5},
    {"y0":0,"y1":3,"x0":0,"id":"$road01","x1":0},
    {"frame":0,"y":1,"id":"$firedepartment00","x":1},
    {"frame":0,"y":1,"id":"$police00","x":3},
    {"y0":1,"y1":3,"x0":5,"id":"$road01","x1":5},
    {"y0":3,"y1":3,"x0":1,"id":"$road01","x1":5}
  ]
}]
Picture forthcoming.
Menu
Menu
Screenshot_20190429-160017.jpg (28.46 KiB) Viewed 7743 times
Where I got it from
Where I got it from
Hmmm..
Hmmm..
Build dialog
Build dialog
The rotated hmmmm..
The rotated hmmmm..

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

Plugin Creator

Platform

Re: Fire and police composition

#2

Post by CommanderABab »

Code: Select all

[{
  "id":"$ab.firepolicecompo",
  "text":"build a fire and police station with surrounding roads",
  "title":"Fire and Police setdown",
  "type":"park",
  "width":6,"height":4,
  "composition":[
    {"y0":0,"y1":0,"x0":0,"id":"$road01","x1":5},
    {"y0":0,"y1":3,"x0":0,"id":"$road01","x1":0},
    {"frame":0,"y":1,"id":"$firedepartment00","x":1},
    {"frame":0,"y":1,"id":"$police00","x":3},
    {"y0":0,"y1":3,"x0":5,"id":"$road01","x1":5},
    {"y0":3,"y1":3,"x0":0,"id":"$road01","x1":5}
  ]
}]
Yes, this one works better for those that don't keep autojoin turned on.
Screenshot_20190429-171226.jpg
fireandpolicecompo.zip
Here is a zip file of the json. Also an experimental composition of the composition. :)
(601 Bytes) Downloaded 487 times

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

Re: Fire and police composition

#3

Post by BetterBear »

Ah, I see you making use of the new feature. :)

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

Plugin Creator

Platform

Re: Fire and police composition

#4

Post by CommanderABab »

Yes. The thing to remember is that some adjustments need to be made. :)

User avatar
Imran M
Inhabitant of a Country
Reactions:
Posts: 844
Joined: 24 Oct 2018, 13:41
Plugins: Showcase Store

Plugin Creator

Platform

Re: Fire and police composition

#5

Post by Imran M »

Who said buildings can't be rectangles?

User avatar
-LeoLeo-
Inhabitant of a Solar System
Reactions:
Posts: 1624
Joined: 08 Jul 2017, 12:46
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Fire and police composition

#6

Post by -LeoLeo- »

*Gasps*

*Faints*

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

Plugin Creator

Platform

Re: Fire and police composition

#7

Post by CommanderABab »


User avatar
-LeoLeo-
Inhabitant of a Solar System
Reactions:
Posts: 1624
Joined: 08 Jul 2017, 12:46
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Fire and police composition

#8

Post by -LeoLeo- »

What does "y0/y1/x0/x1" do??

Is that the x/y coordinate for the 2 orientation?

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Fire and police composition

#9

Post by Lobby »

Yes, in order to specify a line we have to provide a start point (x0, y0) and an end point (x1, y1) :img
line.png

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

Plugin Creator

Platform

Re: Fire and police composition

#10

Post by CommanderABab »

Screenshot of screenshot.  :)
Screenshot of screenshot. :)

Post Reply Previous topicNext topic

Return to “Service”