<?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="1" NAME="Preset Colour 1" />
		<NAME LIVERY="2" NAME="Preset Colour 2" />
		<NAME LIVERY="3" NAME="Preset Colour 3" />
		<NAME LIVERY="4" NAME="Preset Colour 4" />
		<NAME LIVERY="5" NAME="Preset Colour 5" />

	</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="FERR_F50_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_rosso_competizione.mtx" />
		<REPLACE MATERIAL="FERR_F50_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_rosso_competizione_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="2">
		<REPLACE MATERIAL="FERR_F50_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_giallo.mtx" />
		<REPLACE MATERIAL="FERR_F50_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_giallo_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="3">
		<REPLACE MATERIAL="FERR_F50_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_rosso_nuvolari.mtx" />
		<REPLACE MATERIAL="FERR_F50_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_rosso_nuvolari_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="4">
		<REPLACE MATERIAL="FERR_F50_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_nero.mtx" />
		<REPLACE MATERIAL="FERR_F50_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_nero_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="5">
		<REPLACE MATERIAL="FERR_F50_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_argento_alfa.mtx" />
		<REPLACE MATERIAL="FERR_F50_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_alfa_argento_alfa_skin.mtx" />
	</CONDITION>

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

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

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

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

</REPLACEMENT_SYSTEM>
