THIS PLUGIN NO LONGER WORKS SINCE THE BUS TYCOON UPDATE
Hello everyone,
This plugin replaces the ingame busses with a bendy bus. It was quite easy to make, but I saw nobody who made one. So I made one.
Hope you like it
credits to Lobby/developers for the bus template.
Bendy bus
Moderator: Plugin Moderators
Forum rules
The main focus of the plugin is a road or appears in the in-game transportation or airport tabs
Moving Cars, ships, and planes may be included also.
The main focus of the plugin is a road or appears in the in-game transportation or airport tabs
Moving Cars, ships, and planes may be included also.
- A dutch Guy
- Inhabitant of a Megacity
- Reactions:
- Posts: 174
- Joined: 26 Dec 2017, 14:41
- Location: The Netherlands
- Plugins: Showcase Store
-
Plugin Creator
Platform
Bendy bus
Last edited by A dutch Guy on 16 Feb 2018, 22:28, edited 3 times in total.
- A dutch Guy
- Inhabitant of a Megacity
- Reactions:
- Posts: 174
- Joined: 26 Dec 2017, 14:41
- Location: The Netherlands
- Plugins: Showcase Store
-
Plugin Creator
Platform
- A dutch Guy
- Inhabitant of a Megacity
- Reactions:
- Posts: 174
- Joined: 26 Dec 2017, 14:41
- Location: The Netherlands
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Bendy bus
Yes the only come in red. The front replaces the $carbus00. I couldn't figure out how to use multiple "tail" commands in the .json file with multiple frames. I'm not the best coder unfortunatelyformer member wrote: ↑02 Jan 2018, 20:51I call them Accordion Buses
Btw, do they come only in red? Asking because there only red on the picture.
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Bendy bus
@A dutch Guy You were just faster than I, way too much to do... but yes, this is one of the reasons why car chaining was added. Another thing are trucks with trailers
- fico240
- Townsman
- Reactions:
- Posts: 64
- Joined: 21 Dec 2017, 03:20
- Location: Córdoba, Argentina
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Bendy bus
Maybe if you want, I can help you with the buses of the other colors, more or less I understood how to use the "tail" command.A dutch Guy wrote: ↑02 Jan 2018, 20:57
Yes the only come in red. The front replaces the $carbus00. I couldn't figure out how to use multiple "tail" commands in the .json file with multiple frames. I'm not the best coder unfortunately
Last edited by fico240 on 03 Jan 2018, 19:35, edited 3 times in total.
- fico240
- Townsman
- Reactions:
- Posts: 64
- Joined: 21 Dec 2017, 03:20
- Location: Córdoba, Argentina
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Bendy bus
It has been impossible for me to do that spawn the buses of other colors, the only way is to do a bus depot and in the .json write that spawn the other buses of different colors.
Code: Select all
[{
"frames": [{
"bmp": "bus_green_front.png",
"count": 4,
"h": 16,
"w": 20
}],
"id": "bus_green00",
"type": "car",
"v2": true
}, {
"frames": [{
"bmp": "bus_green_tail.png",
"count": 4,
"h": 16,
"w": 20
}],
"id": "bus_green_01",
"type": "car",
"v2": true
}, {
"author": "A Dutch Guy",
"flag normal": false,
"flag bus": true,
"frames": [{
"bmp": "bus_green_front.png",
"count": 4,
"h": 16,
"w": 20
}],
"id": "bus_green_00",
"speed": 1,
"tail": ["bus_green_01"],
"type": "car",
"v2": true
}, {
"author": "Lobby and developers",
"car spawner": [{
"cars": ["bus_green_00"],
"count": 1,
"radius": 1000,
"targets": ["$busdepot00"]
}],
"frames": [{
"bmp": ["bus_depot00"]
}]
more or less it would be like that.
I took a couple of hours with the code ...