////////////////////////////////////////////////////////////////
//
//  ****************************************    
//   BMW E21 GEN BY DMATZIES 12/2007
//  ****************************************
//  	  - rFactor version - 
//
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//  Modification, re-use or re-release of these gen
//  files are expressly forbidden
//  without the author's expressed permission!
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//
////////////////////////////////////////////////////////////////

SearchPath=<VEHDIR>
SearchPath=<VEHDIR>\BMW320_E21


MASFile=BMW320_E21_OBJ.MAS
MASFILE=BMW320_E21_TEX.MAS
MASFILE=BMW320_E21_WHEELS.MAS

Instance=SLOT<ID>
{
  MOVEABLE=TRUE
  MeshFile=BMW_320_CHASSIS_A.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
  MeshFile=BMW_320_CHASSIS_B.GMT CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(50.0) ShadowReceiver=True
  MeshFile=BMW_320_CHASSIS_C.GMT CollTarget=False HATTarget=False LODIn=(50.0) LODOut=(65.0) ShadowReceiver=True 
  MeshFile=BMW_320_CHASSIS_D.GMT CollTarget=False HATTarget=False LODIn=(65.0) LODOut=(350.0) 

  MeshFile=BMW_320_SUSPENSION_A.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
  MeshFile=BMW_320_SUSPENSION_B.GMT CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(10.0) ShadowReceiver=True
  MeshFile=BMW_320_SUSPENSION_C.GMT CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(50.0)

  //------------------------------------SHADOW AND COLLISION OBJECTS---------------------------------
  MeshFile=BMW_320_SHADOW.gmt CollTarget=False HATTarget=False ShadowObject=(True, Solid, 256, 256, undershadow.dds) LODIn=(0.0) LODOut=(180.0)
  MeshFile=BMW_320_COLLISION.gmt Render=False CollTarget=True HATTarget=False LODIn=(0.0) LODOut=(200.0)

  Actor=VEHICLE

  //------------------------------------COCKPIT---------------------------------
  Instance=COCKPIT
  {
   Moveable=True
   MeshFile=BMW_320_COCKPIT.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) ShadowReceiver=True
   MeshFile=BMW_320_COCKPIT_WINDOWS.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) 
   MeshFile=<BMW_320_SHIFTLIGHT> CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(2.0) ShadowReceiver=True
  }

  //------------------------------------LENKRAD--------------------------------------------------------------------------
  Instance=WHEEL
  {
    Moveable=True
    MeshFile=BMW_320_STEERINGWHEEL.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(3.00) ShadowReceiver=True
  }


  //------------------------------------LENKRAD EXTERN--------------------------------------------------------------------
  Instance=WHEELEXT
  {
    Moveable=True
    MeshFile=BMW_320_STEERINGWHEEL_LOW.GMT CollTarget=False HATTarget=False LODIn=(3.0) LODOut=(20.00) // ShadowReceiver=True
  }

   //------------------------------------HELM--------------------------------------------------------------------------
  Instance=HELMET
  {
    Moveable=True
    MeshFile=BMW_320_HELMET_<12>_A.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) ShadowReceiver=True
    MeshFile=BMW_320_HELMET_<12>_B.gmt CollTarget=False HATTarget=False LODIn=(30.00) LODOut=(100.0) ShadowReceiver=True
  }

  //------------------------------------FAHRER-------------------------------------------------------------------------
  Instance=BODY
  {
    Moveable=True
    MeshFile=BMW_320_DRIVER_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.0) ShadowReceiver=True
    MeshFile=BMW_320_DRIVER_B.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(60.0) ShadowReceiver=True
  }

  //------------------------------------SITZ--------------------------------------------------------------------------
  Instance=SEAT
  {
    Moveable=True
    MeshFile=BMW_320_SEAT_A.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.00) ShadowReceiver=True
    MeshFile=BMW_320_SEAT_B.GMT CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(30.00) ShadowReceiver=True
    MeshFile=BMW_320_SEAT_C.GMT CollTarget=False HATTarget=False LODIn=(30.0) LODOut=(50.00) 
    MeshFile=BMW_320_GURT_A.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(10.00) ShadowReceiver=True
    MeshFile=BMW_320_GURT_B.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(25.00) ShadowReceiver=True

  }

  //------------------------------------COCKPIT EXTERN------------------------------------------------------------------
  Instance=CHASSIS_COCKPIT
  {
    Moveable=True
    MeshFile=BMW_320_CHASSIS_COCKPIT_A.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(10.0)  ShadowReceiver=True
    MeshFile=BMW_320_CHASSIS_COCKPIT_B.GMT CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(20.0)  ShadowReceiver=True
    MeshFile=BMW_320_CHASSIS_COCKPIT_C.GMT CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(80.0) ShadowReceiver=True
  }

  //------------------------------------ÜBNERROLLKÄFIG EXTERN-------------------------------------------------------------
  Instance=CHASSIS_KAEFIG
  {
    Moveable=True
    MeshFile=BMW_320_CHASSIS_KAEFIG_A.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(30.0)  ShadowReceiver=True
    MeshFile=BMW_320_CHASSIS_KAEFIG_B.GMT CollTarget=False HATTarget=False LODIn=(30.0) LODOut=(50.0)  ShadowReceiver=True
    MeshFile=BMW_320_CHASSIS_KAEFIG_C.GMT CollTarget=False HATTarget=False LODIn=(50.0) LODOut=(80.0) 
  }

  //------------------------------------SCHEINWERFER--LINKS---------------------------------------------------------------
  Instance=DEBRIS0 // Schweinwerfer links
  {
    Moveable=True
    MeshFile=BMW_320_SW_GLASS_1.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(300.0) ShadowReceiver=True
  }
  //------------------------------------SCHEINWERFER--RECHTS--------------------------------------------------------------

  Instance=DEBRIS1 // Schweinwerfer recht
  {
    Moveable=True
    MeshFile=BMW_320_SW_GLASS_2.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(300.0) ShadowReceiver=True
  }
  //------------------------------------FLÜGEL VORNE   ------------------------------------------------------------------------
  Instance=FWING
  {
    Moveable=True
    MeshFile=BMW_320_FWING_A.GMT CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.0) LODOut=(25.0) ShadowReceiver=True
    MeshFile=BMW_320_FWING_B.GMT CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(25.0) LODOut=(40.0) ShadowReceiver=True
    MeshFile=BMW_320_FWING_C.GMT CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(40.0) LODOut=(250.0) ShadowReceiver=True
  }

  //------------------------------------HECKFLÜGEL--------------------------------------------------------------------------

  Instance=RWING
  {
    Moveable=True
    MeshFile=BMW_320_RWING_A.GMT CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.0) LODOut=(40.0) ShadowReceiver=True
    MeshFile=BMW_320_RWING_B.GMT CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(40.0) LODOut=(60.0) ShadowReceiver=True
    MeshFile=BMW_320_RWING_C.GMT CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(60.0) LODOut=(200.0) ShadowReceiver=True
 }
  //------------------------------------BACKFIRE-------------------------------------------------------------------------

  INSTANCE=BACKFIRE
  {
    MOVEABLE=TRUE
    MESHFILE=BMW_320_BACKFIRE.GMT COLLTARGET=FALSE HATTARGET=FALSE LODIN=(0.00) LODOUT=(60.0)
  }


