But it doesn't appear when I build it from my road pluginCommanderABab wrote: ↑25 Nov 2021, 10:30Screenshot_20211125-022109_TheoTown.jpg
It's automatic by the game when something is built on water's edge or on a slope.
Roads
Moderators: Scenario Moderators, Plugin Moderators
- Wepf
- Inhabitant of a Megacity
- Posts: 285
- Joined: 14 Oct 2021, 10:19
- Location: Your lucid dream
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Roads
- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Roads
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
- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- CommanderABab
- AB
- Posts: 11240
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Roads
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,
...
- erionit
- Metropolitan
- Posts: 116
- Joined: 31 Dec 2021, 20:56
- Location: Russia
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Roads
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)