Re: Cars
Posted: 02 Feb 2018, 01:24
My plugins spawn cars just fine. Keep traffic set at 2x or less in the settings. Give the cars targets to go to and a fairly large radius so that they have a chance of finding targets.
Code: Select all
"v2":[0,0,0,0]
Code: Select all
"v2":[1,0,1,0]
Couldn't find it in the world texture
Code: Select all
"car spawner":[
{
"cars":["$bigcarplugin63"],
"count":1000,
"radius":3000,
"level":-1,
"targets":[
"$busdepot00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$busstop00",
"$busdepot00",
"$railstation00",
"$bigpark00" ,
"$easteregg00"
]
},
{
"cars":["$bigcarplugin63"],
"count":1000,
"radius":3000,
"level":0,
"targets":[
"$busdepot00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$busstop00",
"$busdepot00",
"$railstation00",
"$bigpark00" ,
"$easteregg00"
]
},
{
"cars":["$bigcarplugin63"],
"count":1000,
"radius":3000,
"level":1,
"targets":[
"$busdepot00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$busstop00",
"$busdepot00",
"$railstation00",
"$bigpark00" ,
"$easteregg00"
]
},
{
"cars":["$bigcarplugin63"],
"count":1000,
"radius":3000,
"level":2,
"targets":[
"$busdepot00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$busstop00",
"$busdepot00",
"$railstation00",
"$bigpark00" ,
"$easteregg00"
]
},
{
"cars":["$bigcarplugin63"],
"count":1000,
"radius":3000,
"level":3,
"targets":[
"$busdepot00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$busstop00",
"$busdepot00",
"$railstation00",
"$bigpark00" ,
"$easteregg00"
]
},
{
"cars":["$bigcarplugin63"],
"count":1000,
"radius":3000,
"level":4,
"targets":[
"$busdepot00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$easteregg00",
"$busstop00",
"$busdepot00",
"$railstation00",
"$bigpark00" ,
"$easteregg00"
]
},
{
"cars":["$bigcarplugin63"],
"count":100,
"radius":300,
"level":1
}
],
Code: Select all
{ "id":"milkcar.28eu9jd",
"type":"car",
"frames":[ {"bmp":"milkcar.png",
"w":15,
"h":10,
"count":4} ,
{"bmp":"milkcar.png",
"w":15,
"h":10,
"count":4},
{"bmp":"milkcar.png",
"w":15,
"h":10,
"count":4} ],
"v2":true,
"capacity":1,
"flag normal":false,
"flag user2":true },
[ { "id":"milfarm929jd",
"type":"industrial",
"workers":190,
"author":"Lancaster Kingdom",
"width":1,
"height":1,
"frames":[{"bmp":"milkfarm.png"}],
"smoke":[{"id":"$smoke07",
"x":13,
"y":-14}],
"level":3,
"car spawner":[ { "cars":["milkcar.28eu9jd"],
"radius":100,
"count":70 } ] } ]
Code: Select all
[{ "id":"milkcar.28eu9jd",
"type":"car",
"frames":[ {"bmp":"milkcar.png",
"w":15,
"h":10,
"count":4} ],
"v2":true,
"capacity":1,
"flag normal":false,
"flag user2":true },
{ "id":"milfarm929jd",
"type":"industrial",
"workers":190,
"author":"Lancaster Kingdom",
"width":1,
"height":1,
"frames":[{"bmp":"milkfarm.png"}],
"smoke":[{"id":"$smoke07",
"x":13,
"y":-14}],
"level":3,
"car spawner":[ { "cars":["milkcar.28eu9jd"],
"radius":100,
"count":70 } ] } ]
Is there a template for emergency vehicles, like SWAT vans, to be specific?Lobby wrote: ↑26 Jan 2018, 01:512. You have to add this into your bus definition:The bus will then be added to the variants of busses.Code: Select all
"template":"$template_bus00"