Advanced tags for building plugins
Moderator: Plugin Moderators
Re: Advanced tags for building plugins
I would create it as commercial building as casinos are commercials in real world, too. About income, that's currently not supported for plugin buildings.
=^._.^= ∫
- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3035
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3035
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
Re: Advanced tags for building plugins
So if I want my building to always spawn on ground, what should I have written as radius and height.former member wrote: ↑Wed Oct 25, 2017 21:31P is probability
The lower, the rarer the building will spawn.
Height is how far from the coastline. You can see exactly on Lobby's picture.
Radius just is the max difference from height where building can spawn.
- CommanderABab
- AB
- Reactions:
- Posts: 9128
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3035
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
Re: Advanced tags for building plugins
Gonna try this on 5 new maps.
- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3035
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
- CommanderABab
- AB
- Reactions:
- Posts: 9128
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
If you use the same map every time, they will probably always occur in the same area. If you have a max count on the buildings, they will probably only occur at the southern end of the map unless the probability is extremely small.

- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3035
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
Re: Advanced tags for building plugins
To fix it if I have max count, decrease probability by a lot, right?CommanderABab wrote: ↑Wed Oct 25, 2017 21:47If you use the same map every time, they will probably always occur in the same area. If you have a max count on the buildings, they will probably only occur at the southern end of the map unless the probability is extremely small.
- CommanderABab
- AB
- Reactions:
- Posts: 9128
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
As your buildings won't be built on water (unless you explicitly allow them to be built there) you may use something like radius:1000, height:100.
=^._.^= ∫
- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3035
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
Re: Advanced tags for building plugins
On what does sound play time depend?Lobby wrote: ↑Fri Jun 23, 2017 23:59Added attribute sound click to provide a sound file (from within your plugin's directory) which will be played when user taps on your building.
Example:A variety of audio formats is supported, see this listing for more information.Code: Select all
"sound click":{"file":"sound.ogg"}
- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3035
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
Re: Advanced tags for building plugins
Also a suggestion:
Code: Select all
"require IAP":true,
"IAP":"lobianajones"
-
- Inhabitant of a Planet
- Reactions:
- Posts: 1306
- Joined: Sun Nov 12, 2017 9:23
- Location: The Kingdom of Babilandia
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
What are the tags for building farmfields?
I tried making a new farmfield plugin but it always builds at roads despite setting the "needs roads: false".
I tried making a new farmfield plugin but it always builds at roads despite setting the "needs roads: false".
I rarely make plugins now, but I still make them in spare time.
Disclaimer
Disclaimer
- TheCrazyRobloxian
- Villager
- Reactions:
- Posts: 19
- Joined: Mon Nov 13, 2017 22:21
Re: Advanced tags for building plugins
hey, can someone give an example of how to use the rotation aware option?
Really basic plugin maker! - Plugins once every 10 years"



- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3035
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
Re: Advanced tags for building plugins
Crazy question #1:
Is there a possibility for one building created via plugin to have swat, police, fireman and healthcare emergency response?
Also I would like the ids for swat, police, fire truck and ambulance car.
Is there a possibility for one building created via plugin to have swat, police, fireman and healthcare emergency response?
Also I would like the ids for swat, police, fire truck and ambulance car.
- CommanderABab
- AB
- Reactions:
- Posts: 9128
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
- CommanderABab
- AB
- Reactions:
- Posts: 9128
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
JustAnyone wrote: ↑Thu Nov 30, 2017 23:56Crazy question #1:
Is there a possibility for one building created via plugin to have swat, police, fireman and healthcare emergency response? No.
Also I would like the ids for swat, police, fire truck and ambulance car.
Interesting statement!

Re: Advanced tags for building plugins
It's not possible as the responsibility of a building is determined by it's type and a building cannot have multiple types at the same time.
For car ids, have a look at the listing in 3 in the Cars documentation.
For car ids, have a look at the listing in 3 in the Cars documentation.
=^._.^= ∫
-
- Villager
- Reactions:
- Posts: 21
- Joined: Sun Aug 09, 2015 0:42
- Location: Grand Rapids Michigan
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
This might just be a dumb question, but can you create a building with say level 1 AND 2 so it keeps spawning throughout both levels?
-
- Villager
- Reactions:
- Posts: 21
- Joined: Sun Aug 09, 2015 0:42
- Location: Grand Rapids Michigan
- Plugins: Show
- Version: Beta
Re: Advanced tags for building plugins
Thanks Koala
My next question for you guys:
What does the "Usage" attribute inside of a json do?
Say: "Usage:100"
My next question for you guys:
What does the "Usage" attribute inside of a json do?
Say: "Usage:100"