Proper flags for cars

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3536
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

Platform

Proper flags for cars

#1

Post by Lobby »

Hey, I want to inform you that since the flag interpretation of cars is the same as for roads the meaning of "flag normal":true (which is set by default) also enables the same flags. Namely flag normal will act as if you set

Code: Select all

"flag pkw":true,
"flag lkw":true,
"flag tractor":true,
"flag bus":true
The reason for that behavior is convenience when it comes to road definitions. However, for cars you usually don't want flags to be set that don't actually match your car's type (e.g. bus). Otherwise it could for example use roads that it's not supposed to.

To overcome that use

Code: Select all

"flag normal":false
and enable only the appropriate flags for your car afterwards :teach
=^._.^= ∫

User avatar
Imran M
Inhabitant of a Megalopolis
Reactions:
Posts: 643
Joined: Wed Oct 24, 2018 13:41
Plugins: Show

Platform

Plugin Creator

Re: Proper flags for cars

#2

Post by Imran M »

Finally! A post that makes flags easier to understand! :D
I have no clue what's happening this year

User avatar
yusuf8a684
Inhabitant of a Planet
Reactions:
Posts: 1300
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show

Plugin Creator

Platform

Re: Proper flags for cars

#3

Post by yusuf8a684 »

Lobby but how could we remove emergency vehicles and taxis from roads?
The Internet Addict

I can't define my self time to time... Just do not %100 trust me. Texting that honestly...

Know your friends well, enemies

User avatar
JustAnyone
enjenir
Reactions:
Posts: 2922
Joined: Sun Jul 23, 2017 12:45
Location: Easter Island
Plugins: Show

Re: Proper flags for cars

#4

Post by JustAnyone »

Try

Code: Select all

"flag military":false
for removal of service cars, though it's not advised.
Perfect way to comment stuff out :)
🦀Now available as administrator🦀
Image

:pickle:

User avatar
yusuf8a684
Inhabitant of a Planet
Reactions:
Posts: 1300
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show

Plugin Creator

Platform

Re: Proper flags for cars

#5

Post by yusuf8a684 »

JustAnyone wrote:
Fri Jan 18, 2019 20:54
Try

Code: Select all

"flag military":false
for removal of service cars, though it's not advised.
Thanks but I hope it will deny taxis on it too
The Internet Addict

I can't define my self time to time... Just do not %100 trust me. Texting that honestly...

Know your friends well, enemies

User avatar
yusuf8a684
Inhabitant of a Planet
Reactions:
Posts: 1300
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show

Plugin Creator

Platform

Re: Proper flags for cars

#6

Post by yusuf8a684 »

What is the flag tag for fire engines?
The Internet Addict

I can't define my self time to time... Just do not %100 trust me. Texting that honestly...

Know your friends well, enemies

User avatar
yusuf8a684
Inhabitant of a Planet
Reactions:
Posts: 1300
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show

Plugin Creator

Platform

Re: Proper flags for cars

#7

Post by yusuf8a684 »

"flagairport":false,"flagambulance":false,"flagbus":false,"flaglkw":false,"flagmedic":false,"flagmilitary":false,"flagnormal":false,"flagpedestrian":false,"flagpkw":false,"flagpolice":false,"flagtaxi":false,"flagtractor":false,"flagtram":true,"flagtruck":false,"
That is me trying to ban all flags except tram lol :bb
The Internet Addict

I can't define my self time to time... Just do not %100 trust me. Texting that honestly...

Know your friends well, enemies

User avatar
JustAnyone
enjenir
Reactions:
Posts: 2922
Joined: Sun Jul 23, 2017 12:45
Location: Easter Island
Plugins: Show

Re: Proper flags for cars

#8

Post by JustAnyone »

Don't forget the space!
Perfect way to comment stuff out :)
🦀Now available as administrator🦀
Image

:pickle:

User avatar
yusuf8a684
Inhabitant of a Planet
Reactions:
Posts: 1300
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show

Plugin Creator

Platform

Re: Proper flags for cars

#9

Post by yusuf8a684 »

JustAnyone wrote:
Sat Jan 19, 2019 18:40
Don't forget the space!
I added spaces lol but still ambulances, taxis, fire engines, polices and semi trucks can go over it :(
The Internet Addict

I can't define my self time to time... Just do not %100 trust me. Texting that honestly...

Know your friends well, enemies

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”