Community Forum

xml error with placeable

Forum Overview >> Farming Simulator 15

CategoryFarming Simulator 15
Created18.11.2014 04:14


Tom Johnson (tom42728) 18.11.2014 04:16
Hi all Need a little help with this error

trying to get new earth soils and compost working
Log file list this error

Error loadVehicle: invalid vehicle config file 'C:/Users/Tommy/Documents/My Games/FarmingSimulator2015/mods//New_Earth_Soils_Compost/TriggerVenta.xml', no type specified

here is the xml file

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
<placeableType>waterTankPlaceable</placeableType>
<filename>fabrica.i3d</filename>
<placement testSizeX="3.2" testSizeZ="3.2" sizeX="3.2" sizeZ="3.2" useRandomYRotation="false" useManualYRotation="true" />
<incomePerHour>0</incomePerHour>
<FillTrigger index="0|0" />
</placeable>

and modDesc.xml list the xml correctly .. I have compared this to other placeables in the game and looks similar not sure what i am missing

also would be nice if giants would post a list for the placeables for the game as they are not included in the sdk folder

Emil Drefers (giants.edrefers) 08.12.2014 11:14
Hi,

do you register the placeableType?

Before you can use a new type of placeable you have to register it by calling this function:
registerPlaceableType(typeName, classObject)
e.g.:
registerPlaceableType("windTurbine", WindTurbinePlaceable);

All default placeable types seem not fit for your type.
Nonetheless, here is a list.
placeable, windTurbine, solarCollector, beehive, greenhouse, highPressureWasher, tree

Cheers,
Emil

Tom Johnson (tom42728) 15.12.2014 05:32
thanks for the reply I have figured it out finally

at the top of the xml file have to take out waterTankPlaceable and replace it with just placeable

otherwise it just reads it as a vehicle type

this was prior to 1.2 patch have not checked it after the patch


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