Community Forum

Error: Vehicle types unknown specialization

Forum Overview >> Farming Simulator 2013

CategoryFarming Simulator 2013
Created05.10.2015 14:57


Robert Drake (Rdrake1413) 05.10.2015 15:00
Hi,
I have been tying to add turn signals and flashers to this mod. The lights are on but don't flash. This is what I have in the log. Thanks for any help
Error: Can't load resource: C:/Users/andrew/Documents/My Games/FarmingSimulator2013/mods/Case_IH_Magnum_340_TwinWheel_V2/specializations/beleuchtungV31.lua
Error: Vehicle types unknown specialization Case_IH_Magnum_340_TwinWheel_V2.beleuchtung31

This is the ModDesc
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="13">
<author>Zoltatem</author>
<version>2.0</version>
<title>
<en>caseIHMagnum340TwinWheel25th aniversary</en>
</title>
<description>
<en>shopItemDescription_caseIHMagnum340TwinWheel</en>
</description>
<iconFilename>Sourse/store_pack.png</iconFilename>
<multiplayer supported="true"/>

<l10n>
<!-- beleuchtug31 -->
<text name="BEL3LEFT"><de>Blinker links</de><en>left turnlights</en></text>
<text name="BEL3RIGHT"><de>Blinker rechts</de><en>right turnlights</en></text>
<text name="BEL3WARN"><de>Warnblinker</de><en>hazard lights</en></text>
</l10n>

<specializations>
<specialization name="beleuchtung31" className="BEL3" filename="specializations/beleuchtungV31.lua"/>
</specializations>

<vehicleTypes>
<type name="tractor" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="motorized" />
<specialization name="steerable" />
<specialization name="cylindered" />
<specialization name="hirable" />
<specialization name="aiTractor" />
<specialization name="bunkerSiloCompacter" />
<specialization name="honk" />
<specialization name="beleuchtung31" />
</type>
</vehicleTypes>

<storeItems>
<storeItem>
<en>
<name>Case IH Magnum 340 TwinWheel 25th aniversary</name>
<description>
<![CDATA[The Case IH Magnum is built for power, durability, comfort and productivity. Max. power: 250 kW / 340 hp Maintenance: 260 / day.With built in turn signals]]>
</description>
</en>
<rotation>0</rotation>
<image active="store_caseIHMagnum340TwinWheel.png" brand="brand_caseIH.png"/>
<price>298000</price>
<dailyUpkeep>260</dailyUpkeep>
<xmlFilename>caseIHMagnum340TwinWheel.xml</xmlFilename>
<brand>$l10n_shopItemBrand_caseIH</brand>
<machineType>tractors</machineType>
</storeItem>
</storeItems>

<inputBindings>
<!-- beleuchtug31 -->
<input name="BEL3LEFT"key1="KEY_KP_1"button="" />
<input name="BEL3WARN"key1="KEY_KP_2"button="" />
<input name="BEL3RIGHT"key1="KEY_KP_3"button="" />
</inputBindings>

</modDesc>
Modify message


Emil Drefers (giants.edrefers) 06.10.2015 11:57
Hi,

please check the following section:

<specializations>
<specialization name="beleuchtung31" className="BEL3" filename="specializations/beleuchtungV31.lua"/>
</specializations>

Did you copy the source file to the named location?

Cheers,
Emil


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