// BWTC 2007 Vauxhall/Opel Vectra
////////////////////////////////////////////////////////////////////////////////////////////////////
// This file specifices how to generate the vehicle graphics for the options car spinner only.
// 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
////////////////////////////////////////////////////////////////////////////////////////////////////

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

 //SearchPath=<TEAMDIR>..\
SearchPath=<TEAMDIR>
SearchPath=<VEHDIR>
SearchPath=<VEHDIR>RaceX\
SearchPath=<VEHDIR>RaceX\WTCC_2006\Vauxhall_Vectra\

SearchPath=<VEHDIR>WTCC_2006\Vauxhall_Vectra\

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

MASFile=2007_Vauxhall_Vectra_GMT.MAS
MASFile=2007_Vauxhall_Vectra_TEX.MAS
MASFile=RaceX_CMAPS.MAS
MASFile=cmaps.mas

ReflectPlane=(0.0, -1.0, 0.0, 0.0)

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

Instance=SLOT<ID>
{
  	Moveable=True
	MeshFile=Vauxhall_BODY_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) ShadowCaster=(Dynamic, Solid, 256, 256) Reflect=True
  	Actor=VEHICLE

	
	Instance=SPINNERWHEELS
  	{
    		Moveable=True
    		MeshFile=Vauxhall_WHEEL_LF_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
		MeshFile=Vauxhall_LID_LF_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
     		MeshFile=Vauxhall_BDISC_LF_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) Reflect=True
     		MeshFile=Vauxhall_HUB_SPINDLE_LF_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) Reflect=True
    		MeshFile=Vauxhall_WHEEL_RF_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
     		MeshFile=Vauxhall_LID_RF_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
     		MeshFile=Vauxhall_BDISC_RF_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) Reflect=True
    		MeshFile=Vauxhall_HUB_SPINDLE_RF_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) Reflect=True
    		MeshFile=Vauxhall_WHEEL_LR_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
		MeshFile=Vauxhall_LID_LR_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
     		MeshFile=Vauxhall_BDISC_LR_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) Reflect=True
    		MeshFile=Vauxhall_HUB_SPINDLE_LR_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) Reflect=True
    		MeshFile=Vauxhall_WHEEL_RR_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
    		MeshFile=Vauxhall_LID_RR_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
     		MeshFile=Vauxhall_BDISC_RR_A_STYLE1.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) Reflect=True
    		MeshFile=Vauxhall_HUB_SPINDLE_RR_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) Reflect=True
  	}

	Instance=FWING // FRONT BUMPER
  	{
    		Moveable=True
    		MeshFile=Vauxhall_FBUMPER_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
   
  	}  

  	Instance=RWING // REAR BOOT WING
  	{
    		Moveable=True
    		MeshFile=Vauxhall_RWING_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
    	}  

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

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

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

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

	Instance=DEBRIS5 // HOOD
  	{
    		Moveable=True
    		MeshFile=Vauxhall_HOOD_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
    		
  	}

  	Instance=DEBRIS6 // BUMPER
  	{
    		Moveable=True
    		MeshFile=Vauxhall_RBUMPER_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
    		
  	}

  	Instance=DEBRIS7 // LMIRROR
  	{
    		Moveable=True
    		MeshFile=Vauxhall_MIRRORL_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
    		
  	}

  	Instance=DEBRIS8 // RMIRROR
  	{
    		Moveable=True
    		MeshFile=Vauxhall_MIRRORR_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(200.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
    		
  	}

	Instance=DEBRIS10 // CpitWiper1
  	{
    		Moveable=True
    		MeshFile=Vauxhall_cpitwiper1.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(25.0) Reflect=True
  	}
	Instance=DEBRIS11 // CpitWiper2
  	{
    		Moveable=True
    		MeshFile=Vauxhall_cpitwiper2.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(25.0) Reflect=True
  	}

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

	Instance=Windows
  	{
    		Moveable=True
    		MeshFile=Vauxhall_WINDOW_01_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) Reflect=True
  		MeshFile=Vauxhall_WINDOW_02_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) Reflect=True
  		MeshFile=Vauxhall_WINDOW_03_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) Reflect=True
  		MeshFile=Vauxhall_WINDOW_04_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) Reflect=True
  	}

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

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


}
