<_templates Include="trucks">
	<Flare>
		<TrunkLight
			AspectRatio="1.4"
			Color="g(181; 181; 181) x 0.8"
			Dir="(1.0; 0; 0)"
			DirAngle="100"
			Size="0.4"
		/>
	</Flare>
	<Body>
		<Tros Collisions="None" Mass="30">
			<Constraint
				ConeMin="-90"
				ConeMax="0"
				PlaneAxisLocal="(0;0;1)"
				TwistAxisLocal="(0;1;0)"
				Type="Ragdoll"
			/>
		</Tros>
	</Body>
</_templates>
<TruckAddon>
	<TruckData FuelCapacity="80" RepairsCapacity="200" />
	<RepairsHide>
		<Mesh Frame="repairs_hide" HideThreshold="0.0" />
	</RepairsHide>
	<PhysicsModel Mesh="trucks/uaz_trunk">
		<Body
			CenterOfMassOffset="(0.2; -0.2; 0)"
			ImpactType="Truck"
			Mass="150"
			ModelFrame="BoneRoot_cdt"
		>
			<Constraint Type="Fixed" />
			<Body _template="Tros" ModelFrame="BoneChain1_cdt">
				<Constraint>
					<PlaneConeMotor Damping="100" Spring="1600" Type="Spring" />
				</Constraint>
			</Body>
			<Body _template="Tros" ModelFrame="BoneChain2_cdt">
				<Constraint>
					<PlaneConeMotor Damping="100" Spring="800" Type="Spring" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Light
				AttenEnd="5"
				Color="(255; 255; 255) x 16.0"
				Dir="(1.0; -0.2; 0)"
				InnerCone="80"
				OuterCone="120"
				Pos="(0.35; 2.075; 0)"
			/>
			<Flare _template="TrunkLight" Pos="(0.604; 2.22; -0.484)" Reflections="true" />
			<Flare _template="TrunkLight" Pos="(0.604; 2.222; -0.243)" />
			<Flare _template="TrunkLight" Pos="(0.604; 2.22; 0.484)" Reflections="true" />
			<Flare _template="TrunkLight" Pos="(0.604; 2.222; 0.243)" />
			<Flare _template="BlueStreak" Pos="(0.604; 2.22; -0.363)" />
			<Flare _template="BlueStreak" Pos="(0.604; 2.22; 0.363)" />
		</Ignition>
	</ModelAttachments>
	<GameData>
		<InstallSocket Type="UazTrunk" />
	</GameData>
</TruckAddon>
