Fire and police composition

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

Moderator: Plugin Moderators

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

Platform

Plugin Creator

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 3272 times
Where I got it from
Where I got it from
Hmmm..
Hmmm..
Build dialog
Build dialog
The rotated hmmmm..
The rotated hmmmm..
Image

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

Platform

Plugin Creator

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 208 times
Image

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

Platform

Re: Fire and police composition

#3

Post by BetterBear »

Ah, I see you making use of the new feature. :)
BEaRz ArE AmAZiNG. I Am FeElIng SlEepY..

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

Platform

Plugin Creator

Re: Fire and police composition

#4

Post by CommanderABab »

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

User avatar
Imran M
Inhabitant of a Megalopolis
Reactions:
Posts: 661
Joined: Wed Oct 24, 2018 13:41
Plugins: Show

Platform

Plugin Creator

Re: Fire and police composition

#5

Post by Imran M »

Who said buildings can't be rectangles?
I have no clue what's happening this year

User avatar
-LeoLeo-
Inhabitant of a Solar System
Reactions:
Posts: 1622
Joined: Sat Jul 08, 2017 12:46
Location: Planet Fastoon, Polaris Galaxy // Th
Plugins: Show
Version: Beta
Contact:

Platform

Plugin Creator

Re: Fire and police composition

#6

Post by -LeoLeo- »

*Gasps*

*Faints*
• The KING of procrastination! •

¤ The P.M. of Attobaxia.
¤ The CEO of Leopolis Corp.
¤ Love Ratchet&Clank

;) :space

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

Platform

Plugin Creator

Re: Fire and police composition

#7

Post by CommanderABab »

Image

User avatar
-LeoLeo-
Inhabitant of a Solar System
Reactions:
Posts: 1622
Joined: Sat Jul 08, 2017 12:46
Location: Planet Fastoon, Polaris Galaxy // Th
Plugins: Show
Version: Beta
Contact:

Platform

Plugin Creator

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?
• The KING of procrastination! •

¤ The P.M. of Attobaxia.
¤ The CEO of Leopolis Corp.
¤ Love Ratchet&Clank

;) :space

User avatar
Lobby
Developer
Reactions:
Posts: 3590
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
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: 8777
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Fire and police composition

#10

Post by CommanderABab »

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

Post Reply Previous topicNext topic

Return to “Service”