Community Forum

Custom Shop environment

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created15.04.2021 07:52


Ola Haldor Solvik Voll (OlaHaldor) 15.04.2021 07:52
On my map, I'd really like to use my own shop environment, to make it feel more "grounded", as if you're actually in the shop in that very location vs. the default studio like environment.

I'm pointing to a shop.xml file within my map folder structure, but I get an error in the log that shop.i3d can't be found.

This is the folder structure
<mapname>/maps/shop/
+ shop.i3d
+ shop.xml

Within the xml I'm calling the i3d file with this, <filename>maps/shop/shop.i3d</filename>
I've tried with a myriad of others; <mapname>/maps/shop/shop.i3d, shop/shop.i3d, shop.i3d.. Tried putting $moddir$ in front of all these variations, and I just can't get it to remove that error message.

The location of the shop is in the correct spot ingame though, so when I open the shop and look at vehicles or equipment, it's correct. It's just this error I can't get rid of.

Bilbo Beutlin (BBeutlin) 15.04.2021 13:00
Store files are expected in a certain folder hierarchy. Use the same folder structure like in default. Copy all necessary files into your $mapdir$/store/ui and write in map.xml <shop filename="store/ui/shop.xml" />
Be aware that placeholders like $mapdir$ don't work inside the shop files.

Ola Haldor Solvik Voll (OlaHaldor) 19.04.2021 11:05
I have tried that. And the game still spits out an error saying it can't find the shop.i3d file when I point it to the local mod folder instead of $data.

Bilbo Beutlin (BBeutlin) 19.04.2021 11:51
If the shop.i3d is together with .xml in the same folder, write in the xml <filename>shop.i3d

Ola Haldor Solvik Voll (OlaHaldor) 19.04.2021 12:44
I just tested that - no go. Have you *tested* this on your end and can confirm it works?

Bilbo Beutlin (BBeutlin) 19.04.2021 15:13
I've seen it on a modmap.
But since Giants uses to change active directories sometimes, this path might have changed also.
Else try relative to your mod's root folder <filename>store/ui/shop.i3d
If this also doesn't work, ask Giants (email).

Ola Haldor Solvik Voll (OlaHaldor) 22.04.2021 08:30
I guess I'm too dumb to get this to work without a script. \(〇_o)/


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