Page 6 of 7

Re: Roads

Posted: 25 Nov 2021, 10:30
by CommanderABab
Wepf wrote:
25 Nov 2021, 09:45
Screenshot_20211125-141913_TheoTown.jpg


How to make the road have seawalls, please send me the link of the tutorial or teach me
Screenshot_20211125-022109_TheoTown.jpg
It's automatic by the game when something is built on water's edge or on a slope.

Re: Roads

Posted: 25 Nov 2021, 11:22
by Wepf
CommanderABab wrote:
25 Nov 2021, 10:30
Wepf wrote:
25 Nov 2021, 09:45
Screenshot_20211125-141913_TheoTown.jpg


How to make the road have seawalls, please send me the link of the tutorial or teach me
Screenshot_20211125-022109_TheoTown.jpg

It's automatic by the game when something is built on water's edge or on a slope.
But it doesn't appear when I build it from my road plugin

Re: Roads

Posted: 25 Nov 2021, 11:25
by CommanderABab
Which plugin is that?

Re: Roads

Posted: 26 Nov 2021, 05:06
by Wepf
CommanderABab wrote:
25 Nov 2021, 11:25
Which plugin is that?
Here the link
⬇️
viewtopic.php?f=59&t=14117

Re: Roads

Posted: 14 Dec 2021, 07:59
by Hadestia
Does "frames" And "one way frames" Array are different?

Re: Roads

Posted: 19 Jan 2022, 04:22
by SRBAPH
hello! I'm making a diagonal road for my own plugin, but I'm confused about the frames bc I cant make frames without any guides...

Re: Roads

Posted: 01 Mar 2022, 11:38
by Yakka
Hello,how i can add one lane road?
And also,is it possible to force vehicle that goes to road that i made using provided V2?

Re: Roads

Posted: 01 Mar 2022, 11:39
by Yakka
SRBAPH wrote:
19 Jan 2022, 04:22
hello! I'm making a diagonal road for my own plugin, but I'm confused about the frames bc I cant make frames without any guides...
viewtopic.php?p=171988#p171988

Re: Roads

Posted: 02 Mar 2022, 01:45
by TheFennekin
Naufhal wrote:
01 Mar 2022, 16:58
Admin. What function "count"
Number of times on how many frames will be used. Used when there is multiple frames on one image file. (Like the road image file for example)

Since we have 16 road frames to be used, we then must put "count":16 just like this:
"bmp":[{image.png},"count":16,"w":enter width of each frame, "h":enter height of each frame}]

Hope this helps Naufhal

Re: Roads

Posted: 04 Mar 2022, 15:25
by Marsneko
How do you make a left-hand road?

Re: Roads

Posted: 06 Mar 2022, 02:21
by TheFennekin
Marsneko wrote:
04 Mar 2022, 15:25
How do you make a left-hand road?
You can't specify it on the json itself. Go to settings, turn on experimental features and debug on, then turn on the left hand drive roads option. Works on 2 way roads only.

Re: Roads

Posted: 06 Mar 2022, 05:08
by Marsneko
ok.Will that be reflected in the plugin?

Re: Roads

Posted: 14 Mar 2022, 10:29
by yusuf8a684
diagonal bridges possible?

Re: Roads

Posted: 14 Mar 2022, 11:11
by TheFennekin
Marsneko wrote:
06 Mar 2022, 05:08
ok.Will that be reflected in the plugin?
Plugin or ingame roads, it will make it LHD road

Re: Roads

Posted: 22 May 2022, 21:24
by FVI
What can I do if I want to allow only a certain vehicle to pass through that road?

Re: Roads

Posted: 23 May 2022, 03:22
by CommanderABab
An example only:

Code: Select all

{ 
    "id":"abcd", 
    "type":"car", 
    "frames":[ 
      {"bmp":"yourcarframes","w":#,"count":4}
    ], 
    "capacity":355,
    "flag user3":true,
    "flag user2":true,
    "flag normal":false,
    "speed":0.35,
    "v2":true 
  },

...in some other id:
{
"car spawner":[
           {
             "cars":["abcd"],
             "count":1000,
             "radius":2000,
             "targets":[
              "$watertower00",
              "$gasplant00",
              "$windturbine00",
              "$nuclearplant00",
              "$solarpanels00"
             ]
           }
    ]   
}

You would also use these same flags in your road:

Code: Select all

...
    "flag user3":true,
    "flag user2":true,
    "flag normal":false,
    ...

Re: Roads

Posted: 29 May 2022, 21:24
by FVI
?I do not understand Can you make a summary of all the meanings of that attributes? :bt

Re: Roads

Posted: 19 Jun 2022, 15:21
by erionit
Kiki012 wrote:
01 Mar 2022, 11:38
Hello,how i can add one lane road?
And also,is it possible to force vehicle that goes to road that i made using provided V2?
the same question. how to make, for example, a road in the center of which there will be one lane, and on the sides at once pedestrian / bike paths (even if the latter are just decor)

Diagonal 4 lane road.

Posted: 27 Oct 2022, 04:21
by Yakka
road_Asphalt_dia_white_Double.png
road_Asphalt_dia_white_Double.png (6 KiB) Viewed 6526 times
road_Asphalt_white_Double.png
road_Asphalt_white_Double.png (5.2 KiB) Viewed 6526 times
Free to use,credit is appreciated.

Re: Roads

Posted: 27 Oct 2022, 11:50
by PixelDubs
What a flipping legend