
// 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=<VEHDIR>

MASFile=Beetle\Beetle_Model.mas
MASFile=Beetle\Beetle_Image.mas
MASFile=cmaps.mas

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

Instance=SLOT<ID>
{
  Moveable=True
//------------------------------------MAX CAR SETTINGS---------------------------------------------
<MAX> MeshFile=Beetle_Body_Max.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(10.0) ShadowReceiver=True
<MAX> MeshFile=Beetle_Body_High.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(20.0) ShadowReceiver=True
<MAX> MeshFile=Beetle_Body_Med.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(100.0) ShadowReceiver=True
<MAX> MeshFile=Beetle_Body_Low.gmt CollTarget=False HATTarget=False LODIn=(100.0) LODOut=(1000.0) ShadowReceiver=True
//------------------------------------HIGH CAR SETTINGS--------------------------------------------
<HIGH> MeshFile=Beetle_Body_Max.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
<HIGH> MeshFile=Beetle_Body_High.gmt CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(10.0) ShadowReceiver=True
<HIGH> MeshFile=Beetle_Body_Med.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(50.0) ShadowReceiver=True
<HIGH> MeshFile=Beetle_Body_Low.gmt CollTarget=False HATTarget=False LODIn=(50.0) LODOut=(1000.0) ShadowReceiver=True
//------------------------------------MED CAR SETTINGS---------------------------------------------
<MED> MeshFile=Beetle_Body_Max.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
<MED> MeshFile=Beetle_Body_Med.gmt CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(50.0) ShadowReceiver=True
<MED> MeshFile=Beetle_Body_Low.gmt CollTarget=False HATTarget=False LODIn=(50.0) LODOut=(1000.0) ShadowReceiver=True
//------------------------------------LOW CAR SETTINGS---------------------------------------------
<LOW> MeshFile=Beetle_Body_High.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
<LOW> MeshFile=Beetle_Body_Med.gmt CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(20.0) ShadowReceiver=True
<LOW> MeshFile=Beetle_Body_Low.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(1000.0) ShadowReceiver=True
//------------------------------------SHADOW AND COLLISION OBJECTS---------------------------------
MeshFile=Beetle_shad.gmt CollTarget=False HATTarget=False ShadowObject=(True, Solid, 256, 256, Beetle_Undershadow.tga) LODIn=(0.0) LODOut=(200.0)
MeshFile=Beetle_collision.gmt Render=False CollTarget=True HATTarget=False LODIn=(0.0) LODOut=(200.0)

  Actor=VEHICLE

Instance=COCKPIT
{
  Moveable=True
  MeshFile=Beetle_cpCockpit.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
  MeshFile=<TACHOMETER> CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
  MeshFile=Beetle_cpWindow.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0)
  MeshFile=Beetle_cpSideMirror.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
  MeshFile=Beetle_cpRoomMirror.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
}

//------------------------------------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)
  }
//----------------------------------END OF HEADLIGHTS AND TAILLIGHTS------------------------------//

//---------------------------------------------UPGRADES-------------------------------------------//

<STARTUPGRADES>

////////////////////////////////////Splitter/////////////////
<FWINGEXISTS>  Instance=FWING
<FWINGEXISTS>  {
<FWINGEXISTS>    Moveable=True
<FWINGEXISTS>    MeshFile=<FWING> CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(200.0) ShadowReceiver=True
<FWINGEXISTS>  }

///////////////////////////////////Rearwing//////////////////////////
<RWINGEXISTS>  Instance=RWING
<RWINGEXISTS>  {
<RWINGEXISTS>    Moveable=True
<RWINGEXISTS>    MeshFile=<RWING> CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(200.0) ShadowReceiver=True
<RWINGEXISTS>  }

/////////////////////////////////Left Front Tire and Spindle//////////////////////////////////////////////////
  Instance=LFTIRE
  {
    Moveable=True
    MeshFile=Beetle_Brake_FL.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0) ShadowReceiver=True
    //MeshFile=BrakeDiscGlow_FL.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0)
    MeshFile=<LFTIRES> CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(200.0) ShadowReceiver=True
  }

  Instance=LFSpindle
  {
    Moveable=True
    MeshFile=Beetle_Caliper_FL.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(10.0) ShadowReceiver=True  //this is actually the caliper
  }
/////////////////////////////////Right Front Tire and Spindle//////////////////////////////////////////////////
  Instance=RFTIRE
  {
   Moveable=True
   MeshFile=Beetle_Brake_FR.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0) ShadowReceiver=True
   //MeshFile=BrakeDiscGlow_FR.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0)
   MeshFile=<RFTIRES> CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(200.0) ShadowReceiver=True
  }

  Instance=RFSpindle
  {
    Moveable=True
    MeshFile=Beetle_Caliper_FR.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(10.0) ShadowReceiver=True  //this is actually the caliper
  }
/////////////////////////////////Left Rear Tire and Spindle//////////////////////////////////////////////////
  Instance=LRTIRE
  {
    Moveable=True
    MeshFile=Beetle_Brake_RL.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0) ShadowReceiver=True
    //MeshFile=BrakeDiscGlow_RL.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0)
    MeshFile=<LRTIRES> CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(200.0) ShadowReceiver=True
  }

  Instance=LRSpindle
  {
    Moveable=True
    MeshFile=Beetle_Caliper_RL.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(10.0) ShadowReceiver=True  //this is actually the caliper
  }
/////////////////////////////////Right Rear Tire and Spindle//////////////////////////////////////////////////
  Instance=RRTIRE
  {
    Moveable=True
    MeshFile=Beetle_Brake_RR.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0)ShadowReceiver=True
    //MeshFile=BrakeDiscGlow_RR.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(20.0)
    MeshFile=<RRTIRES> CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 128, 128) LODIn=(0.00) LODOut=(200.0) ShadowReceiver=True
  }

  Instance=RRSpindle
  {
    Moveable=True
    MeshFile=Beetle_Caliper_RR.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(10.0) ShadowReceiver=True  //this is actually the caliper
  }


<STOPUPGRADES>
/////////////////////////////////End Of Upgrades//////////////////////////////////////////////////
  Instance=Windows
  {
    Moveable=True
    MeshFile=Beetle_Window.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(1000.0) ShadowReceiver=True
  }

  Instance=Taillight
  {
    Moveable=True
    MeshFile=Beetle_Taillight_L.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(1000.0) ShadowReceiver=True
    MeshFile=Beetle_Taillight_R.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(1000.0) ShadowReceiver=True
  }

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

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

  Instance=HELMET
  {
    Moveable=True
    MeshFile=Beetle_Helmet.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(300.0) ShadowReceiver=True
  }

  Instance=Driver
  {
    Moveable=True
    MeshFile=Beetle_Driver.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(300.0) ShadowReceiver=True
  }

}