
// 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
//               GenString defined in the corresponding *.veh file
//   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
//
//   UPNUMBER  - is replaced by the upgrade number (in the spinner only)
//   STARTUPGRADE - records this place in file in case we need to load multiple instances (one for each upgrade)
//   STOPUPGRADE  - checks to see if any upgrades were availible at last level, and if so, rewinds to the start of the upgrade section 
//
//   Tokens can also be defined in the upgrades file, pointed to by the corresponding *.veh file.
//
// 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=<VEHDIR>


SearchPath=<VEHDIR>Lexus\maps
SearchPath=Lexus\maps
MASFile=Lexus\LISF.mas
MASFile=cmaps.mas

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


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

Instance=SLOT<ID>
{
  Moveable=True
//------------------------------------MAX CAR SETTINGS---------------------------------------------

//------------------------------------MAX CAR SETTINGS---------------------------------------------
<MAX> MeshFile=LISF_body.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(10.0) ShadowReceiver=True
<MAX> MeshFile=LISF_body_B.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(20.0) ShadowReceiver=True
<MAX> MeshFile=LISF_body_C.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(30.0) ShadowReceiver=True
<MAX> MeshFile=LISF_body_D.gmt CollTarget=False HATTarget=False LODIn=(30.0) LODOut=(40.0) ShadowReceiver=True
<MAX> MeshFile=LISF_body_E.gmt CollTarget=False HATTarget=False LODIn=(40.0) LODOut=(50.0) ShadowReceiver=True
<MAX> MeshFile=LISF_body_F.gmt CollTarget=False HATTarget=False LODIn=(50.0) LODOut=(60.0) Reflect=NoLOD
<MAX> MeshFile=LISF_body_G.gmt CollTarget=False HATTarget=False LODIn=(60.0) LODOut=(500.0) Reflect=NoLOD
//------------------------------------HIGH CAR SETTINGS--------------------------------------------
<HIGH> MeshFile=LISF_body.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(8.0) ShadowReceiver=True
<HIGH> MeshFile=LISF_body_B.gmt CollTarget=False HATTarget=False LODIn=(8.0) LODOut=(15.0) ShadowReceiver=True
<HIGH> MeshFile=LISF_body_C.gmt CollTarget=False HATTarget=False LODIn=(15.0) LODOut=(30.0) ShadowReceiver=True
<HIGH> MeshFile=LISF_body_D.gmt CollTarget=False HATTarget=False LODIn=(30.0) LODOut=(40.0) ShadowReceiver=True
<HIGH> MeshFile=LISF_body_E.gmt CollTarget=False HATTarget=False LODIn=(40.0) LODOut=(60.0) ShadowReceiver=True
<HIGH> MeshFile=LISF_body_G.gmt CollTarget=False HATTarget=False LODIn=(60.0) LODOut=(500.0) Reflect=NoLOD
//------------------------------------MED CAR SETTINGS---------------------------------------------
<MED> MeshFile=LISF_body_B.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.0) ShadowReceiver=True
<MED> MeshFile=LISF_body_C.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(30.0) ShadowReceiver=True
<MED> MeshFile=LISF_body_D.gmt CollTarget=False HATTarget=False LODIn=(30.0) LODOut=(40.0) ShadowReceiver=True
<MED> MeshFile=LISF_body_F.gmt CollTarget=False HATTarget=False LODIn=(40.0) LODOut=(40.0) ShadowReceiver=True
<MED> MeshFile=LISF_body_G.gmt CollTarget=False HATTarget=False LODIn=(40.0) LODOut=(500.0) Reflect=NoLOD
//------------------------------------LOW CAR SETTINGS---------------------------------------------
<LOW> MeshFile=LISF_body_C.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(10.0) ShadowReceiver=True
<LOW> MeshFile=LISF_body_D.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(20.0) ShadowReceiver=True
<LOW> MeshFile=LISF_body_F.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(40.0) ShadowReceiver=True
<LOW> MeshFile=LISF_body_G.gmt CollTarget=False HATTarget=False LODIn=(40.0) LODOut=(500.0) Reflect=NoLOD
//------------------------------------SHADOW AND COLLISION OBJECTS---------------------------------
MeshFile=lx_shad.gmt Render=False CollTarget=False HATTarget=False ShadowObject=(True, Solid, 256, 256, ESP_UNDERSHADOW.TGA) LODIn=(0.0) LODOut=(200.0)
MeshFile=lx_coll.gmt Render=False CollTarget=True HATTarget=False LODIn=(0.0) LODOut=(200.0)


  Actor=VEHICLE

