// WTCC 2006 SEAT Leon
// This file specifices how to generate the vehicle graphics.
// It is pointed to by one or more *.veh files.
//
// All information except tokens are copied directly.
// Tokens have the format "<value>" where value is one of the following:
//   ID        - this is replaced by the proper slot identification (000, 001, etc.), or
//   1,2,3,etc - this is replaced by the first 1,2,3 characters of the
//               vehicle filename
//   VEHDIR    - this is replaced with the proper vehicles directory (e.g. E:\Data\season01\vehicles)
//   TEAMDIR   - this is replaced with the proper team directory (e.g. season01\vehicles\williams)
//   SPIN      - for the vehicle spinner in the options only
//   NOTSPIN   - for everything EXCEPT the vehicle spinner
//   LOW       - low detail only
//   MED       - medium detail only
//   HIGH      - high detail only
//   MAX       - maximum detail only
//   DASHLOW   - low detail dash
//   DASHHIGH  - high detail dash
//
// Example:
//   For slot #2 using the vehicle file "nicecar.veh", the line
//   "Instance=SLOT<ID>   MeshFile=<123>gva.gmt" would be replaced with
//   "Instance=SLOT002   MeshFile=nicgva.gmt"

//----------------------------------------

 //SearchPath=<TEAMDIR>..\
SearchPath=<TEAMDIR>
SearchPath=<VEHDIR>
SearchPath=<VEHDIR>WTCC\
SearchPath=<VEHDIR>WTCC\WTCC_2006\SEAT_Leon\

SearchPath=<VEHDIR>WTCC_2006\SEAT_Leon\

//-----MASFILES---------------------------

MASFile=2006_SEAT_Leon_GMT.MAS
MASFile=2006_SEAT_Leon_TEX.MAS
MASFile=RaceX_CMAPS.MAS
MASFile=cmaps.mas

//----------------------------------------


Instance=SLOT<ID>
{
  	Moveable=True
//------------------------------------MAX CAR SETTINGS---------------------------------------------
  	<MAX> MeshFile=SEAT_Leon_BODY_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.0) LODOut=(25.0) 
  	<MAX> MeshFile=SEAT_Leon_BODY_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(25.0) LODOut=(50.0)
  	<MAX> MeshFile=SEAT_Leon_BODY_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(50.0) LODOut=(1000.0)
//------------------------------------HIGH CAR SETTINGS--------------------------------------------
	<HIGH> MeshFile=SEAT_Leon_BODY_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.0) LODOut=(20.0) 
  	<HIGH> MeshFile=SEAT_Leon_BODY_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(20.0) LODOut=(35.0)
  	<HIGH> MeshFile=SEAT_Leon_BODY_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(35.0) LODOut=(1000.0)
//------------------------------------MED CAR SETTINGS---------------------------------------------
	<MED> MeshFile=SEAT_Leon_BODY_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.0) LODOut=(15.0) 
  	<MED> MeshFile=SEAT_Leon_BODY_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(15.0) LODOut=(25.0)
  	<MED> MeshFile=SEAT_Leon_BODY_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(25.0) LODOut=(1000.0)
//------------------------------------LOW CAR SETTINGS---------------------------------------------
	<LOW> MeshFile=SEAT_Leon_BODY_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.0) LODOut=(10.0) 
  	<LOW> MeshFile=SEAT_Leon_BODY_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(10.0) LODOut=(20.0)
  	<LOW> MeshFile=SEAT_Leon_BODY_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(20.0) LODOut=(1000.0)
//------------------------------------SHADOW AND COLLISION OBJECTS---------------------------------
	MeshFile=SEAT_Leon_BODY_SHADOW_A.gmt CollTarget=False HATTarget=False ShadowObject=(True, Solid, 256, 256, AMBIENTSHADA.TGA) LODIn=(0.0) LODOut=(200.0)
  	MeshFile=SEAT_Leon_Collision.gmt Render=False CollTarget=True HATTarget=False LODIn=(0.0) LODOut=(200.0)
	

  	Actor=VEHICLE

