car
{
   name=Chevrolet Opala Comodoro cupê 250-S
  year=1982
  credits=Original Author GTASA:GUAXININ(README)/Converted by FernSS1970
  comments=GM 250S 6cil.4.1l 4093cm³ 145CV(SAE-245) a 4600rpm 287NM(28.5kgf.m SAE-245) a 3000rpm álcool
   wheels=4
  id=GRANDECARRO
  version=088b
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.5
    length=5.5
    offset_z=-0.1
  }
 cg
 {
  x=0
  y=-0.20
  z=0.352
 }
}
body
{
  mass=1217
  inertia
  {
    x=2512
    y=2885
    z=488
  }
  model
  {
    file=COMODORO82.dof
  }
  model_incar
  {
    file=COMODORO82.dof
  }
  model_light_l
  {
    file=lights.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_lightroad_l
  {
    file=lightsin.dof
  }
  width=1.96
  height=0.75
  length=4.46
  manual_box=1
}
steer
{
  x=0.4
  y=0.23
  z=0.4
  radius=10
  xa=18
  lock=1080
  linearity=0.3
  model
  {
      file=volante.dof
  }
}
engine
{
  ; Position (stub gfx)
  x=0
  y=.2
  z=1.42
  size=.25
  mass=250
  max_rpm=7000
  idle_rpm=950
  autoclutch_rpm=980
  curve_torque=250S.crv
  max_torque=0.87
  torque_reaction=0.85
  starter=1
  starter_torque=150
  start_stalled=1
  stall_rpm=550
  start_rpm=900
  shifting
  {
    automatic=0
    fast=1
    shift_up_rpm=5150
    shift_down_rpm=2350      
    time_to_declutch=350
    time_to_clutch=350
    time_in_neutral=0
  }
  ; Inertia of engine parts
  inertia
  {
    ; Rotational inertia of engine parts (kg*m^2)
    engine=0.47
    final_drive=0.7
  }
  braking_coeff=1.94
  friction=0
}
gearbox
{
  gears=5
  gear0
  {
    ratio=-3.57
    inertia=0.2
  }                             ;manual
  gear1
  {
    ratio=3.07
    inertia=0.1
  }
  gear2
  {
    ratio=2.02
    inertia=0.07
  }
  gear3
  {
    ratio=1.39
    inertia=0.05
  }
  gear4
  {
    ratio=1.00
    inertia=0.04
  }
}
clutch
{
  max_torque=550
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.08
  inertia=0.05
  locking_coefficient=0.05
}
aero
{
  body
  {
    center=0 0 0
    cx=0.37
    area=1.85
  }
  wings=0
}
antirollbar
{
  count=1
  arb0
  {
    susp_left=0
    susp_right=1
    k=32000
  }
}
susp_front
{
  y=0.02
  z=1.49
  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.5
    z=0
  }
}
susp_rear
{
  y=-0.0
  z=-1.425
  restlen=0.4
  minlen=0.1
  maxlen=0.45
  k=28500
  bump_rate=5000
  rebound_rate=4500
  anti_pitch=0.1
  roll_center
  {
    x=0
    y=-0.55
    z=0
  }
}
susp0~susp_front
{
  x=0.78
  toe_change_per_m=-0.029		
  camber_change_steering=-0.1062	
  caster_offset=-0.017		
}
susp1~susp_front
{
  x=-0.78
  toe_change_per_m=0.029		
  camber_change_steering=0.1062	
  caster_offset=-0.017	
}
susp2~susp_rear
{
  x=0.77
}
susp3~susp_rear
{
  x=-0.77
}
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=36
  ackerman=1.31
  mass=34
  inertia=1.04
  radius=0.355
  rolling_coeff=0.015
  max_braking=2000
  braking_factor=0.9
  tire_rate=150000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=1
  camber=0
  mass=28
  inertia=1.04
  radius=0.355
  rolling_coeff=0.015
  max_braking=890
  braking_factor=0.8
  max_handbrake_torque=3500
  tire_rate=150000
  pacejka~pacejka
  {
    optimal_slipratio=0.11
    optimal_slipangle=0.18
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0.1
  model
  {
    file=CMALTA_lf.dof
  }
}
wheel1~wheel_front
{
  x=-0
  toe=0.1
  model
  {
    file=CMALTA_rf.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=0.1
  model
  {
    file=CMALTA_lf.dof
  }
}
wheel3~wheel_rear
{
  x=-0
  toe=-0.1
  model
  {
    file=CMALTA_rf.dof
  }
}
camera0
{
  name=Driver
  fov=65
  model=1
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.4
    y=-0.545
    z=-0.14
  }
  offset_to
  {
    x=0.37
    y=-0.2
    z=10
  }
  angle
  {
    x=0
    y=180
    z=0.000000
  }
}
camera1
{
  name=Driver, left
  fov=65
  model=1
  wheels=0
  view=1
   offset
  {
    x=0.4
    y=0.545
    z=-0.14
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=fora
  fov=65
  model=1
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.7
    y=-0.545
    z=-0.14
  }
  offset_to
  {
    x=0.37
    y=-0.2
    z=10
  }
  angle
  {
    x=0
    y=180
    z=0.000000
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.17
    y=0.57
    z=-0.28
  }
  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
  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=180
    z=0
  }
}
camera5
{
  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
  }
}
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=FrontWheel
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=1.4
    y=0.06
    z=-0.5
  }
  angle
  {
    x=-2.25
    y=-161
    z=3.3
  }
}
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=-20
  }
  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.0
    z=0.8
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}

