JSON

Resources from the game that you might use in your game can be found here
Previous topicNext topic
User avatar
XNOTE
Settler
Reactions:
Posts: 3
Joined: 04 Nov 2018, 16:45
Location: Republic of Korea
Plugins: Showcase Store
Version: Beta

Re: JSON

Post by XNOTE » 31 Dec 2018, 06:05

Lobby
Can I see JSON of Weather machine? I'm just curious about how to add blocks (I mean buttons that next to upgrade button) on information window.
User avatar
Lobby
Inhabitant of a Supercluster
Reactions:
Posts: 3756
Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store

Re: JSON

Post by Lobby » 31 Dec 2018, 09:33

You can't, that is done by the game.
yusuf8a684
Reactions:

Re: JSON

Post by yusuf8a684 » 29 Jan 2019, 19:26

Hello Lobby,
Can I have the full and updated residential json?
User avatar
Lobby
Inhabitant of a Supercluster
Reactions:
Posts: 3756
Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store

Re: JSON

Post by Lobby » 05 Feb 2019, 17:45

Thank you for the reminder, I updated residential, commercial and industrial jsons :)
User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 12:29

Platform

Re: JSON

Post by 22Alpha » 10 Feb 2019, 06:25

Good to know it is updated. Guess who's back playing and doing plugins!
:mine
Chinasapling
Townsman
Reactions:
Posts: 48
Joined: 11 Nov 2018, 03:33
Plugins: Showcase Store

Platform

Re: JSON

Post by Chinasapling » 12 Feb 2019, 02:25

I think I need classified information about garbage dumps, and I want to know about JSON for garbage trucks to clean up the road.
Elmana4321
Townsman
Reactions:
Posts: 48
Joined: 08 Dec 2018, 02:23
Plugins: Showcase Store

Platform

Re: JSON

Post by Elmana4321 » 30 Jun 2019, 21:54

Waste JSON? Please
User avatar
CommanderABab
AB
Reactions:
Posts: 11263
Joined: 07 Jun 2016, 19:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: JSON

Post by CommanderABab » 01 Jul 2019, 17:15

Chinasapling wrote: 12 Feb 2019, 02:25 I think I need classified information about garbage dumps, and I want to know about JSON for garbage trucks to clean up the road.

Code: Select all

  "car spawner":[
    {
     "cars":["your_vehicle_id"],
     "radius":4000,
     "count":10,
     "flags":["garbage"]
     }
  ]
within any plugin will spawn cars that clean garbage from the roads when they encounter it.
The large radius will allow these cars to travel city wide finding garbage.

If you plan on using more than one building to spawn the cars, the radius should be smaller than shown and the count small to keep your roads clear of extra vehicles.

This will not make residents happy about waste disposal though, that still requires the incinerators, landfills, etc to be built.
my avatar:
User avatar
CommanderABab
AB
Reactions:
Posts: 11263
Joined: 07 Jun 2016, 19:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: JSON

Post by CommanderABab » 01 Jul 2019, 23:14

my avatar:
Chinasapling
Townsman
Reactions:
Posts: 48
Joined: 11 Nov 2018, 03:33
Plugins: Showcase Store

Platform

Re: JSON

Post by Chinasapling » 30 Nov 2019, 16:26

Thank you very much.
User avatar
Hadestia
Inhabitant of a Megalopolis
Reactions:
Posts: 721
Joined: 17 Jul 2017, 14:16
Location: Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: JSON

Post by Hadestia » 08 Dec 2019, 17:09

Can i have the list of the in game plane Id?
 ! Message from: Hadestia
Visit my YouTube channel:
https://youtube.com/channel/UC5qG-r8y21036JZbGRClbdQ
User avatar
Lobby
Inhabitant of a Supercluster
Reactions:
Posts: 3756
Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store

Re: JSON

Post by Lobby » 08 Dec 2019, 18:34

Here you go :)

Code: Select all

$airplane00
$airplane02
$airplane01
$prm_airplane00
User avatar
Hadestia
Inhabitant of a Megalopolis
Reactions:
Posts: 721
Joined: 17 Jul 2017, 14:16
Location: Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: JSON

Post by Hadestia » 11 Dec 2019, 09:40

Lobby wrote: 08 Dec 2019, 18:34 Here you go :)

Code: Select all

$airplane00
$airplane02
$airplane01
$prm_airplane00
If it possible to have a multiple target?
 ! Message from: Hadestia
Visit my YouTube channel:
https://youtube.com/channel/UC5qG-r8y21036JZbGRClbdQ
User avatar
Lobby
Inhabitant of a Supercluster
Reactions:
Posts: 3756
Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store

Re: JSON

Post by Lobby » 11 Dec 2019, 11:59

What do you mean by "multiple target"?
User avatar
Hadestia
Inhabitant of a Megalopolis
Reactions:
Posts: 721
Joined: 17 Jul 2017, 14:16
Location: Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: JSON

Post by Hadestia » 11 Dec 2019, 12:43

Lobby wrote: 11 Dec 2019, 11:59 What do you mean by "multiple target"?
The car spawner
 ! Message from: Hadestia
Visit my YouTube channel:
https://youtube.com/channel/UC5qG-r8y21036JZbGRClbdQ
User avatar
Lobby
Inhabitant of a Supercluster
Reactions:
Posts: 3756
Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store

Re: JSON

Post by Lobby » 11 Dec 2019, 13:30

Yes, this should work fine:

Code: Select all

    "car spawner":[
      {
        "cars":["$lobby_carplugin00"],
        "radius":10,
        "count":10,
        "targets":["$building00","$building01"]
      }
    ]
User avatar
CommanderABab
AB
Reactions:
Posts: 11263
Joined: 07 Jun 2016, 19:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: JSON

Post by CommanderABab » 11 Dec 2019, 16:32

Yes, it's fun too. Watching traffic going all around the city. :)
my avatar:
yusuf8a684
Reactions:

Re: JSON

Post by yusuf8a684 » 14 Jan 2020, 11:43

Lobby,
I can't find the prm coded building IDs in there. Are they paid access building?
Also why there are no base for gencom00. That one has no type about commercial but only types for animation. (There are some more buildings like that)

And night textures, will they shared with us?
User avatar
Kulche
Inhabitant of a Continent
Reactions:
Posts: 1194
Joined: 07 Jun 2017, 18:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: JSON

Post by Kulche » 15 Jan 2020, 06:25

Looks like the "prm" prefix means something like premium, so I guess they aren't shared because they are paid.
About night frames, don't worry, they are still in works and if you want to create your own you can visit my tutorial :)
get yoked!!
hihihihi
Metropolitan
Reactions:
Posts: 111
Joined: 30 Jul 2019, 04:05
Location: south korea
Plugins: Showcase Store

Platform

Re: JSON

Post by hihihihi » 01 Apr 2020, 04:37

HELP!

I'm making ambulance and alert light coordinate is not right...

My ambulance texture is for car v2

How can I define 'pos' code??
Actually, I'm alive. :bc
Previous topicNext topic