Categories
Moderator: Plugin Moderators
- sairam
- Inhabitant of a Conurbation
- Reactions:
- Posts: 537
- Joined: 31 Dec 2017, 13:35
- Location: India Pudukkottai
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Categories
No after the ind buildings
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
- sairam
- Inhabitant of a Conurbation
- Reactions:
- Posts: 537
- Joined: 31 Dec 2017, 13:35
- Location: India Pudukkottai
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Categories
I want my category next to $cat_industrial.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
- sairam
- Inhabitant of a Conurbation
- Reactions:
- Posts: 537
- Joined: 31 Dec 2017, 13:35
- Location: India Pudukkottai
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Categories
You can see this picture for details.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
- ElephantEthan
- Inhabitant of a Megacity
- Reactions:
- Posts: 294
- Joined: 26 Aug 2018, 14:07
- Plugins: Showcase Store
-
Platform
- sairam
- Inhabitant of a Conurbation
- Reactions:
- Posts: 537
- Joined: 31 Dec 2017, 13:35
- Location: India Pudukkottai
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Categories
@ElephantEthan not working.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
- sairam
- Inhabitant of a Conurbation
- Reactions:
- Posts: 537
- Joined: 31 Dec 2017, 13:35
- Location: India Pudukkottai
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Categories
The JSON code is here!
Code: Select all
[{"category":"$cat_zone00","frames":[{"bmp":"icon.png"}],"id":"$cat_newcat_zone",
"ordinal":12,"title":" buildings","type":"category"}]
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
- CommanderABab
- AB
- Reactions:
- Posts: 11109
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Categories
sairam wrote: ↑10 Sep 2018, 13:42The JSON code is here!Code: Select all
[{ "category":"$cat_zone00", "frames":[{"bmp":"icon.png"}], "id":"$cat_newcat_zone", "ordinal":12, "title":" buildings", "type":"category" }]
my avatar:
- sairam
- Inhabitant of a Conurbation
- Reactions:
- Posts: 537
- Joined: 31 Dec 2017, 13:35
- Location: India Pudukkottai
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Categories
Here is the pic! To know it detail see picture.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
- sairam
- Inhabitant of a Conurbation
- Reactions:
- Posts: 537
- Joined: 31 Dec 2017, 13:35
- Location: India Pudukkottai
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Categories
Can anyone help me with this?
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
Proud to be the first Tamil theotowner. Done 2 plugins.
( ͡° ͜ʖ ͡°)
Re: Categories
Can you put categories within categories?
Shaman - Beneficent Monarch of the city-state of Kektaka
Less corrupt than DC, stronger than London, better churches than the Vatican, and more gold than Dubai!!
Less corrupt than DC, stronger than London, better churches than the Vatican, and more gold than Dubai!!
Re: Categories
I guess i should add: I want to make a self created category- would I be able to put another category within that? Making a roads plugin, with various styles and options so this would be helpful, especially if road decos become too tedious or wont do what i want in some cases.
Shaman - Beneficent Monarch of the city-state of Kektaka
Less corrupt than DC, stronger than London, better churches than the Vatican, and more gold than Dubai!!
Less corrupt than DC, stronger than London, better churches than the Vatican, and more gold than Dubai!!
- CommanderABab
- AB
- Reactions:
- Posts: 11109
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Categories
my avatar:
Re: Categories
Yay, I got it to work. Seems, at least for me, easier to use separate jsons- as loaded in one json, even with category ids in alphabetical order, i could not get it it work. But with separate jsons for each category in the zip and the main category with file name "acat...." and the categories within "bcat...." and within those (kinda crazy just testing, all 3 within transport category ) "cat...".
Shaman - Beneficent Monarch of the city-state of Kektaka
Less corrupt than DC, stronger than London, better churches than the Vatican, and more gold than Dubai!!
Less corrupt than DC, stronger than London, better churches than the Vatican, and more gold than Dubai!!
- wcs
- Small-town resident
- Reactions:
- Posts: 38
- Joined: 16 Jun 2019, 08:21
- Plugins: Showcase Store
- Contact:
Re: Categories
I could not make my category work
After that, I tag all of my .json with
I have 1 .json for the category, and 6 other for my RCI zones.
It gives me error, stating that no such category could be found
Code: Select all
[
{
"id":"cat_neuterland",
"ordinal":0
"type":"category",
"category":"$cat_zone00",
"frames":[{"bmp":"neuterlandicon.png"}],
"title":"Neuterland",
}
]
Code: Select all
"category":"$cat_neuterland00",
It gives me error, stating that no such category could be found
Follow me! @wackyserious on Twitter | Youtube for the latest updates on my projects!
- JustAnyone
- Developer
- Reactions:
- Posts: 3480
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
- wcs
- Small-town resident
- Reactions:
- Posts: 38
- Joined: 16 Jun 2019, 08:21
- Plugins: Showcase Store
- Contact:
Re: Categories
Still not able to make it functional.
Recent code,
Sample category .json
Sample zone .json
Recent code,
Sample category .json
Code: Select all
[
{
"type":"category",
"ordinal":0,
"id":"cat_neuterland",
"frames":[{"bmp":"cat_neuterland.png"}],
"title":"Neuterland"
}
]
Code: Select all
[
{
"category":"cat_neuterland",
"ordinal":0,
"author":"wcs",
"id":"neuterland_mall_zone.wcs",
"title":"Neuterland Mall",
"text":"Malls brought to you by Neuterland Inc.",
"base":"$zonecommercial",
"type":"zone",
"frames":[{"x":352,"y":0,"w":32,"h":16}],
"map color":{"r":91,"g":95,"b":255},
"preview frames":[{"bmp":"zoneiconneuterlandmall.png"}],
"draw ground":true,
"height":1,
"width":1,
"needs road":false,
"placeable":true,
"price":25,
"rci":true
},
{
"id":"neuterland_mall_decor_1x1",
"title":"Neuterland Mall Decor",
"text":"Simple Mall Decor.",
"type":"decoration",
"frames":[{"bmp":"neuterland_mall_decor_1x1.png"}],
"meta":{"tags":{"decorator":{"zones":["neuterland_mall_zone.wcs"]}}},
"draw ground":true,
"needs road":false,
"height":1,
"width":1
},
{
"id":"neuterland_mall_2x2_f1",
"title":"Neuterland Mall 1F",
"text":"Single floor mall.",
"type":"commercial",
"frames":[{"bmp":"neuterland_mall_2x2_f1.png","count":8,"frames":8,"w":64}],
"draw ground":true,
"height":2,
"width":2,
"workers":15,
"zone":"neuterland_mall_zone.wcs",
"level":"1"
},
]
Follow me! @wackyserious on Twitter | Youtube for the latest updates on my projects!