//-----------------FIRST PERSON COCKPIT--------------------
<STARTUPGRADES>
  	Instance=COCKPIT
  	{
   		Moveable=True
    		MeshFile=SEAT_Leon_INTERIOR_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) ShadowReceiver=True
		MeshFile=SEAT_Leon_DRIVER_NUMBERPLATE.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) ShadowReceiver=True
		MeshFile=SEAT_Leon_MOTEC.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_INTERIOR_BODY_a_Style<2>.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(4.0) ShadowReceiver=True
   		MeshFile=SEAT_Leon_MIRRORS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) 
		MeshFile=<WINDOWSINTERIOR> CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) ShadowReceiver=False
    		MeshFile=SEAT_Leon_cpitwiper1.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(4.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_cpitwiper2.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(4.0) ShadowReceiver=True
<RACEXINFDISPEXISTS>	MeshFile=<RACEXINFDISP> CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) ShadowReceiver=True

 	}
<STOPUPGRADES>

//------------------------------------Headlights and Tail Lights------------------------------------------------//
//////////////////////////////////////Headlight Projectors/////////////////////////////////////////////
  	Projector=Headlight
  	{
    		Moveable=True Dyn=True Active=False Pos=(0.0, 0.0, -17.0) Dir=(0.0, -.3, -.7) Radius=(6.5) Blend=(InvDstColor, One) Texmap=headlight1.tga
  	}
////////////////////////////////////////////////////////////////////////////////////////////////////////
  	Instance=HlightDS   //Headlights -Driver Side
  	{
    		Moveable=True
    		MeshFile=hlglo_DS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(200.0) 
  	}

  	Instance=HlightPS   //Headlights -Passenger Side
  	{
    		Moveable=True
    		MeshFile=hlglo_PS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(200.0) 
  	}

	Instance=BLIGHTDS   //Brakelights -Driver Side
	{
		Moveable=True
		MeshFile=blglo_DS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(200.0) 
	}

	Instance=BLIGHTPS   //Brakelights -Passenger Side
	{
		Moveable=True
		MeshFile=blglo_PS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(200.0) 
	}

	Instance=REVERSELIGHT   //Backuplights -Driver Side
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_REVERSELIGHT.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0)
  	}
//----------------------------------END OF HEADLIGHTS AND TAILLIGHTS------------------------------//

//----------------------------------------= WHEELS =----------------------------------------\\

  	Instance=LFTIRE
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_WHEEL_LF_A_STYLE1.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(200.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_BRAKEDISC_LF_A_STYLE1.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.00) LODOut=(20.0)	

    		MeshFile=SEAT_Leon_DISCGLOW_LF_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0)	
  	}

  	Instance=LFSPINDLE
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_HUB_SPINDLE_LF_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(10.0) ShadowReceiver=True
  	}

  	Instance=RFTIRE
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_WHEEL_RF_A_STYLE1.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(200.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_BRAKEDISC_RF_A_STYLE1.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.00) LODOut=(20.0)	
 
    		MeshFile=SEAT_Leon_DISCGLOW_RF_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0)	
 	}

  	Instance=RFSPINDLE
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_HUB_SPINDLE_RF_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(10.0) ShadowReceiver=True
  	}

  	Instance=LRTIRE
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_WHEEL_LR_A_STYLE1.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(200.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_BRAKEDISC_LR_A_STYLE1.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.00) LODOut=(20.0)	
  	
    		MeshFile=SEAT_Leon_DISCGLOW_LR_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0)	
	}

  	Instance=LRSPINDLE
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_HUB_SPINDLE_LR_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(10.0) ShadowReceiver=True
  	}

  	Instance=RRTIRE
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_WHEEL_RR_A_STYLE1.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(200.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_BRAKEDISC_RR_A_STYLE1.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.00) LODOut=(20.0)	
  	
    		MeshFile=SEAT_Leon_DISCGLOW_RR_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0)	
	}

  	Instance=RRSPINDLE
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_HUB_SPINDLE_RR_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(10.0) ShadowReceiver=True
  	}