Instance=COCKPIT
{
  Moveable=True
    MeshFile=<LISF_dash> CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(3.0) ShadowReceiver=True 
    MeshFile=lx_dashback.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(3.0) ShadowReceiver=True 
    MeshFile=lx_gauges.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(3.0) ShadowReceiver=False 
	MeshFile=lx_digital.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(3.0) ShadowReceiver=False
    MeshFile=<LISF_inside> CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(3.0) ShadowReceiver=True 
    MeshFile=LISF_cockpit.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(3.0) ShadowReceiver=True 
    MeshFile=lx_wipers.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(3.0) ShadowReceiver=True 
    MeshFile=lx_in_mirror_C.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(3.0) ShadowReceiver=True 
    MeshFile=<LISF_seats> CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(3.0) ShadowReceiver=True Reflect=True

}



//------------------------------------Headlights and Tail Lights------------------------------------------------//

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=HEADLIGHT2.DDS
  }

//////////////////////////////////////Headlight Projectors/////////////////////////////////////////////
  Instance=HLIGHTDS
  {
    Moveable=True
    MeshFile=hlglo_DS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) 
  }

  Instance=HLIGHTPS
  {
    Moveable=True
    MeshFile=hlglo_PS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) 
  }

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

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

  Instance=REVERSELIGHT   //
  {
    Moveable=True
    MeshFile=reverselight.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0)
  }  
/////////////////////////////////LEFT FRONT TIRE AND SPINDLE//////////////////////////////////////////////////

  Instance=LFTIRE
  {
    Moveable=True
    MeshFile=lx_lf_tire.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(30.0) ShadowReceiver=True Reflect=True
    MeshFile=lx_lf_tire_low.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(30.00) LODOut=(300.0) ShadowReceiver=True Reflect=True
	MeshFile=lx_lf_rim.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(15.0) ShadowReceiver=True
	MeshFile=lx_lf_rim_B.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(15.00) LODOut=(30.0) ShadowReceiver=True	
	MeshFile=lx_lf_rim_C.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(30.00) LODOut=(40.0) ShadowReceiver=True	
	MeshFile=lx_lf_rim_E.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(40.00) LODOut=(350.0) ShadowReceiver=True	
    MeshFile=lx_lf_bd.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(500.0) ShadowReceiver=True 

  }

  Instance=LFSPINDLE
  {
    Moveable=True
    MeshFile=lx_lf_cal.gmt CollTarget=False HATTarget=False ShadowCaster=False LODIn=(0.00) LODOut=(50.0) ShadowReceiver=True Reflect=True
	
  }
  
/////////////////////////////////RIGHT FRONT TIRE AND SPINDLE//////////////////////////////////////////////////

  Instance=RFTIRE
  {
    Moveable=True
    MeshFile=lx_rf_tire.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(30.0) ShadowReceiver=True Reflect=True
    MeshFile=lx_rf_tire_low.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(30.00) LODOut=(300.0) ShadowReceiver=True Reflect=True
	MeshFile=lx_rf_rim.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(15.0) ShadowReceiver=True
	MeshFile=lx_rf_rim_B.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(15.00) LODOut=(30.0) ShadowReceiver=True	
	MeshFile=lx_rf_rim_C.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(30.00) LODOut=(40.0) ShadowReceiver=True	
	MeshFile=lx_rf_rim_E.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(40.00) LODOut=(350.0) ShadowReceiver=True		
    MeshFile=lx_rf_bd.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(500.0) ShadowReceiver=True 

  }

  Instance=RFSPINDLE
  {
    Moveable=True
    MeshFile=lx_rf_cal.gmt CollTarget=False HATTarget=False ShadowCaster=False LODIn=(0.00) LODOut=(50.0) ShadowReceiver=True Reflect=True
	
  }  
  
