If the category json is after the zone json then it won't work. Put some zs in zone json or as in cat json.
Thanks, I will try this one, where do I put this? On the each of the .json ID?
my avatar:
Here is the building code and category codeWepf wrote: 19 Nov 2021, 12:39 For no reason, the building keep saying that there is no any category that match the one I coded to the building EVEN I copy id from the custom category that I made
Code: Select all
[
{
"id":"$train_depot00",
"type":"railway station",
"author":"Wepf",
"frame":[{"bmp":"DepotRed1.png"},
{"bmp":"DepotRed2.png"},
{"bmp":"DepotRed3.png"},
{"bmp":"DepotRed4.png"}],
"title":"Train depot",
"text":"For store, repair and maintaince train. This one spawn non-electric trains.",
"influence passenger train":45,
"influence noise":5,
"capacity":45,
"category":"$Bri'ish00",
"height":1,
"width":1,
"build time":5,
"rotation aware":true,
"car spawner":[{"targets":["$train_platform00","$train_platform01","$train_depot00","$train_depot01"],
"cars":["$theored","theoblue"],
"flag normal":false,
"flag tram":true,
"flag train":true,
"count":4,
"radius":600,
"level":0}],
"car local only":true,
"needs road":false,
"price":100,
"monthly price":30
},
{
"id":"$train_depot01",
"type":"railway station",
"author":"Wepf",
"frame":[{"bmp":"Depot1.png"},
{"bmp":"Depot.png"},
{"bmp":"Depot2.png"},
{"bmp":"Depot3.png"}],
"title":"Modern trains' depot",
"text":"For store, repair and maintaince train. This one spawn electric trains.",
"width":2,
"height":2,
"build time":10,
"needs road":false,
"price":150,
"monthly price":60,
"car local only":true,
"car spawner":[{"targets":["$train_platform00","$train_platform01","$train_depot00","$train_depot01"],
"cars":["$Qqqqqq00","$Qqqqqq01"],
"flag normal":false,
"flag train":true,
"count":4,
"radius":600,
"level":0}],
"influence passenger train":45,
"influence noise":5,
"capacity":45,
"rotation aware":true,
"category":"$Bri'ish00"
}
]
Code: Select all
[
{
"id":"$Bri'ish00",
"frame":[{"bmp":"Trackless-Tram.png"}],
"title":"Trackless train system",
"text":"Like normal train and tram system but the railway guides vehicle using an underground signal below the rail instead of tracks.",
"type":"category"
}
]
Who