<_templates>
	<LimitedFluid>
		<BarrelFluid
			AxisX="(0; 1; 0)"
			LengthX="1.014"
			RadiusY="0.312"
			RadiusZ="0.312"
			Type="Cylinder"
		/>
	</LimitedFluid>
</_templates>
<TruckAddon>
	<TruckData FuelCapacity="600">
		<LimitedFluid _template = "BarrelFluid"	Center="(-1.007; 2.377; 0.335)"/>
		<LimitedFluid _template = "BarrelFluid"	Center="(-0.994; 2.377; -0.335)"/>	
		<LimitedFluid _template = "BarrelFluid"	Center="(-0.293; 2.377; -0.335)"/>
		<LimitedFluid _template = "BarrelFluid"	Center="(0.357; 2.377; -0.313)"/>
		<LimitedFluid _template = "BarrelFluid" Center="(0.31; 2.377; 0.34)"/>			
		<LimitedFluid _template = "BarrelFluid"	Center="(-0.347; 2.377; 0.326)"/>		
	</TruckData>	
	<PhysicsModel Mesh="trucks/maz538_barrels">
		<Body ImpactType="Truck" Mass="200">
			<Constraint Type="Fixed" />
			<Body ImpactType="Truck" Mass="420" ModelFrame="BoneBarrelsShifter_cdt">
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-0.01"
					MaxLimit="0.01"
					Type="Prismatic"
				>
					<Motor Damping="2000" Spring="1000" Type="Spring" />
				</Constraint>
				<Body ImpactType="Truck" Mass="70" ModelFrame="BoneBarrelLeft_cdt">
					<Constraint
						AxisLocal="(0.5;0;0.5)"
						MinLimit="0"
						MaxLimit="1"
						Type="Hinge"
					>
						<Motor Damping="3" Spring="300" Type="Spring" />
					</Constraint>
				</Body>
				<Body ImpactType="Truck" Mass="70" ModelFrame="BoneBarrelRight_cdt">
					<Constraint
						AxisLocal="(-0.3;0;-0.5)"
						MinLimit="-0.03"
						MaxLimit="0.03"
						Type="Prismatic"
					>
						<Motor Damping="2000" Spring="600" Type="Spring" />
					</Constraint>
				</Body>	
				<Body ImpactType="Truck" Mass="280" ModelFrame="BoneBarrelsFront_cdt">
					<Constraint
						AxisLocal="(0;0;1)"
						MinLimit="-0.006"
						MaxLimit="0.006"
						Type="Prismatic"
					>
						<Motor Damping="1500" Spring="800" Type="Spring" />
					</Constraint>
				</Body>		
			</Body>
		</Body>
	</PhysicsModel>
	<GameData>
		<InstallSocket Type="barrels" />
	</GameData>
</TruckAddon>