Advanced tags for building plugins
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
- Inhabitant of a Supercluster
- Reactions:
- Posts: 3756
- Joined: 26 Oct 2008, 10:34
- Plugins: Showcase Store
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
- Metropolitan
- Reactions:
- Posts: 122
- Joined: 05 Dec 2021, 20:31
- Location: Sacramento, CA
- Plugins: Showcase Store
-
Platform
Re: Advanced tags for building plugins
Hey @Example of @Lobby, what is the tag for waste disposal?
The Shark who eats Sea Pickles (:
-
Mako1137
- Metropolitan
- Reactions:
- Posts: 122
- Joined: 05 Dec 2021, 20:31
- Location: Sacramento, CA
- Plugins: Showcase Store
-
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?
The Shark who eats Sea Pickles (:
-
CommanderABab
- AB
- Reactions:
- Posts: 11263
- Joined: 07 Jun 2016, 19: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.
my avatar:
-
Bearbear76
- Inhabitant of a Multiverse
- Reactions:
- Posts: 5701
- Joined: 10 Feb 2017, 12:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Do you mean?
Code: Select all
"flag train": trueJust my opinion
retired
retired
-
burgernamn
- Inhabitant of a Megacity
- Reactions:
- Posts: 173
- Joined: 15 Apr 2022, 08:32
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
yeah, thx manBearbear76 wrote: 24 Nov 2022, 13:45Do you mean?EDIT: You can always look at how the game implements railways here.Code: Select all
"flag train": true
im more active on my discord
-
HenryEdwardRud
- Villager
- Reactions:
- Posts: 17
- Joined: 20 Aug 2020, 13:38
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
I thinkSigitfajarn wrote: 05 Apr 2022, 03:04 anyone 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, 17:15, edited 3 times in total.
-
HenryEdwardRud
- Villager
- Reactions:
- Posts: 17
- Joined: 20 Aug 2020, 13:38
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
I found this example from lobbyPederont wrote: 26 Apr 2022, 12:31 Is there a way I can make a decoration spawn on map randomly on random location? Similar to spawn tag but evaluated every given time and only on empty tiles.
I'm thinking of a plugin like easter egg thing.
[
{
"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
- Reactions:
- Posts: 11263
- Joined: 07 Jun 2016, 19:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
This is best coded asHenryEdwardRud wrote: 04 Jan 2023, 17:08I thinkSigitfajarn wrote: 05 Apr 2022, 03:04 anyone know tow to make the building does'nt need water and energy supply?
"water": "-0"
"power": "-0"
Code: Select all
"water": 0, "power": 0,my avatar:
-
burgernamn
- Inhabitant of a Megacity
- Reactions:
- Posts: 173
- Joined: 15 Apr 2022, 08:32
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
is there a list for the language tags?
im more active on my discord
-
zaqxswcdevfr
- Settler
- Reactions:
- Posts: 6
- Joined: 23 Aug 2024, 10:08
- Location: Southern Gaza
- Plugins: Showcase Store
Re: Advanced tags for building plugins
Wie man die Mindeststädtische Bewertung zum Zeitpunkt des Baus festlegt
-
birdn4t0r
- Villager
- Reactions:
- Posts: 18
- Joined: 02 Jan 2021, 06:40
- Location: Seattle
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
What are these influence keys for? Doesn't seem to be anything on them anywhere in the documentation that I can access.
-
Matthew H
- Settler
- Reactions:
- Posts: 7
- Joined: 26 Mar 2025, 04:18
- Location: Vacnvouer, BC, Canada
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
this should be updated, map color definitely also works for roads
-
CommanderABab
- AB
- Reactions:
- Posts: 11263
- Joined: 07 Jun 2016, 19:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Residential, commercial, and industrial. "influence level2":50 used in a residential will influence other level 3 residentials to spawn nearby if the zoning is right.
