<_templates Include="trucks">
	<Body>
		<LimitsFuel Collisions="None" Mass="20">
			<Constraint
				AxisLocal="(1; 0; 0)"
				Type="Hinge"
				MinLimit="-5"
				MaxLimit="5"
			>
				<Motor Damping="50" Spring="500" Type="Spring" />
			</Constraint>
		</LimitsFuel>
		<Limits Collisions="None">
			<Constraint Type="Fixed">
				<Motor Damping="250" Spring="0.25" Type="Spring" />
			</Constraint>
		</Limits>
	</Body>
</_templates>
<TruckAddon>
	<Rotator EngineTorqueFactor="0" Frame="BoneRotatorL" RotationSpeed="4" />
	<Rotator EngineTorqueFactor="0" Frame="BoneRotatorR" RotationSpeed="4.1" />
	<WheelRepairsHide>
		<Mesh Frame="wheel" HideThreshold="0.0" />
	</WheelRepairsHide>
	<FuelHide>
		<Mesh Frame="fuel" HideThreshold="0.0" />
	</FuelHide>
	<TruckData
		FuelCapacity="100"
		WheelRepairsCapacity="2"
	>
		<LimitedFluid Center="(1.739; 2.67; 0.297)" SizeX="0.407" SizeY="0.520" SizeZ="0.206" Type="Box" />
		<LimitedFluid Center="(1.327; 2.67; 0.297)" SizeX="0.407" SizeY="0.520" SizeZ="0.206" Type="Box" />
		<LimitedFluid Center="(0.912; 2.67; 0.297)" SizeX="0.407" SizeY="0.519" SizeZ="0.203" Type="Box" />
		<LimitedFluid Center="(1.654; 2.517; 0.645)" SizeX="0.514" SizeY="0.203" SizeZ="0.407" Type="Box" />
		<LimitedFluid Center="(0.981; 2.517; 0.644)" SizeX="0.514" SizeY="0.203" SizeZ="0.407" Type="Box" />
	</TruckData>
	<PhysicsModel Mesh="trucks/ford_f750_tuning/ford_f750_rooftrunk_1">
		<Body ImpactType="Truck" Mass="100">
			<Constraint Type="Rigid" />
			<Body _template="LimitsFuel" ModelFrame="BoneFuel_cdt" />
			<Body
				_template="Limits"
				LinearDamping="2"
				Mass="30"
				ModelFrame="BoneWheel_cdt"
			>
				<Constraint LinearLimitsX="(0;0.04)" LinearLimitsZ="(0;0.03)" LinearLimitsY="(0;0.1)" />
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<MainHeadLight>
			<Model _template="HeadLightRay" Org="(2.305; 2.451; -0.348)" />
			<Model _template="HeadLightRay" Org="(2.305; 2.451; 0.348)" />
			<Flare _template="HeadLight" Color="g(255; 235; 205) x 0.45" Size="0.30" Pos="(2.305; 2.451; -0.49)" />
			<Flare _template="HeadLight" Color="g(255; 235; 205) x 0.45" Size="0.30" Pos="(2.305; 2.451; -0.348)" />
			<Flare _template="HeadLight" Color="g(255; 235; 205) x 0.45" Size="0.30" Pos="(2.305; 2.451; -0.2)" />
			<Flare _template="HeadLight" Color="g(255; 235; 205) x 0.45" Size="0.30" Pos="(2.305; 2.451; 0.2)" />
			<Flare _template="HeadLight" Color="g(255; 235; 205) x 0.45" Size="0.30" Pos="(2.305; 2.451; 0.348)" />
			<Flare _template="HeadLight" Color="g(255; 235; 205) x 0.45" Size="0.30" Pos="(2.305; 2.451; 0.49)" />
		</MainHeadLight>
		<Ignition _template="Flasher">
			<Model Dir="(0.923; 0.082; -0.375)" Org="(0.686; 2.487; -0.989)" ParentFrame="BoneRotatorR" />
			<Light Dir="(0.923; 0.082; -0.375)" Pos="(0.686; 2.487; -0.989)" ParentFrame="BoneRotatorR" />
			<Flare Dir="(0.923; 0.082; -0.375)" Pos="(0.686; 2.487; -0.989)" ParentFrame="BoneRotatorR" />
			<Flare Dir="(0.923; 0.082; -0.375)" Pos="(0.686; 2.487; -0.989)" ParentFrame="BoneRotatorR" />
			<Flare Pos="(0.635; 2.482; -0.968)" />
		</Ignition>
		<Ignition _template="Flasher">
			<Model Dir="(0; 0.1; 1)" Org="(0.635; 2.487; 1.02)" ParentFrame="BoneRotatorL" />
			<Light Dir="(0; 0.1; 1)" Pos="(0.635; 2.487; 1.02)" ParentFrame="BoneRotatorL" />
			<Flare Dir="(0; 0.1; 1)" Pos="(0.635; 2.487; 1.02)" ParentFrame="BoneRotatorL" />
			<Flare Dir="(0; 0.1; 1)" Pos="(0.635; 2.487; 1.02)" ParentFrame="BoneRotatorL" />
			<Flare Pos="(0.635; 2.482; 0.968)" />
		</Ignition>
	</ModelAttachments>
	<MainHeadLight _template="Multiply2" />
	<GameData
		CameraPreset="addon_2"
		Category="frame_addons"
		Price="2300"
		UnlockByExploration="false"
		UnlockByRank="1"
	>
		<UiDesc
			UiDesc="UI_TUNING_ROOFRACK_SMALL_DESC"
			UiIcon30x30=""
			UiIcon40x40=""
			UiName="UI_TUNING_ROOFRACK_SMALL_NAME"
		/>
		<InstallSocket Type="FordF750Rooftrunk" />
	</GameData>
</TruckAddon>
