Page 1 of 1

6-lane road

Posted: 17 Apr 2018, 04:22
by Tiar/A
Could somebody make a plugin for a 6-lane road please?

We know that each road in the game is two lanes wide, so if you stack multiple roads next to each other, the resulting number of lanes swells to (number of roads laying next to each other multiplied by 2) (e.g., 3 roads × 2 lanes per road = 6-lane road)

It should be 3 tiles wide, looking as if you put down a country road, and then a one-way road on each side.

In real life, such roads look like this:
See how the airport runway is 3 tiles wide.
See how the airport runway is 3 tiles wide.
Maybe someone could modify the game's airport runway.

The default airport runway is also 3 tiles wide.


The new plugin road should have a central tile road that has a double-yellow line down the center and no outlines, then on each side of that, a two-lane road with a blank left side and a white line on the right side.

I would do this myself, but I don't know how to create plugins, and even though I've asked what app you guys are all using to create plugins multiple times, nobody will answer me.

Re: 6-lane road

Posted: 17 Apr 2018, 04:49
by Caliber
I think 6 way can't but 8 way can just use 2 one way road each side. If you want speed road one way, use Highway Road.

Re: 6-lane road

Posted: 17 Apr 2018, 05:03
by SavageKingYT
I think It would be great if they created a cloverleaf interchange or a diverging diamond

Re: 6-lane road

Posted: 17 Apr 2018, 06:20
by Caliber

Re: 6-lane road

Posted: 17 Apr 2018, 10:23
by Lobby
It can be done by using a one-way road of width 3 with a regular road as decoration (that will be used as road in the middle).

Re: 6-lane road

Posted: 18 Apr 2018, 05:17
by Tiar/A
Lobby wrote:
17 Apr 2018, 10:23
It can be done by using a one-way road of width 3 with a regular road as decoration (that will be used as road in the middle).
But then that way only four of the six lanes can be used for travel, if the middle road is decoration only.

Re: 6-lane road

Posted: 18 Apr 2018, 05:20
by Tiar/A
I'm talking about making a new road that shares the same base properties of the currect airport runway. You know how the white center line on the runway is straight down the center of the middle part?

One could possibly make a road that looks like that, but instead of the white center line, you have a double yellow line and then two sets of dashed white lines on each side of the double yellow line.

Re: 6-lane road

Posted: 18 Apr 2018, 05:41
by Tiar/A
And then as for the white dashed lines on the road, there can only be two of those white dashed lines on each tile. One is separating the central road and outer roads, and the next is in the middle of the tile on the outer roads.

If I do it the way I've been doing it, it looks like this:
Screenshot_2018-04-17-20-30-00.png


But I want it to look like this:
Screenshot_2018-04-17-20-31-45.png


And the runway looks like this:
Screenshot_2018-04-17-20-36-08.png


If someone could make the runway (the third picture) look like a 6-lane road (the second picture), I'd be so happy.

Like I said, if knew how to make plugins I'd try to do this myself, but I don't know how to do that, and nobody will answer me on how to.

All images are screenshots of an app called Intersection Controller.

Re: 6-lane road

Posted: 18 Apr 2018, 10:26
by Lobby
Using a road as decoration is how the runway works. Here's the code :json

Code: Select all

[
  {
    "hidden":true,
    "id":"$ap_field_mid00",
    "type":"road",
    "frames":[
      {"x":512,"y":512,"w":32,"h":16,"count":7,"offset y":3072},
      {"x":576,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":768,"y":512,"w":32,"h":16,"count":3,"offset y":3072},
      {"x":608,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":896,"y":512,"w":32,"h":16,"offset y":3072},
      {"x":640,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":672,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":544,"y":528,"w":32,"h":16,"offset y":3072},

      {"x":512,"y":512,"w":32,"h":16,"count":7,"offset y":3072},
      {"x":576,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":768,"y":512,"w":32,"h":16,"count":3,"offset y":3072},
      {"x":608,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":896,"y":512,"w":32,"h":16,"offset y":3072},
      {"x":640,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":672,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":512,"y":528,"w":32,"h":16,"offset y":3072},

      {"x":512,"y":512,"w":32,"h":16,"count":7,"offset y":3072},
      {"x":576,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":768,"y":512,"w":32,"h":16,"count":3,"offset y":3072},
      {"x":608,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":896,"y":512,"w":32,"h":16,"offset y":3072},
      {"x":640,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":672,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":544,"y":528,"w":32,"h":16,"offset y":3072},

      {"x":512,"y":512,"w":32,"h":16,"count":7,"offset y":3072},
      {"x":576,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":768,"y":512,"w":32,"h":16,"count":3,"offset y":3072},
      {"x":608,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":896,"y":512,"w":32,"h":16,"offset y":3072},
      {"x":640,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":672,"y":528,"w":32,"h":16,"offset y":3072},
      {"x":512,"y":528,"w":32,"h":16,"offset y":3072}
    ],
    // ...
    "level":11,
    "devoted":true,
    "one way":true,
    "flag normal":false,
    "flag airport":true,
    "connectable":false,
    "zone":"$zoneairport",
    "price":10000,
    "title id":"draft_ap_field00_title",
    "text id":"draft_ap_field00_text",
    "allow bus stop":false,
    "meta":{
      "tags":{
        "airport lane":{}
      }
    }
  },
  {
    "id":"$ap_field00",
    "type":"road",
    "width":3,
    "frames":[{"x":512,"y":512,"w":32,"h":16,"count":16,"offset y":3072}],
    // ...
    "decoration buildings":[
      "$ap_field_mid00"
    ],
    "level":10,
    "devoted":true,
    "flag normal":false,
    "flag airport":true,
    "connectable":false,
    "category":"$cat_airport00",
    "zone":"$zoneairport",
    "price":10000,
    "allow bus stop":false
  }
]
Decoration in this context means that this "object" will be used to decorate the mid lane. It has no impact on it's functionality.

Re: 6-lane road

Posted: 19 Apr 2018, 01:17
by CommanderABab

Re: 6-lane road

Posted: 19 Apr 2018, 01:18
by CommanderABab
Screenshot_20180418-181351.png

Re: 6-lane road

Posted: 20 Apr 2018, 04:52
by Tiar/A
And I don't think there should be any walls on the inner road bridges either.

Re: 6-lane road

Posted: 20 Apr 2018, 09:23
by CommanderABab
There aren't in the plugin version. But to remove them removes the outer walls also.

Re: 6-lane road

Posted: 20 Apr 2018, 15:46
by Chisako
Maybe it's like this?

He is still alive.
He is still alive.

This is one incomplete sample I made.
I tried the "silent frames" code.
The strange color of the road is for testing, and the numbers are for hints.

I hope this will be your hint.

Re: 6-lane road

Posted: 24 Apr 2018, 01:06
by Tiar/A
Yes, just like that but with only two white lines per road tile instead of 4. And when CommanderABab gave me permission to modify the png, I made it so the lines were six pixels long:
outerr.png
outerr.png (1.55 KiB) Viewed 7649 times