[Commercial]Ups
Moderator: Plugin Moderators
Forum rules
Plugins of type commercial go here
Plugins of type commercial go here
- Borbor
- Inhabitant of a Conurbation
- Reactions:
- Posts: 360
- Joined: 27 Apr 2017, 14:03
- Location: Republic of Turkey
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
[Commercial]Ups
- Attachments
-
- ups.zip
- (2.21 KiB) Downloaded 813 times
Last edited by Borbor on 08 Nov 2017, 05:47, edited 1 time in total.
- -LeoLeo-
- Inhabitant of a Solar System
- Reactions:
- Posts: 1624
- Joined: 08 Jul 2017, 12:46
- Location: Usa
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: [Commercial]Ups
Can the UPS truck do left turns when driving out the right side??...
Online
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: [Commercial]Ups
The policy would be maximize right turns when driving on the right and left turns in countries driving on the left. Plugin vehicles are not able to control the pathfinding algorithm.
Online
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: [Commercial]Ups
If the plugin car had a list of targets and the player built the targets correctly, this could be done.
Online
This is the car spawner for my hot air balloons. If the city has all these buildings, the cars (balloons) spawned from the hot air balloon school will try to visit each of these in order if they are reachable. So, if these buildings were placed in a circle in this order around the school, they (the balloons) would never make a left turn. Assuming right hand drive roads, where left turns always have to wait for traffic to clear or for traffic lights to allow them through, it is more efficient to not make left turns if possible.
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: [Commercial]Ups
Code: Select all
"car spawner":[
{
"cars":["$ab.hotairballooncar00"],
"count":2000,
"radius":400,
"targets":[
"$watertower00",
"$gasplant00",
"$windturbine00",
"$nuclearplant00",
"$solarpanels00",
"$busstop00",
"$busdepot00",
"$railstation00"
]
}
]