Page 1 of 1

why my train pass through a road

Posted: 05 May 2022, 15:41
by Marsneko
画像
Screenshot_20220505-223230.png
json

Code: Select all    Reset

[{ "id":"hartram_ii", "type":"car", "frame":[{"bmp": "hartram_ii.png","count": 4,"h": 28,"w": 37}], "frag normal":false, "flag train":true, "speed":2, "v2":true },{ "id": "Marsneko's_train_station", "width":1, "height":1, "type": "railway station", "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": 3, "radius": 10}], "capacity": 10 }]
JSON checker
Check

Re: why my train pass through a road

Posted: 05 May 2022, 22:40
by JustAnyone
It should be 'flag normal' instead of 'frag normal' in car (train) draft definition.

Re: why my train pass through a road

Posted: 06 May 2022, 10:50
by Marsneko
I didn't notice the typo.thx
It now runs only on the railroad tracks.