car
{
   name=Mazda RX-8 GT
   id=mazdarx8
   version=090b
   credits=Model/textures: stecki, Ini/sounds: MazKid, Gauges: Georg, Raven Variants: TS020
   comments=
   year=2004
   wheels=4
   skid
   {
      sample=skid.wav
   }
   shadow
   {
      texture=shadow.tga
      width=2.3
      length=4.6
      offset=0
   }
   cg
   {
      x=0
      y=-0.31
      z=0.01
   }
}
graphics
{
  intensity=1
  shadow
  {
  }
	generic
	{
		model0
                {
                        file=bancos.dof
                }
                model1
                {
                        file=capot.dof
                }
                model2
                {
                        file=choques_frente.dof
                }
                model3
                {
                        file=choques_tras.dof
                }
                model4
                {
                        file=mala.dof
                }
                model5
                {
                        file=porta_condutor.dof
                }
                model6
                {
                        file=porta_passageiro.dof
                }
                model7
                {
                        file=porta_tras_direita.dof
                }
                model8
                {
                        file=porta_tras_esquerda.dof
                }
                model9
                {
                        file=

    		}
	}
}

body
{
   mass=1374
   restitution_coeff=0
   inertia
   {
      x=1700
      y=2200
      z=400
   }
   model
   {
      file=body.dof
   }
   model_incar
   {
      file=body.dof
   }
   model_braking_l
   {
          file=brakelights.dof
      file=
   }
   width=1.94
   height=0.8
   length=4.67
   manual_box=0
   model_light_l
   {
      file=
   }
}
steer
{
   x=0.37
   y=0.108
   z=0.288
   radius=10
   xa=15.9
   lock=1080
   model
   {
      file=volante.dof
   }
}
engine
{
   mass=0
   max_rpm=9000
   idle_rpm=920
   stall_rpm=400
   start_rpm=900
   autoclutch_rpm=2500
   starter=1
   starter_torque=100
   curve_torque=torque.crv
   max_torque=1
   reaction=0
   shifting
   {
      automatic=0
      shift_up_rpm=8500
      shift_down_rpm=4750
      time_to_declutch=110
      time_to_clutch=50
      sample=shift.mp3
   }
   inertia
   {
      engine=0.25
      final_drive=0.12
   }
   braking_coeff=1
   rolling_friction_coeff=0.2
   sample=Engine.wav
   sample_rpm=4000
   start_stalled=0
}
gearbox
{
   gears=7
   gear0
   {
      ratio=-2.222
      inertia=0.1
   }
   gear1
   {
      ratio=3.76
      inertia=0.1
   }
   gear2
   {
      ratio=2.27
      inertia=0.08
   }
   gear3
   {
      ratio=1.65
      inertia=0.06
   }
   gear4
   {
      ratio=1.19
      inertia=0.04
   }
   gear5
   {
      ratio=1
      inertia=0.02
   }
   gear6
   {
      ratio=0.84
      inertia=0.01
   }
}
clutch
{
   max_torque=575
}
handbrakes
{
   wheels=23
}
differential
{
   type=1
   inertia=0.2
   ratio=4.444
   locking_coefficient=25
   locking_coeff=50
   clutches=0
   clutch_factor=0
   power_angle=0
   coast_angle=0
   output0=2
   output1=3
}
aero
{
   body
   {
      center=0 -0.2 0
      cx=0.33
      area=1.85
   }
   wings=3
   wing0
   {
      name=BodyLift
      span=1
      cord=0.1
      coeff_drag=0
      coeff_down=0
      center=0.000 0.000 0.000
      angle=0
      angle_offset=10
   }
   wing1
   {
      name=FrontSplitter
      span=1
      cord=0.1
      coeff_drag=3
      coeff_down=30
      center=0.000 -0.200 1.420
      angle=0
      angle_offset=10
   }
   wing2
   {
      name=RearSpoilerandDiffuser
      span=1
      cord=0.1
      coeff_drag=3
      coeff_down=30
      center=0.000 -0.200 -1.270
      angle=0
      angle_offset=10
   }
}
antirollbar
{
   count=0
   arb0
   {
      susp_left=0
      susp_right=1
      k=36000
   }
   arb1
   {
      susp_left=2
      susp_right=3
      k=15000
   }
}
susp_front
{
   y=-0.15
   z=1.36
   restlen=0.27
   minlen=0.1
   maxlen=0.3
   k=74250
   bump_rate=9950
   rebound_rate=9950
   roll_center
   {
      x=0
      y=-0.52
      z=0
   }
}
susp_rear
{
   y=-0.15
   z=-1.35
   restlen=0.27
   minlen=0.1
   maxlen=0.3
   k=60250
   bump_rate=8750
   rebound_rate=8400
   roll_center
   {
      x=0
      y=-0.47
      z=0
   }
}
susp0~susp_front
{
   x=0.77
   y=-0.15
   z=1.36
   roll_center
   {
      x=0
      y=-0.6
      z=0
   }
   minlen=0.08
   maxlen=0.3
   restlen=0.33
   anti_pitch=0
   k=43300
   bump_rate=6550
   rebound_rate=6550
}
susp1~susp_front
{
   x=-0.77
   y=-0.15
   z=1.36
   roll_center
   {
      x=0
      y=-0.6
      z=0
   }
   minlen=0.08
   maxlen=0.3
   restlen=0.33
   anti_pitch=0
   k=43300
   bump_rate=6550
   rebound_rate=6550
}
susp2~susp_rear
{
   x=0.77
   y=-0.15
   z=-1.34
   roll_center
   {
      x=0
      y=-0.7
      z=0
   }
   minlen=0.07
   maxlen=0.32
   restlen=0.3
   anti_pitch=0
   k=45800
   bump_rate=5950
   rebound_rate=5800
}
susp3~susp_rear
{
   x=-0.77
   y=-0.15
   z=-1.34
   roll_center
   {
      x=0
      y=-0.7
      z=0
   }
   minlen=0.07
   maxlen=0.32
   restlen=0.3
   anti_pitch=0
   k=45800
   bump_rate=5950
   rebound_rate=5800
}
tire_model_front
{
   damping_predict_lat=0.672
   damping_predict_long=0.028
}
tire_model_rear
{
   damping_predict_lat=0.734
   damping_predict_long=0.031
}
pacejka
{
   a0=1.55
   a1=-40
   a2=1700
   a3=3200;2800
   a4=7.2
   a5=0.014
   a6=-0.24
   a7=1.0
   a8=-0.03
   a9=-0.0013
   a10=-0.15
   a111=-8.5
   a112=-0.29
   a12=17.8
   a13=-2.4
   b0=1.65
   b1=-80
   b2=1800
   b3=23.3
   b4=390
   b5=0.05
   b6=0
   b7=0.055
   b8=-0.024
   b9=0.014
   b10=0.26
   b12=0
   c0=2.2
   c1=-4.1
   c2=-4.2
   c3=-1.8
   c4=-9.1
   c5=0.0225
   c6=0
   c7=0.044
   c8=-0.58
   c9=0.18
   c10=0.043
   c11=0.048
   c12=-0.0035
   c13=-0.18
   c14=0.14
   c15=-1.029
   c16=0.27
   c17=-1.1
   optimal_slipratio=0.1
   optimal_slipangle=0.11
}
wheel_front
{
   y=0
   z=0
   steering=1
   powered=0
   lock=40
   ackerman=1.1
   mass=15
   inertia=1.1
   radius=.33
   rolling_coeff=0.015
   max_braking=2100
   braking_factor=1
   tire_rate=300000
   pacejka~pacejka
   {
   }
}
wheel_rear
{
   y=0
   z=0
   steering=0
   powered=1
   mass=15
   inertia=1.1
   radius=.33
   rolling_coeff=0.015
   max_braking=700
   braking_factor=1
   tire_rate=300000
   max_handbrake_torque=2500
   pacejka~pacejka
   {
      a1=-55
      a2=1950
      b1=-110
      b2=1800
      b4=410
      b5=0.075
      c1=-4.3
      c2=-4.4
      c3=-1.9
      c4=-9.6
      optimal_slipratio=0.1
      optimal_slipangle=0.135
   }
}
wheel0~wheel_front
{
   x=0
   toe=0
   camber=-0.9
   model
   {
      file=left.dof
   }
   model_brake
   {
      ;    file=brake_lf.dof
      file=
   }
   ackerman=0
   mass=15
   max_braking=2300
   radius=0.335
   inertia=1
   lock=40
   braking_factor=1
   max_handbrake_torque=-2000
   tire_rate=500000
   y=0
   z=0
   steering=1
}
wheel1~wheel_front
{
   x=0
   toe=0
   camber=-0.9
   model
   {
      file=right.dof
   }
   model_brake
   {
      ;    file=brake_rf.dof
      file=
   }
   mass=15
   max_braking=2300
   radius=0.335
   inertia=1
   lock=40
   braking_factor=1
   max_handbrake_torque=-2000
   tire_rate=500000
   y=0
   z=0
   steering=1
}
wheel2~wheel_rear
{
   x=0
   toe=-1.5
   camber=-1.09
   model
   {
      file=left.dof
   }
   model_brake
   {
      ;    file=brake_lr.dof
      file=
   }
   mass=15
   max_braking=1500
   radius=0.335
   inertia=1
   lock=0
   braking_factor=1
   max_handbrake_torque=4500
   tire_rate=500000
   y=0
   z=0
   steering=0
}
wheel3~wheel_rear
{
   x=0
   toe=1.5
   camber=-1.09
   model
   {
      file=right.dof
   }
   model_brake
   {
      ;    file=brake_rr.dof
      file=
   }
   mass=15
   max_braking=1500
   radius=0.335
   inertia=1
   lock=0
   braking_factor=1
   max_handbrake_torque=4500
   tire_rate=500000
   y=0
   z=0
   steering=0
}
camera0
{
  offset
  {
    x=0
    y=-0.6
    z=-5.5
  }
  angle
  {
    x=10
    y=180
    z=0
  }
  name=Chase Far
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
}
camera1
{
  offset
  {
    x=0.42
    y=-0.5
    z=0.42
  }
  angle
  {
    x=5
    y=180
    z=0
  }
  name=DriverLeft
  fov=65
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera2
{
  offset
  {
    x=-0.42
    y=-0.5
    z=0.42
  }
  angle
  {
    x=5
    y=180
    z=0
  }
  name=DriverRight
  fov=65
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera3
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-0.6
    z=1.4
  }
  angle
  {
    x=4
    y=180
    z=0
  }
  name=Inside Right Driver
  fov=70
}
camera4
{
  offset
  {
    x=-0.4
    y=0.45
    z=-7.5
  }
  angle
  {
    x=16
    y=130
    z=0.25
  }
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.48
    y=0.50
    z=-3.9
  }
  angle
  {
    x=15
    y=-50
    z=2.5
  }
  name=Wheels
  fov=65
}
camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.25
    y=0.75
    z=-4.8
  }
  angle
  {
    x=23
    y=-360
    z=20
  }
  fov=60
}
camera7
{
  offset
  {
    x=1.4
    y=0
    z=-0.6
  }
  angle
  {
    x=-2
    y=-160
    z=3
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=60
}
camera8
{
  offset
  {
    x=0
    y=0
    z=-5
  }
  angle
  {
    x=2
    y=-130
    z=3
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=65
}
camera9
{
  name=Driver
  fov=65
  model=0
  wheels=0
  view=2
  name=Inside
  fov=60

  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.38  ;leftright
    y=0.42  ;updown
    z=-0.40  ;frontback
  }
  offset_to
  {
    x=0
    y=0
    z=10
  }
  angle
  {
    x=1.000000
    y=180.000000
    z=0.000000
  }
  src
  {
    mass=4
    k=1200
    damping=160
    maxdist=0.11
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}

audio
{
	skid
	{
		sample=skid.wav
	}
	horn
	{
		sample=Horn.wav
	}
  	shiftout
  	{
    		sample=Shift_Out.wav
  	}
	acc_all
	{
		attack=2600
		decay=2600
	}
	accelerate_out
	{
		smp0~audio.acc_all
		{
			sample=engine.wav
			min=0
			max=9000
			natural=5000
			volume=1.5
		}
	}

	decelerate_out
	{
		smp0~audio.acc_all
		{
			sample=engine.wav
			min=0
			max=9000
			natural=4800
			volume=1
		}
	}
	wind
	{
		volume=9
		pitch_scale=1
		pitch_offset=30
		smp0
		{
			sample=Wind1.wav
			min=5
			max=6
			attack=33
			decay=33
			natural=80
		}
		smp1
		{
			sample=Wind2.wav
			min=30
			max=31
			attack=33
			decay=33
			natural=80
		}
		smp2
		{
			sample=Wind3.wav
			min=55
			max=56
			attack=33
			decay=33
			natural=80
		}
	}
}

























