Advanced tags for building plugins
Moderators: Plugin Moderators, Scenario Moderators
- JustAnyone
- Developer
- Posts: 3598
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Advanced tags for building plugins
I don't think so.
- CommanderABab
- AB
- Posts: 11273
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Code: Select all
"type":"disaster"

- CommanderABab
- AB
- Posts: 11273
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- JustAnyone
- Developer
- Posts: 3598
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Advanced tags for building plugins
Technically yes, practically, it isn't. Likely to break anything.
- Imran M
- Inhabitant of a Country
- Posts: 844
- Joined: 24 Oct 2018, 13:41
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Well, it works for now...JustAnyone wrote: ↑22 Jan 2021, 11:39Technically yes, practically, it isn't. Likely to break anything.
- JustAnyone
- Developer
- Posts: 3598
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Advanced tags for building plugins
The last thing you'd want to do is use an experimental feature in a plugin which may not be editable by others to fix potential bugs in the future.
Re: Advanced tags for building plugins
I added winter frame to zone decorations but it didn't work. Is that what intended to be?
Re: Advanced tags for building plugins
here it is
Code: Select all Reset
[{"id": "$decousaurban","type": "decoration","frames": [{"count": 10,"bmp": "urbanresdeco.png","h": 60,"w": 32}],"width": 1,"height": 1,"hidden": true,"build time": 0,"title": "USA Urban Zone credits:mdk_813","text": ".","meta": {"tags": {"decorator": {"zones": ["$usa_urban_zone"]}}},"winter frames": [{"count": 10,"bmp": "urbanresdeco_winter.png","h": 53,"w": 32}
JSON checker
Re: Advanced tags for building plugins
thank you lobby.
Also how do I add performance indicator to plugin buildings?
Also how do I add performance indicator to plugin buildings?
Re: Advanced tags for building plugins
like that?
- JustAnyone
- Developer
- Posts: 3598
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Advanced tags for building plugins
He was referring to the type of parameter (bool in this point means boolean which is true/false) so you'd set it like
- 1Code
- Inhabitant of a Megacity
- Posts: 302
- Joined: 30 Jan 2020, 16:56
- Location: https://bit.ly/3P5dhnT
- Plugins: Showcase Store
-
Plugin Creator
Platform
- 1Code
- Inhabitant of a Megacity
- Posts: 302
- Joined: 30 Jan 2020, 16:56
- Location: https://bit.ly/3P5dhnT
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Re: Advanced tags for building plugins
so i try to make my plugin doesnt need road to be build but rather than build automatically, it always stay as a zone.
yes my building doesnt show road requirement pop up but still they don build until i build road near it. anyone of you guys could help me ?
this is how i define my json
since i put it into zone so i include zone definition
yes my building doesnt show road requirement pop up but still they don build until i build road near it. anyone of you guys could help me ?
this is how i define my json
Code: Select all Reset
{"id": "$HumanComZone","title":"Human Commercial","text":"Human Zone For Commercial Building","type": "zone","rci":true,"base":"$zonecommercial","frames":[{"bmp": "Commercial.png"}],"preview frames":[{"bmp": "Preview Commercial.png"}],"price":150,"placeable":true},{"id": "$ComLow1","type": "commercial","author": "lalulali","width": 1,"height": 1,"zone": "$HumanComZone","frames": [{"bmp": "Stall 1.png"}],"level": 1,"people": 4,"title": "Human Market Stall","text": "Human Market Stall Type 1 For Poor People","needs road":false,"price": 7,"bulldoze price": 10,"build time": 2}
JSON checker
- Bearbear76
- Former Bearbear65
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Just a guess. Add this to the zone json.
Code: Select all
"needs road":false