Community Forum

trainSystem not working FS22

Forum Overview >> Editor

Created14.01.2022 18:26

Dutch Mountain (Dutchmountain) 14.01.2022 18:26
trainSystem not working.
Train and train crossings do not show up in modded map
trainSystem.i3d was imported from original map into mod map and only adjusted in x-position.
Then exported into the mod map along with original trainSystem.xml and adjusted the trainSystem.i3d location.
After export I deleted it from the mod map.
No errors show up when running the mod, it did give a warning.
What am I missing here or doing wrong?

File locations:


In modDesc.xml:

In placeables.xml: (location: ...\maps\mapUS)
<placeable mapBoundId="trainSystem" filename="$mapdir$/maps/placeables/trainSystem.xml" position="0 0 0" rotation="0 0 0" />

In trainSystem.xml:

in log:
Warning: PlaceableUtil.loadPlaceable can only load existing store items, no store item for xml filename 'C:/...Test/maps/placeables/trainSystem.xml'

Ed Propsner (crotchfrog) 14.01.2022 23:21
You need to load it into your storeItems.xml as well.

<storeItem xmlFilename="maps/placeables/trainSystem/trainSystem.xml" />

Dutch Mountain (Dutchmountain) 15.01.2022 00:10
I did change the storeItems.xml too.
It still was not working first but somehow it works now after a re-do of all the custom settings.
Thank you for the reply, it is solved now.

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