Placeable Objects In Maps

Your forum for all discussions around Modding.
Jarb
Posts: 1
Joined: Wed Aug 30, 2023 4:14 pm

Placeable Objects In Maps

Post by Jarb »

Hi All,
Having trouble adding placeable fences to my mod map.
I have added multiple silos, fuel tanks, sheds and other objects and have them all working as they should. They cant be altered until the land is bought and then they can be sold or whatever. I got this to work by adding the "bought with farmland" line to the XML.
When I add this to the XML for the placeable fences in my map, it makes it so every fence on the map is not owned until one farmland is bought, and then that player owns everything. Not a problem in single player, but in Multiplayer every player except the first one cant even open their gates.
At a bit of a loss. Any help would be appreciated.