Community Forum

xml class name problems

Forum Overview >> Editor

CategoryEditor
Created26.05.2021 17:53


Steven Farmer (stev11113) 26.05.2021 17:53
HI I`m sorry if this sounds stupid but I just don`t know what to do.
I`m trying to load mods on my map for the defaultFarmProperty, But they just will not show up on fs19.

When I go in to game log it gives me errors on all of them the only thing that shows up is the cow shed,
I am doing exactly the same to all the overs that I did for the cow shed.

T <item className="AnimalHusbandry" filename="$mapdir$/placeables1/FS19_DairyBarn/DairyBarn.xml" position="-3401.44 199.674 1773.63" rotation="0 72.172 0" defaultFarmProperty="false" farmId="1"/>
<item className="silo_Placeable" filename="$mapdir$/Placeables/FS19_Concrete_Bunker_Set_U/xml/Typ1_Fahrsilo8.xml" position="-1.604 0.081 56.049" rotation="-180 71.135 -180" defaultFarmProperty="false" farmId="1"/>
<item className="barnPlaceable" filename="$mapdir$/placeables1/FS19_barnPack/poleBarnFB.xml" position=" -13.482 0 28.195" rotation="-180 73.468 180" defaultFarmProperty="false" farmId="1"/>
<item className="Placeable" filename="$mapdir$/placeables1/FS19_GC_baleStoragePlaceable/hayBaleStorage.xml" position=" -0.009 -63.638 0" rotation="0 15.776 0" defaultFarmProperty="false" farmId="1"/>
<item className="Placeable" filename="$mapdir$/placeables1/FS19_farmBuildingPack/bulkHall..xml" position=" 47.218 -0.017 -71.782" rotation="0 15.776 0" defaultFarmProperty="false" farmId="1"/>
<item className="Placeable_BaleStorage" filename="$mapdir$/placeables1/FS19_Hungarian_Bale_Storage/roundSilage.xml" position=" 81.523 -0.04 -57.254" rotation="0 0 0" defaultFarmProperty="false" farmId="1"/>
<item className="placeableCompositeHall" filename="$mapdir$/placeables/compositeHallPack/compositeHall3.xml" position=" -3429.821 199.634 1738.874 "rotation="0 0 0" defaultFarmProperty="false" farmId="1"/>
his is my mapSA items:


And this is my MAPSADeco:

<storeItems>
<storeItem xmlFilename="placeables1/FS19_Hungarian_Bale_Storage/roundSilage.xml"/>
<storeItem xmlFilename="placeables1/FS19_GC_baleStoragePlaceable/hayBaleStorage.xml"/>
<storeItem xmlFilename="placeables1/FS19_farmBuildingPack/bulkHall..xml"/>
<storeItem xmlFilename="placeables1/FS19_barnPack/poleBarnFB.xml"/>
<storeItem rootNode="Placeable" xmlFilename="Placeables/FS19_Concrete_Bunker_Set_U/xml/Typ1_Fahrsilo8.xml"/>
<storeItem xmlFilename="placeables1/FS19_DairyBarn/DairyBarn.xml"/>
<storeItem xmlFilename="placeables1/calfHusbandry1/calfHusbandry.xml"/>
<storeItem xmlFilename="placeables/compositeHallPack/compositeHall3.xml"/>

</storeItems>


And this is one of the mods I`m trying to get on :
<storeData>
<name>
<de>Doppel Keilfahrsilo 35x42</de>
<en>Bunker Silo 35x42</en>
</name>
<specs>
<fillTypes>chaff grass</fillTypes>
</specs>
<image>store_images/Typ1_Fahrsilo8.dds</image>
<price>180000</price>
<dailyUpkeep>20</dailyUpkeep>
<lifetime>3000</lifetime>
<rotation>0</rotation>
<brand>LIZARD</brand>
<species>placeable</species>
<category>silos</category>
<vertexBufferMemoryUsage>236412</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>27744</indexBufferMemoryUsage>
<textureMemoryUsage>11185104</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
</storeData>