//----------------------------------------= BUMPERS AND WINGS =----------------------------------------\\

  	Instance=FWING // FRONT BUMPER
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_FBUMPER_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_FBUMPER_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(25.0) LODOut=(50.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_FBUMPER_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(50.0) LODOut=(200.0) ShadowReceiver=True
  	}  

  	Instance=RWING // REAR BOOT WING
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_RWING_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_RWING_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(25.0) LODOut=(50.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_RWING_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(50.0) LODOut=(200.0) ShadowReceiver=True
  	}  

	Instance=DEBRIS1 // Light Cover LF
  	{
    		Moveable=True
  		MeshFile=SEAT_Leon_FRONTLIGHT_COVERS_L.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(150.0) ShadowReceiver=True
  	}

	Instance=DEBRIS2 // Light Cover RF
  	{
    		Moveable=True
  		MeshFile=SEAT_Leon_FRONTLIGHT_COVERS_R.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(150.0) ShadowReceiver=True
  	}

	Instance=DEBRIS3 // Light Cover LR
  	{
    		Moveable=True
  		MeshFile=SEAT_Leon_BACKLIGHT_COVERS_L.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(150.0) ShadowReceiver=True
  	}

	Instance=DEBRIS4 // Light Cover RR
  	{
    		Moveable=True
  		MeshFile=SEAT_Leon_BACKLIGHT_COVERS_R.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(150.0) ShadowReceiver=True
  	}

  	Instance=DEBRIS5 // HOOD
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_HOOD_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_HOOD_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(25.0) LODOut=(50.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_HOOD_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(50.0) LODOut=(200.0) ShadowReceiver=True
  	}

  	Instance=DEBRIS6 // BUMPER
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_RBUMPER_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_RBUMPER_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(25.0) LODOut=(50.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_RBUMPER_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(50.0) LODOut=(200.0) ShadowReceiver=True
  	}

  	Instance=DEBRIS7 // LMIRROR
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_LMIRROR_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_LMIRROR_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(25.0) LODOut=(50.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_LMIRROR_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(50.0) LODOut=(70.0) ShadowReceiver=True
  	}

  	Instance=DEBRIS8 // RMIRROR
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_RMIRROR_A_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_RMIRROR_B_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(25.0) LODOut=(50.0) ShadowReceiver=True
    		MeshFile=SEAT_Leon_RMIRROR_C_Style<2>.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(50.0) LODOut=(70.0) ShadowReceiver=True
  	}
	Instance=DEBRIS10 // CpitWiper1
  	{
    		Moveable=True
    		<MAX> MeshFile=SEAT_Leon_cpitwiper1.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(70.0) ShadowReceiver=True
    		<HIGH> MeshFile=SEAT_Leon_cpitwiper1.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(55.0) ShadowReceiver=True
    		<MED> MeshFile=SEAT_Leon_cpitwiper1.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(40.0) ShadowReceiver=True
		<LOW> MeshFile=SEAT_Leon_cpitwiper1.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True
  	}
	
	Instance=DEBRIS11 // CpitWiper2
  	{
    		Moveable=True
    		<MAX> MeshFile=SEAT_Leon_cpitwiper2.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(70.0) ShadowReceiver=True
    		<HIGH> MeshFile=SEAT_Leon_cpitwiper2.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(55.0) ShadowReceiver=True
    		<MED> MeshFile=SEAT_Leon_cpitwiper2.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(40.0) ShadowReceiver=True
		<LOW> MeshFile=SEAT_Leon_cpitwiper2.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True
  	}

//-----------------WINDOWS ARE SEPERATED BECAUSE OF SORTING ISSUES--------------------

	Instance=Windows
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_WINDOWS_01_A.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.0) LODOut=(200.0) ShadowReceiver=True
  		MeshFile=SEAT_Leon_WINDOWS_02_A.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.0) LODOut=(200.0) ShadowReceiver=True
  		MeshFile=SEAT_Leon_WINDOWS_03_A.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.0) LODOut=(200.0) ShadowReceiver=True
  		MeshFile=SEAT_Leon_WINDOWS_04_A.gmt CollTarget=False HATTarget=False ShadowReceiver=True LODIn=(0.0) LODOut=(200.0) ShadowReceiver=True
		MeshFile=SEAT_Leon_WINDOWS_INTERIOR_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) ShadowReceiver=False
  	}

	Instance=WHEEL
  	{
    		Moveable=True
		MeshFile=SEAT_Leon_STEERINGWHEEL_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(1.00) ShadowReceiver=True
  	}

  	Instance=WHEELEXT
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_EXTERIOR_STEERINGWHEEL_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0) ShadowReceiver=True
  	}

	Instance=HELMET
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_helmet_a_style<1>.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(250.0) ShadowReceiver=True
  	}

  	Instance=BODY
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_Driver.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(300.0) ShadowReceiver=True
		MeshFile=SEAT_Leon_hansdevice.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(300.0) ShadowReceiver=True
  	}

  	Instance=Dseat  //Driver Seat
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_racingseat.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) ShadowReceiver=True
  	}


//----------------EFFECTS-------------------
 
  	Instance=BACKFIRE
  	{
    		Moveable=True
    		MeshFile=SEAT_Leon_BACKFIRE.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(70.0)
  	}
)