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: 3630
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 163 times
The slope frames:
image.png
image.png (1.39 KiB) Viewed 163 times
=^._.^= ∫

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

Platform

Plugin Creator

Re: JSON

#82

Post by TheFennekin »

Thanks very much Lobby!
チャーハンが美味しい 🍚🍚🍚

Check out viewtopic.php?f=45&t=12770&p=169257#p169257

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: 364
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:

Post Reply Previous topicNext topic

Return to “Resources”