JSON

Resources from the game that you might use in your game can be found here

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3637
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

Platform

Re: JSON

#81

Post by Lobby »

See content_fence.json. It is done by providing 4 additional frames that will be used for the slopes :json

Code: Select all    Reset

[ { "id": "$fence_real00", "type": "fence", "frames": [ {"x": 40,"y": 352,"w": 16,"h": 16,"count": 2,"handle y":8}, {"x": 884,"y": 334,"w": 17,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024}, {"x": 901,"y": 334,"w": 18,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024}, {"x": 919,"y": 334,"w": 18,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024}, {"x": 937,"y": 334,"w": 17,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024} ], "price": 100 } ]
JSON checker
Check
The flat frames:
image.png
image.png (235 Bytes) Viewed 1359 times
The slope frames:
image.png
image.png (1.39 KiB) Viewed 1359 times
=^._.^= ∫

User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2454
Joined: Thu Aug 24, 2017 11:17
Location: A coffin
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: JSON

#82

Post by TheFennekin »

Thanks very much Lobby!
Sorry but I'm on a break :(

Inactive

soemkal
Settler
Reactions:
Posts: 1
Joined: Sat Jan 09, 2021 9:17

Re: JSON

#83

Post by soemkal »

:json
Lobby wrote:
Mon Aug 06, 2018 18:35
World generation is hardcoded and can not be modified by json. However, buildings can specify a spawn behavior that will be applied on map generation. I think as topic about searocks had an example in it.
do you have waste disposal json?

User avatar
Kamikazi
Inhabitant of a Conurbation
Reactions:
Posts: 454
Joined: Sat Jan 27, 2018 0:58
Location: Zaragoza, ESPAÑA
Plugins: Show
Version: Beta
Contact:

Platform

Plugin Creator

Re: JSON

#84

Post by Kamikazi »

soemkal wrote:
Wed Jan 13, 2021 14:31
:json
Lobby wrote:
Mon Aug 06, 2018 18:35
World generation is hardcoded and can not be modified by json. However, buildings can specify a spawn behavior that will be applied on map generation. I think as topic about searocks had an example in it.
do you have waste disposal json?
To them to properly work, you need to be a trusted plugin creator, so you can get the privileged code to make those plugins
🇪🇸Soy un spanish🇪🇸
...¡ARRIBA VIVA ESPAÑA!
:space✈️Aviation enthusiast✈️ :space
:76: A proud TT76 Tester :76:

User avatar
yusuf8a684
Inhabitant of a Planet
Reactions:
Posts: 1553
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show

Plugin Creator

Platform

Re: JSON

#85

Post by yusuf8a684 »

Will there be night animation codes too?
The Internet Addict

don't expect me to finish something

LOL

User avatar
Kulche
Pluche
Reactions:
Posts: 964
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: JSON

#86

Post by Kulche »

They probably will. If you're looking for a tutorial, there is one. Also try using ian's tool, it's great :)

If you need some raw data feel free to PM me.
Also, hi yusuf :)
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

User avatar
yusuf8a684
Inhabitant of a Planet
Reactions:
Posts: 1553
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show

Plugin Creator

Platform

Re: JSON

#87

Post by yusuf8a684 »

Kulche wrote:
Fri Feb 26, 2021 11:15
They probably will. If you're looking for a tutorial, there is one. Also try using ian's tool, it's great :)

If you need some raw data feel free to PM me.
Also, hi yusuf :)
Hello, thanks. just tried using ian's tool, it is great like the tutorial
The Internet Addict

don't expect me to finish something

LOL

Ansar1523
Settler
Reactions:
Posts: 5
Joined: Wed Apr 21, 2021 5:20

Re: JSON

#88

Post by Ansar1523 »

What .json of fire department?

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5444
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: JSON

#89

Post by Bearbear76 »

Ansar1523 wrote:
Tue Apr 27, 2021 4:35
What .json of fire department?
Here you go. ;)
Wekabu city wrote:
Sat Jan 13, 2018 13:30
In which category are fire departments?
Lobby wrote:
Sat Jan 27, 2018 16:40
No, it's hardcoded.
Just my opinion
I'm probably recompiling my kernel... :o

Ansar1523
Settler
Reactions:
Posts: 5
Joined: Wed Apr 21, 2021 5:20

Re: JSON

#90

Post by Ansar1523 »

Lobby wrote:
Sat Jan 27, 2018 16:40
No, it's hardcoded.
what is the code of his influence?

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5444
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: JSON

#91

Post by Bearbear76 »

Ansar1523 wrote:
Thu Apr 29, 2021 4:36
Lobby wrote:
Sat Jan 27, 2018 16:40
No, it's hardcoded.
what is the code of his influence?

Code: Select all

"influence fire department": [number]
Just my opinion
I'm probably recompiling my kernel... :o

Ansar1523
Settler
Reactions:
Posts: 5
Joined: Wed Apr 21, 2021 5:20

Re: JSON

#92

Post by Ansar1523 »

Bearbear76 wrote:
Thu Apr 29, 2021 14:37
Ansar1523 wrote:
Thu Apr 29, 2021 4:36
Lobby wrote:
Sat Jan 27, 2018 16:40
No, it's hardcoded.
what is the code of his influence?

Code: Select all

"influence fire department": [number]
Thank you bro :bc

Ansar1523
Settler
Reactions:
Posts: 5
Joined: Wed Apr 21, 2021 5:20

Re: JSON

#93

Post by Ansar1523 »

how to increase energy or water production to more than 160,000 in a 4x4 building?

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5444
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: JSON

#94

Post by Bearbear76 »

Ansar1523 wrote:
Tue May 04, 2021 12:22
how to increase energy or water production to more than 160,000 in a 4x4 building?
Did I bit of experimenting and I think the max power (didn't test water. probably the same though)
you can generate from a building is: (width or height)^2 * 10,000

1x1 = 10,000
2x2 = 40,000
3x3 = 90,000
4x4 = 160,000
5x5 = 250,000
Just my opinion
I'm probably recompiling my kernel... :o

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

Platform

Plugin Creator

Re: JSON

#95

Post by CommanderABab »

Yes, more can be specified but won't be heeded.

Ansar1523
Settler
Reactions:
Posts: 5
Joined: Wed Apr 21, 2021 5:20

Re: JSON

#96

Post by Ansar1523 »

Bearbear76 wrote:
Sat May 08, 2021 3:32
Ansar1523 wrote:
Tue May 04, 2021 12:22
how to increase energy or water production to more than 160,000 in a 4x4 building?
Did I bit of experimenting and I think the max power (didn't test water. probably the same though)
you can generate from a building is: (width or height)^2 * 10,000

1x1 = 10,000
2x2 = 40,000
3x3 = 90,000
4x4 = 160,000
5x5 = 250,000
Logical, but one 5x5 plug-in generates 1 million energy and it seems to me that you can set the producing of energy or water to a larger number. Can the lobby answer this question?

Sharizal zul
Small-town resident
Reactions:
Posts: 39
Joined: Thu Jun 17, 2021 17:33
Plugins: Show
Version: Beta

Re: JSON

#97

Post by Sharizal zul »

Funeral code please!

Post Reply Previous topicNext topic

Return to “Resources”