<_templates Include="trucks">
	<Wheel>
		<RearWheel
			Type="Koleso_vaz2108_sneg"
			HardpointOffsetY="-0.12"
			SuspensionMin="-0.25"
			SuspensionStrength="0.038"
			Torque="default"
		/>
		<FrontWheel
			Type="Koleso_vaz2108_sneg"
			HardpointOffsetY="-0.12"
			SuspensionMin="-0.25"
			SuspensionStrength="0.038"
			Torque="default"
		/>
	</Wheel>
	<Body>
		<Mudguard AngularDamping="1.0" Collisions="Internal" Mass="10">
			<Constraint
				AxisLocal="(0.0; 0.0; 1.0)"
				MinLimit="-45"
				MaxLimit="45"
				Type="Hinge"
			/>
		</Mudguard>
	</Body>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.45"
		HardpointDefaultZ="0.75"
	>
		<Wheel _template="RearWheel" HardpointX="-5.1" />
		<Wheel _template="FrontWheel" HardpointX="-5.1" RightSide="true" />
	</Wheels>
	<TruckData RepairsCapacity="150" FuelCapacity="820">
		<LimitedFluid
			Center="(-5.012; 1.254; -0.0)"
			LengthX="-1.349"
			RadiusY="0.39"
			RadiusZ="0.39"
			Type="Cylinder"
		/>				
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-4.5; -0.5; 0)" />
		<Axles>
			<Axle Frame="axle" LeftWheel="0" RightWheel="1" />
		</Axles>
	</TruckData>
	<ControlledConstraints>
		<Constraint Id="opora" Name="opora" />
	</ControlledConstraints>
	<PhysicsModel Mesh="trucks/pricep_kvas_vaz2104">
		<Body
			CenterOfMassOffset="(-0.0; -0.2; 0)"
			ImpactType="Truck"
			Mass="500"
		>
			<Body Collisions="Internal" Mass="500" ModelFrame="BoneOpora003_cdt">
				<Constraint
					AxisLocal="(0; -1; 0)"
					MinLimit="0"
					MaxLimit="0.13"
					Name="opora"
					Type="Prismatic"
				>
					<Motor Force="100000" Type="Position" />
				</Constraint>
			</Body>
			<Body Collisions="Internal" Mass="500" ModelFrame="BoneOpora2_cdt">
				<Constraint
					AxisLocal="(0; -1; 0)"
					MinLimit="0"
					MaxLimit="0.31"
					Name="opora"
					Type="Prismatic"
				>
					<Motor Force="100000" Type="Position" />
				</Constraint>
			</Body>
			<Body _template="Mudguard" ModelFrame="BoneBriz1_cdt" />
			<Body _template="Mudguard" ModelFrame="BoneBriz2_cdt" />
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Light _template="StopSignal" Pos="(-6.1; 0.697; 0)" />
			<Flare
				Size="0.2"
				SizeAtDay="0.15"
				Pos="(-6.077; 0.526; 0.791)"
				Color="g(230; 138; 19)"
			/>
			<Flare
				Size="0.2"
				SizeAtDay="0.15"
				Pos="(-6.077; 0.526; -0.791)"
				Color="g(230; 138; 19)"
			/>
		</Ignition>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-6.1; 0.697; 0)" />
			<Flare
				_template="StopSignal"
				Size="0.2"
				SizeAtDay="0.15"
				Pos="(-6.077; 0.527; -0.671)"
			/>
			<Flare
				_template="StopSignal"
				Size="0.2"
				SizeAtDay="0.15"
				Pos="(-6.076; 0.529; 0.679)"
			/>
		</StopSignals>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-3.045; 0.504; 0.0)" />
		<WinchSocket Pos="(0.0; 0.56; -0.0)" />
		<RequiredAddon Types="q65v6l7" />	
		<InstallSocket Offset="(-2.8; 0.65; 0.0)" Type="pricep_kvas_2104" />
	</GameData>
	<FuelMass>
		<Body Mass="500" />
	</FuelMass>
</Truck>
