<?xml version="1.0" encoding="utf-8" ?>
<REPLACEMENT_SYSTEM>
	<!-- INPUTS section describes all inputs which can control selection of replacement items -->
	<INPUTS>
		<INPUT NAME="LIVERY" OPTIONS="4" />
	</INPUTS>

	<NAMES INPUT ="LIVERY">
		<NAME LIVERY="51" NAME="Livery 1" />
		<NAME LIVERY="52" NAME="Livery 2" />
		<NAME LIVERY="53" NAME="Livery 3" />
		<NAME LIVERY="54" NAME="Livery 4" />
		<NAME LIVERY="10" NAME="Preset Colour 1" />
		<NAME LIVERY="11" NAME="Preset Colour 2" />
		<NAME LIVERY="12" NAME="Preset Colour 3" />
		<NAME LIVERY="13" NAME="Preset Colour 4" />
		<NAME LIVERY="14" NAME="Preset Colour 5" />
		<NAME LIVERY="15" NAME="Preset Colour 6" />
		<NAME LIVERY="16" NAME="Preset Colour 7" />
		<NAME LIVERY="17" NAME="Preset Colour 8" />
		<NAME LIVERY="18" NAME="Preset Colour 9" />
		<NAME LIVERY="19" NAME="Preset Colour 10" />
		<NAME LIVERY="1" NAME="Preset Colour 11" />
		<NAME LIVERY="2" NAME="Preset Colour 12" />
		<NAME LIVERY="3" NAME="Preset Colour 13" />
		<NAME LIVERY="4" NAME="Preset Colour 14" />
		<NAME LIVERY="5" NAME="Preset Colour 15" />
		<NAME LIVERY="6" NAME="Preset Colour 16" />
		<NAME LIVERY="7" NAME="Preset Colour 17" />
		<NAME LIVERY="8" NAME="Preset Colour 18" />
		<NAME LIVERY="9" NAME="Preset Colour 19" />
	</NAMES>

	<!-- DEPENDENCY section describes inputs which depend on each other in that only some combinations are permitted -->
	<!-- this will only be used in game for the menu system, and in the editor -->

	<!-- CONDITION sections define what to replace and when to replace it		-->
	<!-- They are used in the same way for all situations				-->
	
	<!-- Simple case - exterior paint effecting two materials -->
	<CONDITION LIVERY="1">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_kyanite_blue.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_kyanite_blue_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="2">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_azure_blue.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_azure_blue_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="3">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_botanical_green.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_botanical_green_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="4">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_cashmere_gold.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_cashmere_gold_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="5">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_claret.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_claret_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="6">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_ebony.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_ebony_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="7">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_emerald_fire.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_emerald_fire_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="8">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_frost_blue.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_frost_blue_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="9">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_indigo_blue.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_indigo_blue_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="10">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_liquid_silver.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_liquid_silver_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="11">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_lunar_grey.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_lunar_grey_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="12">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_pearl_grey.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_pearl_grey_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="13">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_porcelain.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_porcelain_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="14">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_radiance.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_radiance_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="15">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_salsa.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_salsa_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="16">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_spectrum_blue.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_spectrum_blue_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="17">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_ultimate_black.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_ultimate_black_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="18">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_vapour_grey.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_vapour_grey_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="19">
		<REPLACE MATERIAL="RAN_SPORT_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_winter_gold.mtx" />
		<REPLACE MATERIAL="RAN_SPORT_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_jaguar_winter_gold_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="51">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="RAN_SPORT_LIVERY01.dds" />
	</CONDITION>

	<CONDITION LIVERY="52">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="RAN_SPORT_LIVERY02.dds" />
	</CONDITION>

	<CONDITION LIVERY="53">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="RAN_SPORT_LIVERY03.dds" />
	</CONDITION>

	<CONDITION LIVERY="54">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="RAN_SPORT_LIVERY04.dds" />
	</CONDITION>


</REPLACEMENT_SYSTEM>
