Community Forum

Wont load placeables

Forum Overview >> Editor

CategoryEditor
Created26.11.2021 10:18


Jānis Strautiņš (strauts6) 26.11.2021 10:18
Im getting this error Warning: PlaceableUtil.loadPlaceable can only load existing store items, no store item for xml filename
and Placeable '$moddir$ModMap/maps/placeables/mapUS/farmBuildings/farmHouse/farmHouse02.xml' is not allowed to be loaded
and i dont even know what they mean.

Bilbo Beutlin (BBeutlin) 26.11.2021 12:46
It's just what the message says: the storeItem is unknown.
Before usage it must be declared in <storeItems>, either in "modDesc.xml" or the map's storeItems file as defined in the map.xml.

Beneath you should NOT use "$moddir$ModMap/.." anymore. Use "$mapdir$/.." instead.

Nick Askew (askewdesigns) 27.11.2021 22:47
So after declaring the placeable in the storeItems.xml and the placeables.xml it still is producing the exact same error message... I am trying to put a wood sell point in a map and i have the i3d and xml in the map folder. Only way i can seem to get everything to work is to direct the filepaths to in-game files rather than the files inside the folder. How can you get it to work with the files inside the folder?

Bilbo Beutlin (BBeutlin) 27.11.2021 23:21
Sorry, I'm no clairvoyant and don't know your setup. But I'd guess your path descriptions are wrong.
Assuming your placeable xml and i3d is in map folder "placeables" here example patterns for
- modDesc.xml : <storeItem xmlFilename="placeables/myPlaceable.xml" />
- defaultItems.xml : <item .. filename="$mapdir$/placeables/myPlaceable.xml
- myPlaceable.xml : <filename>placeables/myPlaceable.i3d</filename>

If you need examples download and examine a FS19 modmap from ModHub, like "Estancia Lapacho" or "Ravensberg". The filepath scheme is the same as in FS22.


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