Adding Mod Placeable to a map

Your forum for all discussions around Modding.
Curtisfeatures
Posts: 8
Joined: Sun Apr 19, 2020 9:28 am

Adding Mod Placeable to a map

Post by Curtisfeatures »

Hi Everyone,

Iv recently got into making map changes and found loads of help online on how to do this which has been great. Iv got no issues with removing exisiting items from a map or adding new ones.

Iv just tried to add an existing mod placable into a map but i can't get it to load in game. I have done this by using the DefaultItems.xml with the following line:

<item className="buyingStation" filename="$moddir$FS19_placeableBuyingStations/fertilizerStation.xml" position="1868.534 98.996 901.45" rotation="-180 -0.534 -180" defaultFarmProperty="false" farmId="1" />

Iv tried doing it in the mod folder zipped and in a directory within the map unzipped but neither time does it show in the map when i load it and i can't figure out why?

error i am seeing in the log is:
Error: Corrupt savegame, item 14 has invalid className 'buyingStation'

This is the correct type though.

Any help would be much appreciated.

Thanks
Jamie
Eische
Posts: 3798
Joined: Thu Oct 18, 2018 5:17 pm

Re: Adding Mod Placeable to a map

Post by Eische »

I guess it should be "buyingStationPlaceable" instead of just "buyingStation"
Playing on PC - Win10
Ryzen 3600
RX 5500XT
16GB Ram
How to post log file
How to upload pictures
Please report bugs for FS22 using the bugtracker
Curtisfeatures
Posts: 8
Joined: Sun Apr 19, 2020 9:28 am

Re: Adding Mod Placeable to a map

Post by Curtisfeatures »

The placable type in the XML is buyingStation though
<placeableType>buyingStation</placeableType>

Regardless of this i changed it to buyingStationPlaceable but i got the same results with nothing show.
Post Reply