Page 7 of 7
Re: Roads
Posted: 17 Nov 2023, 15:25
by BlueFlame_00
Hello, how do you make an automatic barrier like on bridges to show on a road that's on the ground? Something like choggoba's diagonal overpass plugin or the built-in expressway and highway roads.
Re: Roads
Posted: 16 Mar 2024, 04:52
by nanmu
我是否可以做到使我的道路桥梁一边有桥梁贴图,而另一边没有。
Re: Roads
Posted: 17 Mar 2024, 19:07
by CommanderABab
nanmu wrote: ↑16 Mar 2024, 04:52
我是否可以做到使我的道路桥梁一边有桥梁贴图,而另一边没有。
Is it possible for me to make one side of my road bridge have a bridge texture and the other side not.
Yes, if you make a road plugin with such bridge frames.
Re: Roads
Posted: 15 May 2024, 15:17
by Vax
Im having trouble here. Can anyone help me? The bridge is glitchy and has a white background that is annoying, btw im a new plugin creator. My code looks like this:
[
{
"id":"$Road00",
"title":"Red-lined Country Road",
"text":"A country road designed to have Red lines.",
"type":"road",
"level":1,
"speed":2.5,
"frames":[{"bmp":"Country_roads_redlines.png","w":32,"h":16,"count":16}],
"slope frames":[
{"x":120,"y":311,"w":32,"h":32,"count":4,"offset x":2048,"offset y":1024}],
"bridge frames":[{"bmp":"Bridge.png","w":32,"h":48,"count":12}],
"frames per bridge":12,
"traffic lights":[{"bmp":"tf.png","w":32,"h":32,"count":4}],
"green phase":3000,
"yellow phase":500,
"price":50,
"bridge price":200,
"monthly price":2
}
]
Re: Roads
Posted: 15 May 2024, 19:45
by CommanderABab
Vax wrote: ↑15 May 2024, 15:17
Im having trouble here. Can anyone help me? The bridge is glitchy and has a white background that is annoying, btw im a new plugin creator. My code looks like this:
Code: Select all
[
{
"id":"$Road00",
"title":"Red-lined Country Road",
"text":"A country road designed to have Red lines.",
"type":"road",
"level":1,
"speed":2.5,
"frames":[{"bmp":"Country_roads_redlines.png","w":32,"h":16,"count":16}],
"slope frames":[
{"x":120,"y":311,"w":32,"h":32,"count":4,"offset x":2048,"offset y":1024}],
"bridge frames":[{"bmp":"Bridge.png","w":32,"h":48,"count":12}],
"frames per bridge":12,
"traffic lights":[{"bmp":"tf.png","w":32,"h":32,"count":4}],
"green phase":3000,
"yellow phase":500,
"price":50,
"bridge price":200,
"monthly price":2
}
]
You might upload the frames in question. Maybe the white is the background in the images and isn't transparent.
Re: Roads
Posted: 16 May 2024, 00:37
by Vax
Oh. Ok ty, im new to this plug-in stuffs.
Re: Roads
Posted: 26 Aug 2024, 23:00
by Ross The Mayor
What about pedestrians only on the road? What should the code look like?
Re: Roads
Posted: 31 Jan 2025, 13:25
by Trixie Izumi
I want to make a one way bus road, but it always error, can someone help me?
[
{
"id": "Bus WayRoad",
"title": "Bus Way Road",
"author": "Trixie Izumi",
"meta": {
"pca": {
"version": "4.4.1"
}
},
"frames": [
{"bmp":"black_road.png","w":32,"h":16,"count":16}
{"bmp":"black_road.png","w":32,"h":16,"count":16}
{"bmp":"black_road.png","w":32,"h":16,"count":16}
{"bmp":"black_road.png","w":32,"h":16,"count":16}
],
"level": 1,
"speed": 10,
"flag normal": "false",
"flag bus": "true",
"type": "road",
"one way": "true"
}
]
*edit: Now it has been fixed by adding (,)
Sorry I didn't delete it because I didn't know how
Re: Roads
Posted: 05 Mar 2025, 11:32
by KuroSgim
I desperately need to know how to make a road that's one way road and only allow specify or a certain car

i got the road frame, the car frame all i need is the json

Re: Roads
Posted: 08 Apr 2025, 12:21
by Diogonal
,

Re: Roads
Posted: 08 Apr 2025, 12:22
by Diogonal
KuroSgim wrote: ↑05 Mar 2025, 11:32
I desperately need to know how to make a road that's one way road and only allow specify or a certain car

i got the road frame, the car frame all i need is the json
To make the road only one way, you need to add "one way":true,