Community Forum

add specialization in patch 1.4

Forum Overview >> Scripting

CategoryScripting
Created05.07.2019 17:58


Robert Schmidt (Dor_Schmied) 05.07.2019 17:58
for me ist not possible to add a specialization in a mod since the patch 1.4 !in 1.3 it works fine and why can nobody help with that Problem?

Martin Fabik (Unknown) 05.07.2019 22:47
Hi,

just today I've added new specialization and it works. Here is part of my modDesc.xml:

<specializations>
<specialization name="trailerFix" className="TrailerFix" filename="scripts/TrailerFix.lua" />
</specializations>

<vehicleTypes>
<type name="customTrailerEdit" parent="baseTipper" filename="$dataS/scripts/vehicles/Vehicle.lua" >
<specialization name="trailerFix" />
</type>
</vehicleTypes>

Cheers
Martin FabĂ­k


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