Page 3 of 3
Re: Categories
Posted: Thu Jul 11, 2019 1:38
by wcs
Renamed it to 0cat_neuterland_zone, still getting the category not found error.
Did i wrote my code correctly, above? Also, my category is a separate .json and not a part of the zones .json, that will work right?
Re: Categories
Posted: Thu Jul 11, 2019 10:21
by Kulche
wcs wrote: ↑Thu Jul 11, 2019 1:38
My category is a separate .json and not a part of the zones .json.
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.
Re: Categories
Posted: Fri Jul 12, 2019 0:43
by wcs
Kulche wrote: ↑Thu Jul 11, 2019 10:21
wcs wrote: ↑Thu Jul 11, 2019 1:38
My category is a separate .json and not a part of the zones .json.
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?
@yusuf8a684 Could you send the sample .json that you offered, I would like to take a look at it and see if I can implement it in my .json, thanks!

Re: Categories
Posted: Fri Jul 12, 2019 1:08
by CommanderABab
No, you just name the category defining json with a name that TheoTown will read before any json that uses the category.
This can be folders or json file names.
Folder named 000c
File named Category.json
Folder named UsesCategory
File named UsesCategory.json
Or if files are in same folder, then:
000definescat.json
Usescat.json
Re: Categories
Posted: Fri Jul 12, 2019 1:54
by yusuf8a684
Oh, that's right.
Category folders should be upper from it's items. Like, red circled folder is category of the categories that shown with red arrow and yellow circled folder is category of the rails
These all folders that has 00 in the name is a category folder
Re: Categories
Posted: Sat Jul 13, 2019 1:18
by wcs
Thank you so much guys, I am quite busy right now, I will try your suggestions when I am free.
