car
{
  name=Ford Maverick GT
  year=1977
  credits=Converted by AMGFan. Performance: 0-60 mph: 8s, 1/4: 15.5s. top 120 mp/h. 
  comments=Ford 302 cu-in small-block OHV, 5.0L, 200 hp @ 4600 rpm, 387.4 Nm @ 2400 rpm
  id=Maverickbrazilian
  version=088b
  wheels=4
  skid
  {
    sample=Skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.3
    length=4.8
    offset_z=-0.1
    offset=0
  }
  cg
  {
    x=0
    y=-0.15
    z=0.352
  }
}
body
{
  mass=1157
  inertia
  {
    x=3211 
    y=4248 
    z=625
  }
width=1.75
height=0.9
length=4.395
manual_box=1
	model
	{
		file=maverick.dof
	}
	model_incar
	{
		file=maverick.dof
	}
	model_light_l
	{
		file=lights.dof
	}
	model_braking_l
	{
		file=brakes.dof
	}
 model_lightroad_l
 {
  file=lightsin.dof
 }
  model_reverse_l
  {
    ; Reverse gear indicators
    file=re.dof
  }
  model_reverse_r
  {
    file=re.dof
}
}
steer
{
  x=0.36
  y=0.18
  z=0.27
  radius=10
  xa=18
  lock=1080
  model
  {
    file=volante.dof
  }
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=35
    ; Aspect (horizontal)
    aspect=3.5
    ; Distance to car
    z=0.5
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
  light1
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=0.8
    ; Distance to car
    z=2.3
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}
flares
{
  ; Front lights
  flare0
  {
    pos=-0.67 0.02 1.98
    color=1.0 0.6 0.4
	normal=0.05 0 1
	z_offset=-2500
	size_factor=1.4
	intensity=0.75
        hor_scale=1
  }
  flare1
  {
    pos=0.67 0.02 1.98
    color=1.0 0.6 0.4
	normal=0.05 0 1.01
	z_offset=-2500
	size_factor=1.4
	intensity=0.75
        hor_scale=1
  }
  flare2
  {
    pos=-0.67 0.02 1.98
    color=1.0 0.6 0.4
	normal=0.05 0 1
	z_offset=-2500
	size_factor=1.4
	intensity=0.75
        hor_scale=1
  }
  flare3
  {
    pos=0.67 0.02 1.98
    color=1.0 0.6 0.4
	normal=0.05 0 1.01
	z_offset=-2500
	size_factor=1.4
	intensity=0.75
        hor_scale=1
  }
  flare4
  {
    pos=-0.54 -0.17 1.95
    color=1.0 0.3 0.1
	normal=0.05 0 1
	z_offset=-2500
	size_factor=0.8
	intensity=0.55
        hor_scale=1
  }
  flare5
  {
    pos=0.54 -0.17 1.95
    color=1.0 0.3 0.1
	normal=0.05 0 1.01
	z_offset=-2500
	size_factor=0.8
	intensity=0.55
        hor_scale=1
  }
  flare6
  {
    pos=-0.54 -0.17 1.95
    color=1.0 0.3 0.1
	normal=0.05 0 1
	z_offset=-2500
	size_factor=0.8
	intensity=0.55
        hor_scale=1
  }
  flare7
  {
    pos=0.54 -0.17 1.95
    color=1.0 0.3 0.1
	normal=0.05 0 1.01
	z_offset=-2500
	size_factor=0.8
	intensity=0.55
        hor_scale=1
  }
  flare8
  {
    pos=-0.42 -0.005 2.03
    color=1.0 0.6 0.3
	normal=0.05 0 1
	z_offset=-2500
	size_factor=1
	intensity=0.65
        hor_scale=2
  }
  flare9
  {
    pos=0.42 -0.005 2.03
    color=1.0 0.6 0.3
	normal=0.05 0 1
	z_offset=-2500
	size_factor=1
	intensity=0.65
        hor_scale=2
  }
  flare10
  {
    pos=-0.42 -0.005 2.03
    color=1.0 0.6 0.3
	normal=0.05 0 1
	z_offset=-2500
	size_factor=1
	intensity=0.65
        hor_scale=2
  }
  flare11
  {
    pos=0.42 -0.005 2.03
    color=1.0 0.6 0.3
	normal=0.05 0 1
	z_offset=-2500
	size_factor=1
	intensity=0.65
        hor_scale=2
  }
  ; Brake lights
  flare12
  {
    rule=brake
    pos=-0.69 0.13 -2.28
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=0.7
	intensity=0.5
	z_offset=-1000
  }
  flare13
  {
    rule=brake
    pos=0.69 0.13 -2.28
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=0.7
	intensity=0.5
	z_offset=-1000
  }
  flare14
  {
    rule=brake
    pos=-0.69 0.13 -2.28
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=0.7
	intensity=0.5
	z_offset=-1000
  }
  flare15
  {
    rule=brake
    pos=0.69 0.13 -2.28
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=0.7
	intensity=0.5
	z_offset=-1000
  }
  flare16
  {
    rule=brake
    pos=-0.57 0.13 -2.28
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=0.7
	intensity=0.5
	z_offset=-1000
  }
  flare17
  {
    rule=brake
    pos=0.57 0.13 -2.28
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=0.7
	intensity=0.5
	z_offset=-1000
  }
  flare18
  {
    rule=brake
    pos=-0.57 0.13 -2.28
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=0.7
	intensity=0.5
	z_offset=-1000
  }
  flare19
  {
    rule=brake
    pos=0.57 0.13 -2.28
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=0.7
	intensity=0.5
	z_offset=-1000
  }
}
engine
{
	size=0
  	mass=230
  	stall_rpm=450
  	start_rpm=850
  	idle_rpm=800
  	autoclutch_rpm=1500
  	max_rpm=7500

  	curve_torque=torque.crv
        ;12.5% loss
  	max_torque=0.875
  	idle_method=1
  	starter=1
  	starter_torque=95
  	start_stalled=1
    enable_stall=1

  jitter
  {
    amplitude=0.5
    time_min=550
    time_var=10
    frequency_min=10
    frequency_var=1
  }
  shifting
  {
    automatic=0
    shift_up_rpm=8100
    shift_down_rpm=5000
    time_to_declutch=50
    time_in_neutral=250
    time_to_clutch=10
    time_to_declutch_down=50
    time_in_neutral_down=250
    time_to_clutch_down=200
  }

 inertia
  {
    engine=0.75
    final_drive=0.1
  }
  braking_coeff=2.5
}
gearbox
{
  gears=5
  gear0
  {
    ratio=-3.43
    inertia=0.2
  }
  gear1
  {
    ratio=2.917
    inertia=0.1
  }
  gear2
  {
    ratio=2.02
    inertia=0.07
  }
  gear3
  {
    ratio=1.42
    inertia=0.05
  }
  gear4
  {
    ratio=1
    inertia=0.03
  }
}
clutch
{
  max_torque=750
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.65
  inertia=0.05
  locking_coefficient=0.05
}
aero
{
  body
  {
    center=0 0 0
    cx=0.34
    area=1.5
  }
  wings=0
}
antirollbar
{
  count=1
  arb0
  {
    susp_left=0
    susp_right=1
    k=32000
  }
}
susp_front
{
  y=-0.025
  z=1.29
  restlen=0.43
  minlen=0.1
  maxlen=0.45
  k=30000
  bump_rate=5500
  rebound_rate=5500
  anti_pitch=0.4
  roll_center
  {
    x=0
    y=-0.6
    z=0
  }
}
susp_rear
{
  y=0.01
  z=-1.3
  restlen=0.4
  minlen=0.1
  maxlen=0.45
  k=22500
  bump_rate=5000
  rebound_rate=4500
  anti_pitch=0.1
  roll_center
  {
    x=0
    y=-0.6
    z=0
  }
}
susp0~susp_front
{
  x=0.72
}
susp1~susp_front
{
  x=-0.72
}
susp2~susp_rear
{
  x=0.72
}
susp3~susp_rear
{
  x=-0.72
}
tire_model_front
{
  damping_predict_lat=1.0
  damping_predict_long=1.0
}
tire_model_rear
{
  damping_predict_lat=1.0
  damping_predict_long=1.0
}
pacejka
{
  a0=1.3
  a1=-29
  a2=1350
  a3=1632
  a4=11
  a5=0
  a6=-0.04
  a7=-0.4
  a8=0.003
  a9=-0.002
  a10=0.16
  a111=-8; 0
  a112=0
  a12=17.8; 0
  a13=0
  b0=1.57
  b1=-48
  b2=1400
  b3=6.8
  b4=444
  b5=0
  b6=0.0034
  b7=-0.008
  b8=0.66
  b9=0
  b10=0
  b11=0
  b12=0
  c0=2.46
  c1=-2.77
  c2=-2.9
  c3=-0
  c4=-3.6
  c5=-0.1
  c6=0.0004
  c7=0.22
  c8=-2.31
  c9=3.87
  c10=0.0007
  c11=-0.05
  c12=-0.006
  c13=0.33
  c14=-0.04 
  c15=-0.4
  c16=0.092
  c17=0.0114
  optimal_slipratio=0.2
  optimal_slipangle=0.139626
}
wheel_front
{
  y=0
  z=0
  steering=1
  powered=0
  camber=0
  lock=50
  ackerman=1.31
  mass=18
  inertia=1.04
  radius=0.32
  rolling_coeff=0.015
  max_braking=1200
  braking_factor=1
  tire_rate=150000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=1
  camber=0
  mass=18
  inertia=1.04
  radius=0.32
  rolling_coeff=0.015
  max_braking=400
  braking_factor=0.7
  max_handbrake_torque=3000
  tire_rate=150000
  pacejka~pacejka
  {
    optimal_slipratio=0.11
    optimal_slipangle=0.18
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0.1
  model
  {
    file=lf.dof
  }
}
wheel1~wheel_front
{
  x=-0
  toe=0.1
  model
  {
    file=rf.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=0.1
  model
  {
    file=lr.dof
  }
}
wheel3~wheel_rear
{
  x=-0
  toe=-0.1
  model
  {
    file=rr.dof
  }
}
audio
{
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_in
  {
    volume=1
    smp0~audio.acc_all
    {
      sample=sounds\idle.wav
      min=50
      max=1750
      natural=1250
    }
    smp1~audio.acc_all
    {
      sample=sounds\onverylow.wav
      min=500
      max=2250
      natural=2625
    }
    smp2~audio.acc_all
    {
      sample=sounds\onverylow.wav
      min=1751
      max=3525
      natural=2625
    }
    smp3~audio.acc_all
    {
      sample=sounds\onlow.wav
      min=2275
      max=8350
      natural=3575
    }
    smp4~audio.acc_all
    {
      sample=sounds\onhigh.wav
      min=3550
      max=9500
      natural=4200
    }
  }
  decelerate_in
  {
    volume=1
    smp0~audio.acc_all
    {
      sample=sounds\idle.wav
      min=50
      max=2000
      natural=1250
    }
    smp1~audio.acc_all
    {
      sample=sounds\offverylow.wav
      min=938
      max=4025
      natural=3825
    }
    smp2~audio.acc_all
    {
      sample=sounds\offlow.wav
      min=2001
      max=5175
      natural=4750
    }
    smp3~audio.acc_all
    {
      sample=sounds\offmid.wav
      min=4026
      max=5950
      natural=4200
    }
    smp4~audio.acc_all
    {
      sample=sounds\offhigh.wav
      min=5200
      max=9500
      natural=4200
    }
  }
  accelerate_out
  {
    volume=1
    smp0~audio.acc_all
    {
      sample=sounds\idleEX.wav
      min=50
      max=1750
      natural=1250
    }
    smp1~audio.acc_all
    {
      sample=sounds\onverylowEX.wav
      min=500
      max=2250
      natural=2725
    }
    smp2~audio.acc_all
    {
      sample=sounds\onverylowEX.wav
      min=1751
      max=3775
      natural=2725
    }
    smp3~audio.acc_all
    {
      sample=sounds\onlowEX.wav
      min=2275
      max=9350
      natural=3675
    }
    smp4~audio.acc_all
    {
      sample=sounds\onhighEX.wav
      min=3800
      max=9500
      natural=4300
    }
  }
  decelerate_out
  {
    volume=1
    smp0~audio.acc_all
    {
      sample=sounds\idleEX.wav
      min=50
      max=2000
      natural=1250
    }
    smp1~audio.acc_all
    {
      sample=sounds\offverylowEX.wav
      min=938.5
      max=4150
      natural=3925
    }
    smp2~audio.acc_all
    {
      sample=sounds\offlowEX.wav
      min=2001
      max=5425
      natural=4850
    }
    smp3~audio.acc_all
    {
      sample=sounds\offmidEX.wav
      min=4151
      max=6075
      natural=4300
    }
    smp4~audio.acc_all
    {
      sample=sounds\offhighEX.wav
      min=5450
      max=9500
      natural=4300
    }
  }
  wind
	{
		volume=2
		pitch_scale=0
		pitch_offset=50
		smp0
		{
			sample=wind1.wav
			min=25
			max=26
			attack=33
			decay=33
			natural=80
		}
		smp1
		{
			sample=wind2.wav
			min=50
			max=51
			attack=33
			decay=33
			natural=80
		}
		smp2
		{
			sample=wind3.wav
			min=75
			max=76
			attack=33
			decay=33
			natural=80
		}
	}
}

;____________________________________________


camera0
{
  name=Driver
  fov=65
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.36
    y=0.44
    z=-0.22
  }
  offset_to
  {
    x=0.37
    y=-0.2
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=65
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.36
    y=0.44
    z=-0.22
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=65
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.36
    y=0.44
    z=-0.22
  }
  offset_to
  {
    x=-10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.1
    y=0.44
    z=-0.2
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.1
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=Chase Close
  model=0
  wheels=0
  view=0
  fov=60
  offset
  {
    x=0
    y=1.7 ;1.2
    z=-5.2 ;-4.2
  }
  src
  {
    mass=6
    k=600
    damping=120
    maxdist=2
  }
}
camera5
{
   	offset
   	{
      		x=0.00
      		y=1.50
      		z=-5.5 ;-6.00
   	}
   	angle
   	{
      		x=15.50
      		y=180.00
      		z=0.00
   	}
   	follow
   	{
      		pitch=0
      		yaw=1
      		roll=0
   	}
 	src
 	{
  		mass=5
  		k=50
  		damping=100
  		maxdist=2
 	}
	dst
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
   	fov=60
	name=Chase
}
camera6
{
  name=Rear chase
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0
    y=-0.8
    z=-6
  }
  angle
  {
    x=10
    y=0
    z=0
  }
}
camera7
{
  name=Exterior
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-5
  }
  angle
  {
    x=10
    y=130
    z=0
  }
}
camera8
{
  name=Far
  fov=20
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-17
  }
  angle
  {
    x=10
    y=50
    z=0
  }
}
camera9
{
  name=Hood
  fov=60
  model=0
  wheels=0
  view=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-1.1
    z=0.3
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=55
    ; Aspect (horizontal)
    aspect=5
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
  OLD_light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=4.0
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}