<placeableType>Silo_Placeable</placeableType>
<filename>Placeables/FS19_Concrete_Bunker_Set_U/xml/Typ1_Fahrsilo8.i3d</filename>
<placement testSizeX="35" testSizeZ="42" sizeX="35" sizeZ="42" useRandomYRotation="false" useManualYRotation="true" placementPositionSnapSize="1" placementRotationSnapAngle="90"/>

<bunkerSilos>
<bunkerSilo acceptedFillTypes="chaff grass_windrow dryGrass_windrow" inputFillType="chaff" outputFillType="silage" fermentingHours="6" distanceToCompactedFillLevel="100" openingLength="5" >
<area startNode="1|0" widthNode="1|1" heightNode="1|2" />
<interactionTrigger node="0" />
</bunkerSilo>
<bunkerSilo acceptedFillTypes="chaff grass_windrow dryGrass_windrow" inputFillType="chaff" outputFillType="silage" fermentingHours="6" distanceToCompactedFillLevel="100" openingLength="5" >
<area startNode="3|0" widthNode="3|1" heightNode="3|2" />
<interactionTrigger node="2" />
</bunkerSilo>
</bunkerSilos>

<clearAreas>
<clearArea startNode="4|0" widthNode="4|1" heightNode="4|2"/>
</clearAreas>

<leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30">
<levelAreas>
<levelArea startNode="5|0" widthNode="5|1" heightNode="5|2" groundType="concrete"/>
</levelAreas>
</leveling>

<tipOcclusionUpdateArea sizeX="35" sizeZ="42" />

</placeable>


All of them are in my map directory and game log:

2021-05-26 16:24 data/shared/assets/upperLinks/johnDeereUpperlink.i3d (0.97 ms)
2021-05-26 16:24 data/objects/bigBagContainer/bigBagContainer.i3d (6.59 ms)
2021-05-26 16:24 Error: Corrupt savegame, item 3 has invalid className 'silo_Placeable'
2021-05-26 16:24 Error: Corrupt savegame, item 4 has invalid className 'barnPlaceable'
2021-05-26 16:24 Error: Corrupt savegame, item 7 has invalid className 'Placeable_BaleStorage'
2021-05-26 16:24 Error: Corrupt savegame, item 8 has invalid className 'placeableCompositeHall'
2021-05-26 16:24 C:/Users/sfarm/Documents/My Games/FarmingSimulator2019/mods/FS19_16X_Blank/placeables/gasStation/gasStation.i3d (8.13 ms)
2021-05-26 16:24 C:/Users/sfarm/Documents/My Games/FarmingSimulator2019/mods/FS19_16X_Blank/placeables1/calfHusbandry1/calfHusbandry.i3d (245.00 ms)
2021-05-26 16:24 Error: Animal type 'CALF' not found!
2021-05-26 16:24 C:/Users/sfarm/Documents/My Games/FarmingSimulator2019/mods/FS19_16X_Blank/placeables1/FS19_DairyBarn/DairyBarn.i3d (46.13 ms)
2021-05-26 16:24 Error: C:/Users/sfarm/Documents/My Games/FarmingSimulator2019/mods/FS19_16X_Blank/placeables1/FS19_GC_baleStoragePlaceable/hayBaleStorage.xml. storeData.
2021-05-26 16:24 Warning: corrupt savegame, item 9 with className Placeable could not be loaded
2021-05-26 16:24 Error: Failed to open xml file 'C:/Users/sfarm/Documents/My Games/FarmingSimulator2019/mods/FS19_16X_Blank/placeables1/FS19_farmBuildingPack/bulkHall..xml'.
2021-05-26 16:24 Warning: corrupt savegame, item 9 with className Placeable could not be loaded
2021-05-26 16:24 dataS2/character/humans/player/player01.i3d (266.96 ms)




Ben Mccartney (benm094) 26.05.2021 21:08
Here are the class names used on the base game maps.

SellingStationPlaceable
SiloPlaceable
WoodSellStationPlaceable
Workshop
BuyingStationPlaceable
TrainPlaceable
BgaPlaceable
Placeable
FarmhousePlaceable

Bilbo Beutlin (BBeutlin) 26.05.2021 21:17
The default class names are the same as documented in
https://gdn.giants-software.com/documentation_scripting_fs19.php?version=script&category=27&class=264


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