Advanced tags for building plugins
Moderator: Plugin Moderators
- CommanderABab
- AB
- Posts: 11190
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
In the notification, note that it uses a very low probability of actually sending the notification.
Last edited by CommanderABab on 26 Apr 2022, 18:40, edited 1 time in total.
- Ryk_Mak_2050
- Settler
- Posts: 4
- Joined: 25 Dec 2021, 18:57
Re: Advanced tags for building plugins
Can you provide the emergency vehicle code? I have the code to increase number of emergency vehicles but do not respond when I call an emergency.
Re: Advanced tags for building plugins
How does the animated tag work?
- Lobby
- Developer
- Posts: 3714
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Advanced tags for building plugins
It's a legacy attribute to animate your buildings. For that, simply provide multiple frames to the "frames" attribute and then use "animated":true to let the game know that it should use these frames to animate the building. Nowadays I recommend to use separate animation objects instead that you can then reference to in the "animation" attribute.
- Mako1137
- Inhabitant of a Megacity
- Posts: 164
- Joined: 05 Dec 2021, 22:31
- Location: Sacramento, CA
- Plugins: Showcase Store
- Contact:
-
Platform
Re: Advanced tags for building plugins
What about waste disposal?
- Mako1137
- Inhabitant of a Megacity
- Posts: 164
- Joined: 05 Dec 2021, 22:31
- Location: Sacramento, CA
- Plugins: Showcase Store
- Contact:
-
Platform
Re: Advanced tags for building plugins
Hey @Example of @Lobby, what is the tag for waste disposal?
- Mako1137
- Inhabitant of a Megacity
- Posts: 164
- Joined: 05 Dec 2021, 22:31
- Location: Sacramento, CA
- Plugins: Showcase Store
- Contact:
-
Platform
Re: Advanced tags for building plugins
Question:
Does the "ordinal" tag have to start from 0?
Does the "ordinal" tag have to start from 0?
- CommanderABab
- AB
- Posts: 11190
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
No, you can use negative(-1) to always be first. High number to always be last.
- burgernamn
- Former aster dude
- Posts: 176
- Joined: 15 Apr 2022, 10:32
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
are there no tags for rails?
- 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
Do you mean?
Code: Select all
"flag train": true
- burgernamn
- Former aster dude
- Posts: 176
- Joined: 15 Apr 2022, 10:32
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
yeah, thx manBearbear76 wrote: ↑24 Nov 2022, 15:45Do you mean?EDIT: You can always look at how the game implements railways here.Code: Select all
"flag train": true
- HenryEdwardRud
- Villager
- Posts: 20
- Joined: 20 Aug 2020, 15:38
- Plugins: Showcase Store
- Contact:
Re: Advanced tags for building plugins
I thinkSigitfajarn wrote: ↑05 Apr 2022, 05:04anyone know tow to make the building does'nt need water and energy supply?
"water": 0,
"power": 0
Last edited by HenryEdwardRud on 05 Jan 2023, 19:15, edited 3 times in total.
- HenryEdwardRud
- Villager
- Posts: 20
- Joined: 20 Aug 2020, 15:38
- Plugins: Showcase Store
- Contact:
Re: Advanced tags for building plugins
I found this example from lobby
[
{
"id":"$myspawntest00",
"type":"decoration",
"width":1,
"height":1,
"frames":[{"x":0,"y":0,"w":32,"h":16}],
"needs water":false,
"needs land":false,
"draw ground":true,
"spawn":
{
"p":0.01,
"height":-600,
"radius":600
}
}
]
- CommanderABab
- AB
- Posts: 11190
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
This is best coded asHenryEdwardRud wrote: ↑04 Jan 2023, 19:08I thinkSigitfajarn wrote: ↑05 Apr 2022, 05:04anyone know tow to make the building does'nt need water and energy supply?
"water": "-0"
"power": "-0"
Code: Select all
"water": 0, "power": 0,
- Alexander-Max
- Settler
- Posts: 5
- Joined: 04 Feb 2023, 03:55
-
Plugin Creator
Platform
- burgernamn
- Former aster dude
- Posts: 176
- Joined: 15 Apr 2022, 10:32
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
is there a list for the language tags?
- CommanderABab
- AB
- Posts: 11190
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
First poet of this topic.
- zaqxswcdevfr
- Settler
- Posts: 6
- Joined: 23 Aug 2024, 12:08
- Location: Southern Gaza
- Plugins: Showcase Store
Re: Advanced tags for building plugins
Wie man die Mindeststädtische Bewertung zum Zeitpunkt des Baus festlegt