Community Forum

adding functions

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created16.02.2017 01:42


Bill Mcclain (banditbooker2037) 16.02.2017 01:49
Is it possible to add specializations to a vehicle type without writing a new script for FS 17? I need, tensionBelts, foldable, and cylindered and I can't find a vehicle type that supports them all. My mod I'm working on is a log truck with a grapple and a lift axle. The lift axle is where I need the foldable, and I'd like it activated with a button not an axis.

Thank You!



Tykonket (Unknown) 16.02.2017 11:22
Like in FS15 in FS17 you can add specializations with the <specialization> tag in the modDesc.xml
<specializations>
<specialization name="subsoiler" className="Subsoiler" filename="Subsoiler.lua" />
<!-- ................ -->
<specialization name="balerWrapperFix" className="BalerWrapperFix" filename="BalerWrapperFix.lua" />
</specializations>

You can also create new vehicletypes with the <vehicleTypes> tag in the modDesc.xml
<vehicleTypes>
<type name="subsoiler" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="attacherJoints" />
<!-- ............... -->
<specialization name="mountable" />
</type>
</vehicleTypes


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