Car chains

Learn here how to create and use plugins.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
JustAnyone
Developer
Posts: 3655
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Car chains

#21

Post by JustAnyone »

You'd generally add an empty car between them with "$car_null00"

User avatar
Jaforzem
Settler
Posts: 6
Joined: 04 Jul 2020, 23:51

Plugin Creator

Platform

Re: Car chains

#22

Post by Jaforzem »

SmartSelect_20251001-102757_TheoTown.jpg
When I put $car_null00 in a side pass this (The cabin of front don't see well) and the other side pass this (The cabin of back don't see well)
SmartSelect_20251001-102823_TheoTown.jpg
This is my code

Code: Select all    Reset

[ { "id": "$TLS1AT", "type": "car", "frames":[ {"bmp":"TLS1AT.png","count":4,"x":0,"w":11,"h":14, "length":11} ], "v2": [ 4, 0, 4, 0], "moveable":false, "auto colorize":true, "chargeable": false, "flag all": true }, { "id": "$TLS1AM", "type": "car", "frames":[ {"bmp":"TLS1AM.png","count":4,"x":0,"w":29,"h":21, "length":25} ], "v2": [ -5, 1, -6, 0], "moveable":false, "auto colorize":true, "chargeable": false, "flag all": true }, { "id": "$TLS1AF", "type": "car", "title":"TLS1A", "frames":[ {"bmp":"TLS1AF.png","count":4,"x":0,"w":11,"h":14, "length":11} ], "flag all": true, "capacity":100, "moveable": false, "speed": 1.05, "auto colorize":true, "chargeable": false, "tail":["$car_null00", "$TLS1AM","$car_null00","$TLS1AT"], "meta": {"tags": {"short_distance_passenger_train": {}}}, "v2": [ 4, 0, 4, 0] } ]
JSON checker
Check

User avatar
Ostrovsk
Small-town resident
Posts: 36
Joined: 13 Oct 2023, 18:31

Re: Car chains

#23

Post by Ostrovsk »

:windows :android
Screenshot_2025-10-31-21-30-23-00_b9c7f85ab9c096b4378029bc61eaf2d6.jpg
Hello, how can you fix this style of bus? There is a $car_null00 between the parts, only the first and second frames have this problem, the third and fourth seem normal
Last edited by Ostrovsk on 31 Oct 2025, 22:11, edited 1 time in total.

User avatar
Ostrovsk
Small-town resident
Posts: 36
Joined: 13 Oct 2023, 18:31

Re: Car chains

#24

Post by Ostrovsk »

Good evening, we seem to have the same problem. Haven't solved this problem? I just suffer myself too, but with wheeled transport😅

User avatar
Jaforzem
Settler
Posts: 6
Joined: 04 Jul 2020, 23:51

Plugin Creator

Platform

Re: Car chains

#25

Post by Jaforzem »

Hello, I was already able to solve the problem and what happened was that the frame size was incorrect, in my case it was too small

User avatar
Aidanspacelover2
Metropolitan
Posts: 122
Joined: 18 Oct 2025, 01:28
Location: Ironland
Plugins: Showcase Store
Version: Beta

Platform

Re: Car chains

#26

Post by Aidanspacelover2 »

Beep beep

User avatar
Ostrovsk
Small-town resident
Posts: 36
Joined: 13 Oct 2023, 18:31

Re: Car chains

#27

Post by Ostrovsk »

[цитата=Jaforzem post_id=240754 время=1761948312 пользователь_id=24836]
Здравствуйте, я уже смог решить проблему и произошло то, что размер кадра был неправильным, в моем случае он был слишком мал
[/цитировать]
Hello, do you need the first, second and other parts of the transport to be the same size? For example, 15x15?

User avatar
Ostrovsk
Small-town resident
Posts: 36
Joined: 13 Oct 2023, 18:31

Re: Car chains

#28

Post by Ostrovsk »

JustAnyone wrote:
01 Oct 2025, 14:46
You'd generally add an empty car between them with "$car_null00"
Hello, where can I find the Json code for the Vanilla Accordion Bus?

User avatar
Ostrovsk
Small-town resident
Posts: 36
Joined: 13 Oct 2023, 18:31

Re: Car chains

#29

Post by Ostrovsk »

:android I don't know what to do and who to contact. I still did not understand how to make an elongated bus normally. I'm not even talking about my bus, I recreated a vanilla model of the bus, exactly like in the game, 3 and 4 frames are absolutely normal, perfect. But the first 2 frames have a hole between the parts. No matter how hard I try, it does not clean. I'll send photos and code
Screenshot_2025-11-15-21-07-45-69_b9c7f85ab9c096b4378029bc61eaf2d6.jpg
Screenshot_2025-11-15-21-07-38-63_b9c7f85ab9c096b4378029bc61eaf2d6.jpg
Screenshot_2025-11-15-21-07-32-17_b9c7f85ab9c096b4378029bc61eaf2d6.jpg
Screenshot_2025-11-15-21-07-26-29_b9c7f85ab9c096b4378029bc61eaf2d6.jpg
Screenshot_2025-11-15-21-07-19-18_b9c7f85ab9c096b4378029bc61eaf2d6.jpg
And here is my code:

[
{
"id":"Kamaz6299Popa",
"type":"car",
"author":"Ostrovsk",
"flag normal": false,
"flag bus": true,
"frames":[{"bmp":"Kamaz6299Popa.png","count":4,"w":14,"h":13}],
"v2": [ 2, 0, 3, 0 ],
"speed": 1
},
{
"id":"Kamaz6299Pered",
"type":"car",
"author":"Ostrovsk",
"flag normal": false,
"flag bus": true,
"meta": {"tags": {"ts_normal_bus": {}}},
"capacity": 175,
"requirements":[{"type": "RANK", "lvl": 3}],
"title":"Kamaz 6299 Harmonica[ru]Камаз 6299 Гармошка",
"frames":[{"bmp":"Kamaz6299Pered.png","count":4,"w":18,"h":15}],
"tail":["$car_null00","Kamaz6299Popa"],
"v2": [ 1, 0, 0, 1 ],
"speed": 1
}
]

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”