Community Forum

Train spline problem

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created16.11.2016 14:08


Keith Windsor (Unknown) 16.11.2016 14:10
(Posted on FS forum but maybe I'll have better luck here)

I have two train splines on my map, one for a manually driven train and one for a lever operated train.

One of the splines is just slightly too high - if I adjust it so that the train wheels are sitting on the rails, the spline is tstill showing above the level of the terrain.
If I lower the spline so that it goes below the terrain, the train is then sitting too low on the rails.

(The other spline is fine)

So my question is, how can I lower the spline in relation to the train? Why is it behaving differently to the other spline?

Please help if you can, I need to make the spline drop out of sight.

Thanks

Orosz Stanislav (lopraiz2) 27.12.2016 20:13
Při spline je třeba před save vipnout visibility v Atributes :D

Orosz Stanislav (lopraiz2) 27.12.2016 20:16
Já mám další problém klasické Spline nefunguje jako v fs15 nevím proč. pedestrain i trafic fungují, train je shodný s trafic ale ostatní objekty letadla ptáci ani jiné nefungují jelikož soubor Ship.onCreate. zde vůbec není Šoda.


James Norred (Cajunwolf) 28.12.2016 04:55
Set the spline to where the wheels are right on the track, the track is optional for visual only, the train runs on the spline. If your worried about the spline showing uncheck the viability ck box in the editor in attributes, it no longer shows, simple.

Keith Windsor (Unknown) 04.01.2017 09:06
thanks James, I've used the invisibility option now

Steve Richardson (Unknown) 15.01.2017 09:39
I can't get my train to even appear on the spline... Not using a base map for edit. Making it totally fresh.... Keith, how did you get your train to appear? Or are you using a copy over of Goldcrest?

Ted Fanning (wickedset) 15.01.2017 11:51
If you are not using a base map, you will have to make sure that you have a transform named "trainSystem01" with your spline as the first entry and track all after this.
You need to put 2 user attributes into "trainSystem01" onCreate (script callback) = TrainSystem.onCreate and xmlFile (string) = maps/map01_trainSystem01.xml or where ever your train system xml file is located, if you haven't got one you need to find one in Goldcrest map or make a new one and copy/paste this:

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<trainSystem>

<spline index="0" splineYOffset="0.155" />

<railroadObjects>
</railroadObjects>

<train>
<vehicle xmlFile="$data/vehicles/train/locomotive.xml" />
<vehicle xmlFile="$data/vehicles/train/wagonTimber.xml" />
<vehicle xmlFile="$data/vehicles/train/wagonTimber.xml" />
<vehicle xmlFile="$data/vehicles/train/wagonWoodChips.xml" />
<vehicle xmlFile="$data/vehicles/train/wagonGrain.xml" />
<vehicle xmlFile="$data/vehicles/train/wagonSugarbeets.xml" />
</train>

</trainSystem>

Hopefully you will now have a train with 5 waggons on your spline.
Any rail road crossings go between <railroadObjects> </railroadObjects>

Hope this helps, I'm not very good at explaining things.


Note: Log in to post. Create a new account here.