[Commercial]Ups

Show us your commercial plugins!

Moderator: Plugin Moderators

Forum rules
Plugins of type commercial go here :)
User avatar
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

#1

Post by Borbor »

Attachments
ups.zip
(2.21 KiB) Downloaded 794 times
Screenshot_2017-11-07-18-04-47.png
Screenshot_2017-11-07-18-05-04.png
Last edited by Borbor on 08 Nov 2017, 05:47, edited 1 time in total.

User avatar
-LeoLeo-
Inhabitant of a Solar System
Reactions:
Posts: 1624
Joined: 08 Jul 2017, 12:46
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: [Commercial]Ups

#2

Post by -LeoLeo- »

Can the UPS truck do left turns when driving out the right side??... XD

User avatar
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

Re: [Commercial]Ups

#3

Post by Borbor »

I fixed the error

User avatar
-LeoLeo-
Inhabitant of a Solar System
Reactions:
Posts: 1624
Joined: 08 Jul 2017, 12:46
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: [Commercial]Ups

#4

Post by -LeoLeo- »

Borbor wrote:
08 Nov 2017, 05:48
I fixed the error
It's not the error, It's a real american UPS driver policy! I'm just asking for fun!

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Commercial]Ups

#5

Post by CommanderABab »

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.

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Commercial]Ups

#6

Post by CommanderABab »

If the plugin car had a list of targets and the player built the targets correctly, this could be done.

User avatar
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

Re: [Commercial]Ups

#7

Post by Borbor »

Wow ! I did not understand anything.

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Commercial]Ups

#8

Post by CommanderABab »

Code: Select all

"car spawner":[
        {
          "cars":["$ab.hotairballooncar00"],
          "count":2000,
          "radius":400,
          "targets":[
             "$watertower00",
             "$gasplant00",
             "$windturbine00",
             "$nuclearplant00",
             "$solarpanels00",
             "$busstop00",
             "$busdepot00",
             "$railstation00"     
          ]
        }
      ]
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.

Post Reply Previous topicNext topic

Return to “Commercial”