Re: Why does this happen?

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
CommanderABab
AB says 735 is broken!
Reactions:
Posts: 7475
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Why does this happen?

#1

Post by CommanderABab » Sun Feb 04, 2018 11:23

What's the spawn code?

<Koala was asking why his Mitsubishis just stayed in one place.>
Last edited by CommanderABab on Wed Aug 29, 2018 5:03, edited 1 time in total.
Reason: Added my recollection of topic start
736!736Currently using beta 736. 736 What's new? :)
Ambient sounds!!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
Lobby
Developer
Reactions:
Posts: 3324
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Why does this happen?

#2

Post by Lobby » Sun Feb 04, 2018 12:12

It probably searches for a new way for a new target...
...Have a nice stay

User avatar
CommanderABab
AB says 735 is broken!
Reactions:
Posts: 7475
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Why does this happen?

#3

Post by CommanderABab » Sun Feb 04, 2018 12:17

You need another target in the list after it reaches

Code: Select all

"mitsubishi_koala04"
.

Try

Code: Select all

"targets":["$mitsubishi_koala04","$zoneresidential_lvl2"] 
736!736Currently using beta 736. 736 What's new? :)
Ambient sounds!!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
Lobby
Developer
Reactions:
Posts: 3324
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: โœ”๏ธ Why does this happen?

#4

Post by Lobby » Sun Feb 04, 2018 13:32

[mention]CommanderABab[/mention] as far as I know you cannot target zones, but nice idea :bc
...Have a nice stay

User avatar
CommanderABab
AB says 735 is broken!
Reactions:
Posts: 7475
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: โœ”๏ธ Why does this happen?

#5

Post by CommanderABab » Sun Feb 04, 2018 13:42

Code: Select all

"car spawner":[
        {
          "cars":["$ab.hotairballooncar00"],
          "count":2,
          "radius":400,
          "targets":[
             "$watertower00",
             "$gasplant00",
             "$windturbine00",
             "$nuclearplant00",
             "$solarpanels00",
             "$busstop00",
             "$busdepot00",
             "$railstation00",
             "$zoneresidential_lvl2",
             "$zoneresidential"   
          ]
        }
      ],
736!736Currently using beta 736. 736 What's new? :)
Ambient sounds!!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
CommanderABab
AB says 735 is broken!
Reactions:
Posts: 7475
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: โœ”๏ธ Why does this happen?

#6

Post by CommanderABab » Sun Feb 04, 2018 14:56

Code: Select all

[
  { 
    "id":"$ab.hotairballooncar00", 
    
    "type":"car", 
    "frames":[       
      {"bmp":"balloonup.png","target w":32,"target h":256},
      {"bmp":"balloonup.png","target w":32,"target h":256},       
      {"bmp":"balloonup.png","target w":32,"target h":256},
      {"bmp":"balloonup.png","target w":32,"target h":256}
   ],       
   "v2":true,
   "speed":0.95,
   "capacity":6,
   "flag normal":true, 
   "flag military":true,
   "flag pedestrian":true,
   "flag tram":true,
   "flag airport":true,
   "flag user0":true,
   "flag user1":true,
   "flag user2":true,
   "flag user3":true,
   "flag user4":true,
   "flag user5":true,
   "flag user6":true,
   "flag user7":true,
   "flag user8":true,
   "flag user9":true
  },
  {
      "active": true,
      "id": "$ab.comhab11.ex",
      "type": "decoration",
      
      "hidden":false,
      "needs road": true,
      "author": "CommanderABab",
      "title": "Hot Air Balloon Rides",
      "text":"for your viewing pleasure.",
      "width": 1,
      "height": 1,
      "draw ground": true,
      "rotation aware": false,
      "auto build": true,
      "build time":0,
      "influence sport": 40,
      "spawn":
      {
         "p":0.005,
         "height":1000,
         "radius":600
       },
      "price" : 10000,
      "monthly price": 100,
      
      "frames": [
         {
            "bmp":"balloonup.png","target w":32,"target h":256
         }],
      "preview frames":[{"bmp":"orangeball.png"}],
      "power": 100,    
      "water": 0,
      "max count": 2000,
      "level": 2,
      "car spawner":[
        {
          "cars":["$ab.hotairballooncar00"],
          "count":2,
          "radius":4000,
          "targets":[
             "$watertower00",
             "$gasplant00",
             "$windturbine00",
             "$nuclearplant00",
             "$solarpanels00",
             "$busstop00",
             "$busdepot00",
             "$railstation00",
             "$zoneresidential_lvl2",
             "$zoneresidential"   
          ]
        }
      ],
      
     "fun":[
       {
         "condition":
         { 
           "type":"and","inner":[
             {"type": "date","frame":3590, "min": 3588,"max":3589 },
             {"type":"nearby","min":1,"max":8,"inner":[{"type":"road"}],"invert":true}
           ]
         },
         "actions":[
          {"type":"remove"}
        ],
        "p":1
       }
       
     ]
    
  }
]
Zip in a minute.
habex.zip
(14.25 KiB) Downloaded 12 times
736!736Currently using beta 736. 736 What's new? :)
Ambient sounds!!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

Post Reply Previous topicNext topic

Return to โ€œProblemsโ€

Who is online

Users browsing this forum: No registered users and 1 guest

๏ปฟ