Roads
Re: Roads
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
}
]
[
{
"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
}
]
-
CommanderABab
- AB
- Reactions:
- Posts: 11263
- Joined: 07 Jun 2016, 19:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Roads
You might upload the frames in question. Maybe the white is the background in the images and isn't transparent.Vax wrote: 15 May 2024, 13: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 } ]
Re: Roads
Oh. Ok ty, im new to this plug-in stuffs.
Re: Roads
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
[
{
"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
You do not have the required permissions to view the files attached to this post.
Last edited by Trixie Izumi on 31 Jan 2025, 13:10, edited 1 time in total.
Re: Roads
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
How To Make One Way Roads?
But With 16 Bridge Frames
But With 16 Bridge Frames
Re: Roads
Guys, I need a 4 lane highway's texture and code. Anyone please help me..
Re: Roads
Is it possible to make a pedestrian and emergency vehicle only, so I want to make a walkable city but sometimes building need access for firefighters, police and ambulance
Re: Roads
Salom men koʻrinmas yoʻl yaratmoqchiman unga qanday kod yozsam boʻladi
-
CommanderABab
- AB
- Reactions:
- Posts: 11263
- Joined: 07 Jun 2016, 19:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Roads
Hello, I want to create an invisible path, what code can I write for it?Bahrom mark wrote: 20 Feb 2026, 19:01 Salom men koʻrinmas yoʻl yaratmoqchiman unga qanday kod yozsam boʻladi
Re: Roads
I believe you just leave the frame empty no? And the code the same as other with visible frameBahrom mark wrote: 20 Feb 2026, 19:01 Salom men koʻrinmas yoʻl yaratmoqchiman unga qanday kod yozsam boʻladi
Re: Roads
is it possible to make the one-way has 64 bridge parts each of them is one-to-one correspondence to the roads? for the situation that most parts of the road are different.
-
Player_no_Zero
- Metropolitan
- Reactions:
- Posts: 132
- Joined: 06 May 2019, 07:18
- Location: Somewhere in Manila, Philippines
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Roads
Question. How to create a one-lane road with only one lane, similar to a one-way road with two lanes in-game where only one vehicle can drive at a time. Second, is it possible to generate randomized pillars in the bridge? Third question, I may have missed this one, but how to make the ramp with a pillar?
