Page 1 of 1
Fire and police composition
Posted: 29 Apr 2019, 22:08
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
- Screenshot_20190429-160017.jpg (28.46 KiB) Viewed 18505 times

- Where I got it from

- Hmmm..

- Build dialog

- The rotated hmmmm..
Re: Fire and police composition
Posted: 29 Apr 2019, 22:42
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.
fireandpolicecompo.zip
- Here is a zip file of the json. Also an experimental composition of the composition. :)
- (601 Bytes) Downloaded 1235 times
Re: Fire and police composition
Posted: 30 Apr 2019, 08:56
by BetterBear
Ah, I see you making use of the new feature.

Re: Fire and police composition
Posted: 30 Apr 2019, 17:47
by CommanderABab
Yes. The thing to remember is that some adjustments need to be made.

Re: Fire and police composition
Posted: 30 Apr 2019, 20:10
by Imran M
Who said buildings can't be rectangles?
Re: Fire and police composition
Posted: 30 Apr 2019, 20:29
by -LeoLeo-
*Gasps*
*Faints*
Re: Fire and police composition
Posted: 01 May 2019, 21:20
by CommanderABab
Re: Fire and police composition
Posted: 03 May 2019, 15:10
by -LeoLeo-
What does "y0/y1/x0/x1" do??
Is that the x/y coordinate for the 2 orientation?
Re: Fire and police composition
Posted: 03 May 2019, 17:49
by Lobby
Yes, in order to specify a line we have to provide a start point (x0, y0) and an end point (x1, y1)
Re: Fire and police composition
Posted: 03 May 2019, 21:34
by CommanderABab

- Screenshot of screenshot. :)
Re: Fire and police composition
Posted: 30 Jul 2024, 16:01
by Mudflesh
Re: Fire and police composition
Posted: 23 May 2025, 19:09
by Mudflesh
Can you help me write the dump truck spawning code? And advice me on how to make it work in a plugin.
And what does "performance":true, means?
Re: Fire and police composition
Posted: 01 Jun 2025, 17:31
by CommanderABab
Mudflesh wrote: ↑23 May 2025, 19:09
Can you help me write the dump truck spawning code? And advice me on how to make it work in a plugin.
And what does "performance":true, means?
"performance":true, allows the player to adjust the radius of a service building in game by paying more or less Theons per month.
Thank you...
Posted: 03 Jun 2025, 03:13
by Mudflesh
CommanderABab wrote: ↑01 Jun 2025, 17:31
Mudflesh wrote: ↑23 May 2025, 19:09
Can you help me write the dump truck spawning code? And advice me on how to make it work in a plugin.
And what does "performance":true, means?
"performance":true, allows the player to adjust the radius of a service building in game by paying more or less Theons per month.
Re: Fire and police composition
Posted: 03 Jun 2025, 03:43
by Mudflesh
What causes this error while plugins are being uploaded by the game?


Error...
In zonablegraveyards1-0.plugin:
java.lang.IllegalStateException: When loading "ZonableGraveyard.kt101": Cannot fit bmp ZonableGraveyard.png of size 192x15 into world texture. Please report this error code to a developer: 0x42
And how many plugins are allowed in the game?
Help...
Re: Fire and police composition
Posted: 03 Jun 2025, 10:18
by CommanderABab
Mudflesh wrote: ↑03 Jun 2025, 03:43
What causes this error while plugins are being uploaded by the game?


Error...
In zonablegraveyards1-0.plugin:
java.lang.IllegalStateException: When loading "ZonableGraveyard.kt101": Cannot fit bmp ZonableGraveyard.png of size 192x15 into world texture. Please report this error code to a developer: 0x42
And how many plugins are allowed in the game?
Help...
It's too wide ( after the others have been placed) for the available slots left in the graphic space.
Space limited.
Re: Fire and police composition
Posted: 03 Jun 2025, 11:01
by Fyonche
May I ask how limited the plugin space is? As of now, I have almost 600 plugins. In theory, how many plugins can I install into the game?
// This might be a foolish question though, I don't know why.
Re: Fire and police composition
Posted: 04 Jun 2025, 20:29
by Mudflesh
CommanderABab wrote: ↑03 Jun 2025, 10:18
Mudflesh wrote: ↑03 Jun 2025, 03:43
What causes this error while plugins are being uploaded by the game?


Error...
In zonablegraveyards1-0.plugin:
java.lang.IllegalStateException: When loading "ZonableGraveyard.kt101": Cannot fit bmp ZonableGraveyard.png of size 192x15 into world texture. Please report this error code to a developer: 0x42
And how many plugins are allowed in the game?
Help...
It's too wide ( after the others have been placed) for the available slots left in the graphic space.
Space limited.
Thank you for this help.I just need to remove unnecessary plugins.