Trains do not chain well.

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Trains do not chain well.

#1

Post by Marsneko »

siryooo.png
siryooo.png (1.37 KiB) Viewed 5903 times
I want to like this
hartram_ii_1.png
hartram_ii_1.png (1.02 KiB) Viewed 5903 times
hartram_ii_3.png
hartram_ii_3.png (1.01 KiB) Viewed 5903 times
hartram_ii_2.png
hartram_ii_2.png (693 Bytes) Viewed 5903 times
But here's what happens.
日髙市_22-05-19_22.34.44.png
hartram_ii_2 is not chaining well
hartram_ii_2 slams into hartram_ii_1 and hartram_ii_3

Code: Select all    Reset

[{ "id":"Marsneko's_tramcar", "type":"template", "flag normal":false, "flag train":true, "speed":2, "v2":true },{ "id":"hartram_ii_1", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_2.png","w":16,"count":4}] },{ "id":"hartram_ii_2", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_3.png","w":18,"count":4}] },{ "id":"hartram_ii", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_1.png","w":18,"count":4}], "tail":["hartram_ii_1","hartram_ii_2"] },{ "id" : "Marsneko's_train_station", "type" : "railway station", "width":1, "height":1, "build time":0, "frame" : [{ "bmp": "tramcar_station.png", "count": 4, "w": 32}], "draw ground" : true, "needs road" : false, "influence passenger train" : 30, "car spawner" : [{ "targets": ["Marsneko's_train_station"], "cars" : ["hartram_ii"], "count" : 4, "radius" : 10}], "capacity" : 10 }]
JSON checker
Check
User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2728
Joined: 24 Aug 2017, 11:17
Location: Wandering around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Trains do not chain well.

#2

Post by TheFennekin »

Rather than chaining them separately, chain them as one car.

Under Train1's draft add the tails: Train2 and Train3
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#3

Post by Marsneko »

hartram_ii_full.png
hartram_ii_full.png (1.42 KiB) Viewed 5839 times
Is this what you mean?
User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2728
Joined: 24 Aug 2017, 11:17
Location: Wandering around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Trains do not chain well.

#4

Post by TheFennekin »

Yes

Is this how you wanted?

Code: Select all    Reset

[{ "id":"Marsneko's_tramcar", "type":"template", "flag normal":false, "flag train":true, "speed":2, "v2":true },{ "id":"hartram_ii_1", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_2.png","w":16,"count":4}] },{ "id":"hartram_ii_2", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_3.png","w":18,"count":4}], "tail":["hartram_ii_1","hartram_ii"] },{ "id":"hartram_ii", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_1.png","w":18,"count":4}] }]
JSON checker
Check
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#5

Post by Marsneko »

TheFennekin wrote: 21 May 2022, 03:16 Yes

Is this how you wanted?

Code: Select all    Reset

[{ "id":"Marsneko's_tramcar", "type":"template", "flag normal":false, "flag train":true, "speed":2, "v2":true },{ "id":"hartram_ii_1", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_2.png","w":16,"count":4}] },{ "id":"hartram_ii_2", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_3.png","w":18,"count":4}], "tail":["hartram_ii_1","hartram_ii"] },{ "id":"hartram_ii", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_1.png","w":18,"count":4}] }]
JSON checker
Check
It won't work with that json.
The "tail" must be at the bottom.

Code: Select all    Reset

[{ "id":"hartram_ii_1", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_2.png","w":16,"count":4}] },{ "id":"hartram_ii", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_1.png","w":18,"count":4}] },{ "id":"hartram_ii_2", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_3.png","w":18,"count":4}], "tail":["hartram_ii_1","hartram_ii"] }]
JSON checker
Check
By the way, it went like this.
Screenshot_20220521-151307.png
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#6

Post by Marsneko »

Marsneko wrote:
hartram_ii_full.png
hartram_ii_full.png (1.41 KiB) Viewed 5792 times
Is this what you mean?
The way to do it without using "tail" is...
Screenshot_20220521-152429.png
It stops displaying in the middle of the screen.
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Trains do not chain well.

#7

Post by CommanderABab »

You left the "v2":true out of the car definitions.
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#8

Post by Marsneko »

It's in the template.
Do I need to insert it in all of them?
User avatar
Naufhal
Inhabitant of a Supercluster
Reactions:
Posts: 3742
Joined: 07 Oct 2021, 06:04
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

Re: Trains do not chain well.

#9

Post by Naufhal »

Yes
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#10

Post by Marsneko »

Inserted in all of them made no difference.
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Trains do not chain well.

#11

Post by CommanderABab »

Marsneko wrote: 22 May 2022, 03:04 It's in the template.
Do I need to insert it in all of them?
Probably not, I hadn't noticed the template. :/
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#12

Post by Marsneko »

Anyway, how can I do this?
siryoooou.png
siryoooou.png (2.04 KiB) Viewed 5716 times
User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2728
Joined: 24 Aug 2017, 11:17
Location: Wandering around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Trains do not chain well.

#13

Post by TheFennekin »

Thought that would work... try this

Hartram ii 3 should be at the front, then tail 2 and 1 (based from the pictures you provided on the original post) 3 > 2 > 1
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#14

Post by Marsneko »

Marsneko wrote: 21 May 2022, 08:16
TheFennekin wrote: 21 May 2022, 03:16 Yes

Is this how you wanted?

Code: Select all    Reset

[{ "id":"Marsneko's_tramcar", "type":"template", "flag normal":false, "flag train":true, "speed":2, "v2":true },{ "id":"hartram_ii_1", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_2.png","w":16,"count":4}] },{ "id":"hartram_ii_2", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_3.png","w":18,"count":4}], "tail":["hartram_ii_1","hartram_ii"] },{ "id":"hartram_ii", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_1.png","w":18,"count":4}] }]
JSON checker
Check
It won't work with that json.
The "tail" must be at the bottom.

Code: Select all    Reset

[{ "id":"hartram_ii_1", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_2.png","w":16,"count":4}] },{ "id":"hartram_ii", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_1.png","w":18,"count":4}] },{ "id":"hartram_ii_2", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_3.png","w":18,"count":4}], "tail":["hartram_ii_1","hartram_ii"] }]
JSON checker
Check
By the way, it went like this.
Screenshot_20220521-151307.png
I already did.
Is this what you mean?
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#15

Post by Marsneko »

Code: Select all    Reset

{ "id":"hartram_ii", "type":"car", "template":"Marsneko's_tramcar", "frames":[{"bmp":"hartram_ii_1.png","w":22,"count":4}], "tail":["hartram_ii_1","hartram_ii_2"], "v2":true }
JSON checker
Check
日髙市_22-06-01_21.22.24.png
hartram_ii_1.png
hartram_ii_1.png (1.13 KiB) Viewed 5441 times
Only two worked.
I don't know the rules.
Nothing done on hartram_ii_2.png and hartram_ii_3.png.
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#16

Post by Marsneko »

I can't do it anymore!Plz help me Lobby=サン!
User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2728
Joined: 24 Aug 2017, 11:17
Location: Wandering around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Trains do not chain well.

#17

Post by TheFennekin »

Could it be a mistake on graphics? Or just plain error on tailing? I'm also now confused :lol:

@Lobby
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#18

Post by Marsneko »

hmm…Is there anyone else we can count on?It's been a month.
User avatar
Naufhal
Inhabitant of a Supercluster
Reactions:
Posts: 3742
Joined: 07 Oct 2021, 06:04
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

Re: Trains do not chain well.

#19

Post by Naufhal »

Marsneko (Stalma). I Can fixed It. Please Reply Or Quote. Which Problem?
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 14:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Trains do not chain well.

#20

Post by Marsneko »

siryoooou.png
siryoooou.png (2.04 KiB) Viewed 4882 times
parts
hartram_ii_1.png
hartram_ii_1.png (1.13 KiB) Viewed 4882 times
hartram_ii_2.png
hartram_ii_2.png (707 Bytes) Viewed 4882 times
hartram_ii_3.png
hartram_ii_3.png (1.1 KiB) Viewed 4882 times
but
日髙市_22-06-19_16.02.23.png
Post Reply Previous topicNext topic

Return to “Problems”