Community Forum

Data and $mapdir$

Forum Overview >> Editor

CategoryEditor
Created30.01.2021 18:38


Steven Farmer (stev11113) 30.01.2021 18:38
HI can someone help me please I`m having problems with mods with triggers.
Example is one that is a cows placeable.
Now I have modified this mod and I hope I got it right.
What I`ve done modified it then exported from the map with all files to the original file, It as me do I wont to change the file and I hit yes and I say no
to the next two questions.

The placeable as file name... FS19_Pasture_For_Cows and xml name is.... husbandryCowLarge.
This is how I`ve put it in to my mapSAItems.... <item className="Placeable" filename="$mapdir$/placeables/FS19_Pasture_For_Cows/husbandryCowLarge.xml" position="-3723.06 199.466 -866.488" rotation="0 0 0" defaultFarmProperty="true" farmId="1"/>

And I`ve put the xml file name in to <storeItems>
<storeItem xmlFilename="husbandryCowLarge.xml"/>

But it will not load up on sf19, now what I did is copy this mod from my mod folder and pasted it in to the maps placeables folder.
But I`m getting a lot of errors in game log like this.....

2021-01-30 13:11 Error: C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/mapSA_storeItems.xml. xmlFilename.
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/husbandryCowLarge.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/husbandryCowLarge.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Rollinggate_with_Door_Blue.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Rollinggate_with_Door_Blue.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Warning: 'WIPPMAN' is an unknown brand! Using Lizard instead! (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Supermarkt.xml)
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftLH.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftLH.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftRH.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftRH.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftdouble.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftdouble.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftLH_EU.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftLH_EU.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftRH_EU.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftRH_EU.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftdouble_EU.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/gatesoftdouble_EU.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/woodenfence1.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/woodenfence1.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/woodenfence2.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/woodenfence2.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/woodenfence3.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/woodenfence3.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/woodenfence4.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/woodenfence4.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/stonewall1.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/stonewall1.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/stonewall2.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/stonewall2.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/stonewall3.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/stonewall3.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/wallcurve30left.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/wallcurve30left.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/wallcurve45left.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/wallcurve45left.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Cheesefactory.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Cheesefactory.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Paletten/cheesepalett.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Paletten/cheesepalett.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Sellcheese.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Sellcheese.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Warning: 'WIPPMAN' is an unknown brand! Using Lizard instead! (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/Supermarkt.xml)
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/BuffaloStores.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/BuffaloStores.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA//maps/placeables/sellingStationGeneric/sellingStationGeneric.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA//maps/placeables/sellingStationGeneric/sellingStationGeneric.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/fels_4/compositeHallPack/compositeHall6.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/fels_4/compositeHallPack/compositeHall6.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/fels_4/compositeHallPack/compositeHall6.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/fels_4/compositeHallPack/compositeHall6.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/FS19_compositeHallPack/compositeHall3.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/FS19_compositeHallPack/compositeHall3.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/FS19_compositeHallPack/compositeHall4.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/FS19_compositeHallPack/compositeHall4.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/FS19_compositeHallPack/compositeHall5.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/FS19_compositeHallPack/compositeHall5.xml): No storeData found. StoreItem will be ignored!
2021-01-30 13:11 Error: Failed to open xml file 'C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/FS19_compositeHallPack/compositeHall6.xml'.
2021-01-30 13:11 Error (C:/Users/sfarm/OneDrive/Documents/My Games/FarmingSimulator2019/mods/mapSA/placeables/FS19_compositeHallPack/compositeHall6.xml): No storeData found. StoreItem will be ignored!

Most of them are mods I have coped from my mod folder to my maps placeables folder.
I`ve tride putting Data and then $mapdir$ but nun seam to work what am I doing worng...

Bilbo Beutlin (BBeutlin) 30.01.2021 23:09
Do NOT use OneDrive or similar cloud storage for FS related files. This leads often to read errors due to enhanced access times or slow/disturbed internet connection.

Notice also, storeItems must be declared with the explicite path.


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