/////////////////////////////////LEFT REAR TIRE AND SPINDLE//////////////////////////////////////////////////

  Instance=LRTIRE
  {
    Moveable=True
    MeshFile=lx_lr_tire.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(30.0) ShadowReceiver=True Reflect=True
    MeshFile=lx_lr_tire_low.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(30.00) LODOut=(300.0) ShadowReceiver=True Reflect=True
	MeshFile=lx_lr_rim.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(15.0) ShadowReceiver=True
	MeshFile=lx_lr_rim_B.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(15.00) LODOut=(30.0) ShadowReceiver=True	
	MeshFile=lx_lr_rim_C.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(30.00) LODOut=(40.0) ShadowReceiver=True	
	MeshFile=lx_lr_rim_E.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(40.00) LODOut=(350.0) ShadowReceiver=True	
    MeshFile=lx_lr_bd.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(500.0) ShadowReceiver=True 

  }

  Instance=LRSPINDLE
  {
    Moveable=True
    MeshFile=lx_lr_cal.gmt CollTarget=False HATTarget=False ShadowCaster=False LODIn=(0.00) LODOut=(50.0) ShadowReceiver=True Reflect=True
	
  }  
  
/////////////////////////////////RIGHT REAR TIRE AND SPINDLE//////////////////////////////////////////////////

  Instance=RRTIRE
  {
    Moveable=True
    MeshFile=lx_rr_tire.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(30.0) ShadowReceiver=True Reflect=True
    MeshFile=lx_rr_tire_low.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(30.00) LODOut=(300.0) ShadowReceiver=True Reflect=True
	MeshFile=lx_rr_rim.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(15.0) ShadowReceiver=True
	MeshFile=lx_rr_rim_B.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(15.00) LODOut=(30.0) ShadowReceiver=True	
	MeshFile=lx_rr_rim_C.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(30.00) LODOut=(40.0) ShadowReceiver=True	
	MeshFile=lx_rr_rim_E.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 128, 128)  LODIn=(40.00) LODOut=(350.0) ShadowReceiver=True	
    MeshFile=lx_rr_bd.gmt CollTarget=true HATTarget=False ShadowCaster=(True, Solid, 256, 256)  LODIn=(0.00) LODOut=(500.0) ShadowReceiver=True 

  }

  Instance=RRSPINDLE
  {
    Moveable=True
    MeshFile=lx_rr_cal.gmt CollTarget=False HATTarget=False ShadowCaster=False LODIn=(0.00) LODOut=(50.0) ShadowReceiver=True Reflect=True
	
  }  

/////////////////////////////////SUSPENSIONS//////////////////////////////////////////////////
  
    Instance=DEBRIS5      
  {
    Moveable=True
    MeshFile=lx_lf_susp.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(150.0) ShadowReceiver=True Reflect=True
  } 

    Instance=DEBRIS6      
  {
    Moveable=True
    MeshFile=lx_rf_susp.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(150.0) ShadowReceiver=True Reflect=True
  } 

    Instance=DEBRIS7      
  {
    Moveable=True
    MeshFile=lx_lr_susp.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(150.0) ShadowReceiver=True Reflect=True
  } 

    Instance=DEBRIS8      
  {
    Moveable=True
    MeshFile=lx_rr_susp.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(150.0) ShadowReceiver=True Reflect=True
  } 

