Page 3 of 11

Re: Advanced tags for building plugins

Posted: 12 Nov 2017, 12:03
by JustAnyone
Lobby wrote:
23 Jun 2017, 23:59
Added 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:

Code: Select all

"sound click":{"file":"sound.ogg"}
A variety of audio formats is supported, see this listing for more information.
On what does sound play time depend?

Re: Advanced tags for building plugins

Posted: 12 Nov 2017, 13:53
by JustAnyone
Also a suggestion:

Code: Select all

"require IAP":true,
"IAP":"lobianajones"

Re: Advanced tags for building plugins

Posted: 18 Nov 2017, 16:47
by cesareborgia94
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".

Re: Advanced tags for building plugins

Posted: 20 Nov 2017, 23:00
by TheCrazyRobloxian
hey, can someone give an example of how to use the rotation aware option?

Re: Advanced tags for building plugins

Posted: 30 Nov 2017, 23:56
by JustAnyone
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.

Re: Advanced tags for building plugins

Posted: 01 Dec 2017, 00:01
by CommanderABab
No

Re: Advanced tags for building plugins

Posted: 01 Dec 2017, 00:04
by CommanderABab
JustAnyone wrote:
30 Nov 2017, 23:56
Crazy 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

Posted: 01 Dec 2017, 00:37
by Lobby
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.

Re: Advanced tags for building plugins

Posted: 14 Dec 2017, 04:13
by BruceWillis24
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?

Re: Advanced tags for building plugins

Posted: 19 Dec 2017, 04:26
by BruceWillis24
Thanks Koala

My next question for you guys:

What does the "Usage" attribute inside of a json do?

Say: "Usage:100"

Re: Advanced tags for building plugins

Posted: 29 Dec 2017, 22:46
by MONTEMARINO
I want to make a University: how can I encode the JSON for capacity of students and education influence?

Thanks!

Re: Advanced tags for building plugins

Posted: 31 Dec 2017, 10:43
by MONTEMARINO
former member wrote:
29 Dec 2017, 22:51
For influences

Code: Select all

"influence education low":50

Code: Select all

"influence education high":50
For students

Code: Select all

"provide aspect education low":100

Code: Select all

"provide aspect education high":100

Thank You!

Re: Advanced tags for building plugins

Posted: 14 Jan 2018, 12:08
by Lobby
It's hardcoded... For the fire frames there's an animation of id $animationfire04, but it won't look good.

Re: Advanced tags for building plugins

Posted: 14 Jan 2018, 12:22
by JustAnyone
Lobby, build time is no longer only for RCI?

Re: Advanced tags for building plugins

Posted: 14 Jan 2018, 13:55
by Kulche
Ooh, I have a question about fire; is it possible to add custom fire frames for choosen building?

Re: Advanced tags for building plugins

Posted: 15 Jan 2018, 17:21
by Lobby
@JustAnyone What exactly do you mean by that? It should be reversed.

@Kulche No, you can just override fire frames in general.

Re: Advanced tags for building plugins

Posted: 15 Jan 2018, 17:41
by JustAnyone
@Lobby other building types can use build time attribute now?

Re: Advanced tags for building plugins

Posted: 15 Jan 2018, 19:52
by Kulche
Can a building be unplaceable by a player, but placed when creating a new map? .....................oil industry coming

Re: Advanced tags for building plugins

Posted: 15 Jan 2018, 20:21
by JustAnyone
That's not what he asked for.

Re: Advanced tags for building plugins

Posted: 15 Jan 2018, 20:51
by Kulche
As soon you can't build it, it's OK.