[Resolved] help road deco...

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
choggoba
Townsman
Reactions:
Posts: 50
Joined: 20 Jul 2018, 08:30
Location: Korea
Plugins: Showcase Store

Platform

[Resolved] help road deco...

#1

Post by choggoba »

I want to make a road that is not driven by cars. And I want to decorate the road.

so I added the code to the road

"flag normal":false,


but I can't decorate the road after adding the code
(the road doesn't turn green when I'm making a road decoration)...

help me plz :cry:
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: help road deco...

#2

Post by CommanderABab »

You're right! I have a road that doesn't allow traffic. It also can't be decorated.
User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: help road deco...

#3

Post by Lobby »

Thank you! That is a bug :bf

The condition to place road decorations was

Code: Select all

(road.flags & deco.requiredFlags) != 0
which means that only if common flags are set the decoration can be built. I'll change it so that you can always build decorations on roads without flags :)
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: help road deco...

#4

Post by CommanderABab »

Thanks! You probably set it that way do that fire brigades can reach fires and police can clear accidents.
User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: help road deco...

#5

Post by Lobby »

I just didn't think of that you would want to use no flags at all :lol:
User avatar
choggoba
Townsman
Reactions:
Posts: 50
Joined: 20 Jul 2018, 08:30
Location: Korea
Plugins: Showcase Store

Platform

Re: help road deco...

#6

Post by choggoba »

CommanderABab wrote: 18 Oct 2019, 18:22 You're right! I have a rosd that doesn't allow traffic. It also can't be decorated.
Thank you for your interest!!
User avatar
choggoba
Townsman
Reactions:
Posts: 50
Joined: 20 Jul 2018, 08:30
Location: Korea
Plugins: Showcase Store

Platform

Re: help road deco...

#7

Post by choggoba »

Lobby wrote: 18 Oct 2019, 18:31 Thank you! That is a bug :bf

The condition to place road decorations was

Code: Select all

(road.flags & deco.requiredFlags) != 0
which means that only if common flags are set the decoration can be built. I'll change it so that you can always build decorations on roads without flags :)

I see! I thought I couldn't do it because I didn't know. Thank you!!! :D
User avatar
JejomarPlayz
Settler
Reactions:
Posts: 7
Joined: 03 Nov 2019, 06:52
Plugins: Showcase Store

Plugin Creator

Platform

Re: help road deco...

#8

Post by JejomarPlayz »

Thank You For Your Help Dev. Lobby :android :bc :mrgreen:
Post Reply Previous topicNext topic

Return to “Problems”