//-----------------WHEELS--------------------

  //------------------------------------LFTIRE---------------------------------------------------------------------

  Instance=LFTIRE
  {
    Moveable=True
    MESHFILE=BMW_320_BRAKEDISK_LF.GMT COLLTARGET=FALSE HATTARGET=FALSE LODIN=(0.00) LODOUT=(25.0) ShadowReceiver=True
    MESHFILE=BMW_320_BRAKEGLOW_LF.GMT COLLTARGET=FALSE HATTARGET=FALSE LODIN=(0.00) LODOUT=(30.0)
    MeshFile=BMW_320_WHEEL_LF_A_<3>.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(20.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_LF_A_<3>b.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(20.00) LODOut=(100.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_LF_A_<3>c.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(100.00) LODOut=(200.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_LF_A_<3>d.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(200.00) LODOut=(350.0) ShadowReceiver=True
  }
  //------------------------------------RFTIRE--------------------------------------------------------------------------

  Instance=RFTIRE
  {
    Moveable=True
    MESHFILE=BMW_320_BRAKEDISK_RF.GMT COLLTARGET=FALSE HATTARGET=FALSE LODIN=(0.00) LODOUT=(25.0) ShadowReceiver=True
    MESHFILE=BMW_320_BRAKEGLOW_RF.GMT COLLTARGET=FALSE HATTARGET=FALSE LODIN=(0.00) LODOUT=(30.0)
    MeshFile=BMW_320_WHEEL_RF_A_<3>.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(20.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_RF_A_<3>b.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(20.00) LODOut=(100.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_RF_A_<3>c.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(100.00) LODOut=(200.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_RF_A_<3>d.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(200.00) LODOut=(350.0) ShadowReceiver=True
  }
  //------------------------------------LRTIRE--------------------------------------------------------------------------

  Instance=LRTIRE
  {
    Moveable=True
    MESHFILE=BMW_320_BRAKEDISK_LR.GMT COLLTARGET=FALSE HATTARGET=FALSE LODIN=(0.00) LODOUT=(25.0) ShadowReceiver=True
    MESHFILE=BMW_320_BRAKEGLOW_LR.GMT COLLTARGET=FALSE HATTARGET=FALSE LODIN=(0.00) LODOUT=(30.0) 
    MeshFile=BMW_320_WHEEL_LR_A_<3>.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(20.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_LR_A_<3>b.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(20.00) LODOut=(100.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_LR_A_<3>c.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(100.00) LODOut=(200.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_LR_A_<3>d.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(200.00) LODOut=(350.0) ShadowReceiver=True
  }
  //------------------------------------RRTIRE--------------------------------------------------------------------------

  Instance=RRTIRE
  {
    Moveable=True
    MESHFILE=BMW_320_BRAKEDISK_RR.GMT COLLTARGET=FALSE HATTARGET=FALSE LODIN=(0.00) LODOUT=(25.0) ShadowReceiver=True
    MESHFILE=BMW_320_BRAKEGLOW_RR.GMT COLLTARGET=FALSE HATTARGET=FALSE LODIN=(0.00) LODOUT=(30.0)
    MeshFile=BMW_320_WHEEL_RR_A_<3>.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(20.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_RR_A_<3>b.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(20.00) LODOut=(100.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_RR_A_<3>c.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(100.00) LODOut=(200.0) ShadowReceiver=True
    MeshFile=BMW_320_WHEEL_RR_A_<3>d.GMT CollTarget=false HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(200.00) LODOut=(350.0) ShadowReceiver=True
  }

  //------------------------------------LFSPINDLE--------------------------------------------------------------------------
  Instance=LFSPINDLE
  {
    Moveable=True
    MeshFile=BMW_320_CALIPER_LF_A.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.0) ShadowReceiver=True
  }

  //------------------------------------RFSPINDLE-------------------------------------------------------------------------
  Instance=RFSPINDLE
  {
    Moveable=True
    MeshFile=BMW_320_CALIPER_RF_A.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.0) ShadowReceiver=True
  }

  //------------------------------------LRSPINDLE--------------------------------------------------------------------------
  Instance=LRSPINDLE
  {
    Moveable=True
    MeshFile=BMW_320_CALIPER_LR_A.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.0) ShadowReceiver=True
  }

  //------------------------------------RRSPINDLE-------------------------------------------------------------------------
  Instance=RRSPINDLE
  {
    Moveable=True
    MeshFile=BMW_320_CALIPER_RR_A.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.0) ShadowReceiver=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=headlight1.tga
   }

   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   
   {
    Moveable=True
    MeshFile=blglo_DS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(250.0) //
   }
   Instance=BLIGHTPS   
   {
    Moveable=True
    MeshFile=blglo_PS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(250.0) 
   }

  //------------------------------------RÜCKLICHT -------------------------------------------------------------------
  
  Instance=REARLIGHT // RückSchweinwerfer  
  {
    Moveable=True
    MeshFile=BMW_320_REARLIGHTS.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(120.0) ShadowReceiver=True
  }


   Instance=REVERSELIGHT  
   {
    Moveable=True
    MeshFile=BMW_320_REVERSELIGHTS.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(30.0)
   }

  
}