<_templates Include="trucks" />
<_parent File="kenworth_loader" />
<TruckAddon IsChassisFullOcclusion="true">
	<PhysicsModel Mesh="trucks/kenworth_trailer_mod_loader">
		<Body Mass="1400">
			<Body/>
			<Body/>
			<Body/>
			<Body Mass="40" ModelFrame="BoneShield_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="-2"
					MaxLimit="2"
					Type="Hinge"
				>
					<Motor Damping="500" Spring="5" Type="Spring" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Flare _template="MarkerBeacon" Pos="(2.16; 1.281; -1.548)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.16; 1.281; 1.548)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="MarkerBeacon" Pos="(-3.054; 1.283; -1.554)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="MarkerBeacon" Pos="(-3.054; 1.283; 1.554)" ParentFrame="BoneChassis_cdt" />
		</Ignition>
	</ModelAttachments>
	<GameData>
	    <LoadArea Min="(-0.2; 1.3; -1.2)" Max="(1.9; 3.2; 1.2)" Type="ShortLogs" />
		<LoadArea Min="(-2.8; 1.3; -1.2)" Max="(-0.5; 3.2; 1.2)" Type="ShortLogs" />		
		<WinchSocket Pos="(-2.73; 2.95;; 0.0)" ParentFrame="BoneGrappler_cdt" />
	    <WinchSocket Pos="(0.53; 3.8; -1.45)" />
		<WinchSocket Pos="(0.53; 3.8; 1.45)" />		
		<InstallSocket Type="KenworthTrailerModLoader" />
	</GameData>
	<ControlledIK>
		<Chain 
			CenterXZ="(-3.68; 0)"
		/>
	</ControlledIK>
	<AddonCamera FirstPersonPos="(-4.025; 4.856; 0.85)" ParentFrame="BoneRotationBase_cdt" />
</TruckAddon>