/////////////////////////////////SUSPENSIONS//////////////////////////////////////////////////
  
  Instance=LISF_windows      
  {
    Moveable=True
    MeshFile=LISF_windows.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  } 

  
  Instance=LISF_chassis      
  {
    Moveable=True
    MeshFile=LISF_chassis.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  }   

/////////////////////////////////UPGRADED PARTS//////////////////////////////////////////////////
  
<STARTUPGRADES>
  
  
  Instance=LISF_inside      
  {
    Moveable=True
    MeshFile=<LISF_inside> CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(8.0) ShadowReceiver=True Reflect=True
    MeshFile=<LISF_inside_med> CollTarget=False HATTarget=False LODIn=(8.00) LODOut=(20.0) ShadowReceiver=True Reflect=True
    MeshFile=<LISF_inside_low> CollTarget=False HATTarget=False LODIn=(20.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  }  

  Instance=LISF_seats      
  {
    Moveable=True
    MeshFile=<LISF_seats> CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(8.0) ShadowReceiver=True Reflect=True
    MeshFile=<LISF_seats_low> CollTarget=False HATTarget=False LODIn=(8.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  } 
  
  Instance=LISF_dash      
  {
    Moveable=True
    MeshFile=<LISF_dash_med> CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(10.0) ShadowReceiver=True Reflect=True
    MeshFile=<LISF_dash_low> CollTarget=False HATTarget=False LODIn=(10.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  }  
<STOPUPGRADES>

/////////////////////////////////UPGRADED PARTS//////////////////////////////////////////////////


    Instance=LISF_wipers      
  {
    Moveable=True
    MeshFile=lx_wipers.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  } 

  
 
  
  Instance=LISF_exhaust      
  {
    Moveable=True
    MeshFile=lx_exhaust.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  }
  
  
    Instance=LISF_rmirror      
  {
    Moveable=True
    MeshFile=lx_rmirror.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  } 
  
    Instance=LISF_lmirror      
  {
    Moveable=True
    MeshFile=lx_lmirror.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  }   

    Instance=LISF_in_mirror      
  {
    Moveable=True
    MeshFile=lx_in_mirror.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  }
  
    Instance=WHEEL      
  {
    Moveable=True
    MeshFile=lx_wheel.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(15.0) ShadowReceiver=True Reflect=True
    MeshFile=lx_wheel_low.gmt CollTarget=False HATTarget=False LODIn=(15.00) LODOut=(300.0) ShadowReceiver=True Reflect=True
  }  

    Instance=DEBRIS10      
  {
    Moveable=True
    MeshFile=lx_sharkwing.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  }  
  
    Instance=DEBRIS11      
  {
    Moveable=True
    MeshFile=lx_hood.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  }
  
    Instance=BODY      
  {
    Moveable=True
    MeshFile=lx_DRIVER.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True Reflect=True
  }
  
  Instance=Helmet
  {
    Moveable=True
//--------------------------------MAX HELMET SETTINGS------------------------------------------------------------------
<MAX>MeshFile=lx_HELMET_HIGH.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(10.0) ShadowReceiver=True
<MAX>MeshFile=lx_HELMET_MED.gmt  CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(20.0) ShadowReceiver=True
//--------------------------------HIGH HELMET SETTINGS------------------------------------------------------------------
<HIGH>MeshFile=lx_HELMET_HIGH.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
<HIGH>MeshFile=lx_HELMET_MED.gmt  CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(15.0) ShadowReceiver=True
//--------------------------------MED HELMET SETTINGS------------------------------------------------------------------
<MED>MeshFile=lx_HELMET_MED.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(10.0) ShadowReceiver=True
<MED>MeshFile=lx_HELMET_LOW.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(20.0) ShadowReceiver=True
//--------------------------------LOW HELMET SETTINGS------------------------------------------------------------------
<LOW>MeshFile=lx_HELMET_MED.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
<LOW>MeshFile=lx_HELMET_LOW.gmt CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(20.0) ShadowReceiver=True
  }  
}