;	------------------ 5.1 ALPHA AUDIO COMPATABILTY -----------------
audio
{
	skid
	{
		sample=skid.wav
	}
	acc_all
	{
		attack=1300
		decay=1300
	}
	accelerate_out
	{
		smp0~audio.acc_all
		{
			sample=idle.wav
			min=1
			max=1001
			natural=1000

			volume=2.5
		}
		smp1~audio.acc_all
		{
			sample=2000.wav
			min=2000
			max=3001
			natural=2000

			volume=1
		}
		smp2~audio.acc_all
		{
			sample=3000.wav
			min=3000
			max=3001
			natural=3000

			volume=1.5
		}
		smp3~audio.acc_all
		{
			sample=4000.wav
			min=4000
			max=4001
			natural=3500

			decay=2600

			volume=2
		}
		smp4~audio.acc_all
		{
			sample=6000.wav
			min=6000
			max=9001
			natural=5000

			attack=2600
			decay=2600

			volume=3
		}
	}

	decelerate_out
	{
		smp0~audio.acc_all
		{
			sample=idle.wav
			min=1
			max=1001
			natural=1000

			volume=1.25
		}
		smp1~audio.acc_all
		{
			sample=2000.wav
			min=2000
			max=3001
			natural=2000

			volume=1
		}
		smp2~audio.acc_all
		{
			sample=3000.wav
			min=3000
			max=3001
			natural=3000

			volume=1
		}
		smp3~audio.acc_all
		{
			sample=4000.wav
			min=4000
			max=4001
			natural=4000

			decay=2600

			volume=1.25
		}
		smp4~audio.acc_all
		{
			sample=6000.wav
			min=6000
			max=9001
			natural=6000

			attack=2600
			decay=2600

			volume=1.25
		}
	}
	accelerate_in
	{
		smp0~audio.acc_all
		{
			sample=idle.wav
			min=1
			max=1001
			natural=1000

			volume=2.5
		}
		smp1~audio.acc_all
		{
			sample=2000.wav
			min=2000
			max=3001
			natural=2000

			volume=1
		}
		smp2~audio.acc_all
		{
			sample=3000.wav
			min=3000
			max=3001
			natural=3000

			volume=1.5
		}
		smp3~audio.acc_all
		{
			sample=4000.wav
			min=4000
			max=4001
			natural=3500

			decay=2600

			volume=2
		}
		smp4~audio.acc_all
		{
			sample=6000.wav
			min=6000
			max=9001
			natural=5000

			attack=2600
			decay=2600

			volume=3
		}
	}

	decelerate_in
	{
		smp0~audio.acc_all
		{
			sample=idle.wav
			min=1
			max=1001
			natural=1000

			volume=1.25
		}
		smp1~audio.acc_all
		{
			sample=2000.wav
			min=2000
			max=3001
			natural=2000

			volume=1
		}
		smp2~audio.acc_all
		{
			sample=3000.wav
			min=3000
			max=3001
			natural=3000

			volume=1
		}
		smp3~audio.acc_all
		{
			sample=4000.wav
			min=4000
			max=4001
			natural=4000

			decay=2600

			volume=1.25
		}
		smp4~audio.acc_all
		{
			sample=6000.wav
			min=6000
			max=9001
			natural=6000

			attack=2600
			decay=2600

			volume=1.25
		}
	}
	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
		}
	}
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=55
    ; Aspect (horizontal)
    aspect=3
    ; Distance to car
    z=1.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=2
    ; Distance to car
    z=1.5
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}