;
;The Isuzu Bellett is a subcompact car produced by the Japanese manufacturer Isuzu between 1963 and 1973. 
;Designed by Isuzu, the Bellett replaced the Isuzu Hillman Minx, 
;manufactured by Isuzu under license with the Rootes Group.
;
;The car was available as a four-door or two-door sedan, a rare two-door station wagon marketed as a commercial vehicle,
;called the Bellett Express, and an even rarer one ton commercial variant marketed as the Isuzu Wasp.
;There was also a four-door sedan with different bodywork and rear suspension.
;called the Bellett B. Lastly there was a two-door coupé and a fastback version of the same. 
;After General Motors acquired a stake in Isuzu, the Bellett was replaced by GM's "global" T-car,
;initially called Isuzu Bellett Gemini and later simply Isuzu Gemini, 
;which technically had little to do with its predecessor. A total of 170,737 original Belletts were manufactured.
;
;The GT-R, more specifically GT Type-R (for "racing"), was a racing version of the GT, 
;lso available to individual customers.
;First presented in September 1969, the GT-R featured a 1.6 L DOHC engine from the 117 Coupé, 
;power brakes and numerous other modifications.
;Available only with two-door notchback coupé bodywork It was visually different from other Belletts primarily by a specific paint scheme, 
;which included a completely black hood. The GT-R achieved many successes in racing, 
;and has gained its own fan community. Only about 1,400 GT-Rs were manufactured.
;In 2006, readers of Japanese collector car magazine Nostalgic Hero ranked the Bellett GT-R 10th in a list of the 50 greatest Japanese cars. 
;Results were published in issue 116 (August 2006) as well as a Nostalgic Hero Extra Edition (Geibun Mooks No. 555) published April 20, 2007. 
;The 1969 Bellett GT-R is a playable car in the Polyphony Digital video game Gran Turismo 4 for the PlayStation 2,
;and also in Gran Turismo for PSP, Gran Turismo 5 and Gran Turismo 6 for the PlayStation 3.
;
car
{
  name=Isuzu Bellett GT-R
  year=1970
  id=isuzu_bellett_gtr
  version=053b
  credits=Model by gosuke, Converted by TakaTails1121
  comments=G161W - 1584cc DOHC, 120PS/6400rpm, 142.2Nm(14.5kgm)/5000rpm
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.
    length=4.1
  }
  cg
  {
    x=0
    y=-0.05
    z=0.40
  }
}
body
{
  mass=970
  inertia
  {
    x=1700
    y=1900
    z=400
  }
  ; Collisions; amount of bouncing back
  restitution_coeff=0.1
  ; Collision box
  width=1.5
  height=1.4
  length=4
  manual_box=1
  model
  {
    file=pr91w.dof
  }
  model_incar
  {
    file=pr91w.dof
  }
  model_braking_l
  {
    file=
  }
  model_light_l
  {
    file=
  }
}
steer
{
   x=0.355
   y=0.15
   z=0.55
   xa=10
   lock=90
   model
   {
      file=steering_wheel.dof
   }
}
engine
{
  mass=160
  max_rpm=7500			;This engine didn't have a rpm limiter, max rev up to 7500
  idle_rpm=900			;Typical value
  autoclutch_rpm=1250
  curve_torque=torque.crv
  max_torque=0.90			;77 Nm at engine, ~73 Nm at wheels, ~5 % loss
  torque_reaction=0.5
  starter=1
  start_stalled=1			;If it's setted to 1, AI car can't drive
  stall_rpm=250
  start_rpm=800
  starter_torque=50
  shifting
  {
    automatic=0
    shift_up_rpm=6000		;Upshift at max power rev
    shift_down_rpm=3600		;Rev after upshift is ~4000, so downshift rev is 3600
    time_to_declutch=500
    time_to_clutch=25
  }
  inertia
  {
    engine=0.22
    final_drive=0.12
  }
  braking_coeff=1.1
  ;sample=engine.wav		;Audio setup for 050final, not used
  ;sample_rpm=5000		;Audio setup for 050final, not used
}
gearbox
{
  gears=5
  gear0
  {
    ratio=-3.692
    inertia=0.3
  }
  gear1
  {
    ratio=3.467
    inertia=0.08
  }
  gear2
  {
    ratio=1.989
    inertia=0.06
  }
  gear3
  {
    ratio=1.356
    inertia=0.03
  }
  gear4
  {
    ratio=1.000
    inertia=0.01
  }
}
clutch
{
  max_torque=150
}
handbrake
{
  wheels=23			;Emergency brake for rear wheels
}
differential
{
  type=0
  ratio=3.727
  output0=0			
  output1=1			
}
aero
{
  body
  {
    center=0 0 0
    cx=0.38
    area=1.8
  }
}
antirollbar
{
  count=0
  }
  arb0
  {
    susp_left=0
    susp_right=1
    k=0000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=0000
  }
}
susp_front
{
  y=-0.020
  z=1.600
  restlen=.535
  minlen=.315
  maxlen=.65
  k=16138
  bump_rate=4000
  rebound_rate=4200
  roll_center
  {
    x=0
    y=-.55
    z=0
  }
 
}
susp_rear
{
  y=-0.050
  z=-1.08
  restlen=.535
  minlen=.35
  maxlen=.64
  k=12884
  bump_rate=4000
  rebound_rate=4200
  roll_center
  {
    x=0
    y=-.55
    z=0
  }
}
susp0~susp_front
{
  x=0.73
}
susp1~susp_front
{
  x=-0.73
}
susp2~susp_rear
{
  x=0.73
}
susp3~susp_rear
{
  x=-0.73
}
tire_model
{
   damping_predict_lat=0.450
   damping_predict_long=0.015
}
pacejka
{
   	a0=1.4
   	a1=-29
   	a2=1125
   	a3=1700
   	a4=11
   	a5=0.015
   	a6=-0.25
   	a7=1.0
   	a8=-0.03
   	a9=-0.001
   	a10=-0.15
   	a111=-8.0
   	a112=-0.29
   	a12=17.8
   	a13=-2.4

   	b0=1.5
   	b1=-58
   	b2=1250
   	b3=23.3
   	b4=325
   	b5=0.08
   	b6=0.0
   	b7=0.05
   	b8=-0.024
   	b9=0.015
   	b10=0.25
   	b11=-86
   	b12=0.0

   	c0=2.3
   	c1=-3.8
   	c2=-3.14
   	c3=-1.0
   	c4=-7.2
   	c5=0.0
   	c6=0.0
   	c7=0.044
   	c8=-0.58
   	c9=0.18
   	c10=0.043
   	c11=0.048
   	c12=-0.0035
   	c13=-0.18
   	c14=-0.04
   	c15=-1.029
   	c16=0.27
   	c17=-1.1

   	optimal_slipratio=0.10
   	optimal_slipangle=0.23
}
wheel_front
{
  y=0
  z=0
  steering=1
  lock=50
  mass=15		;Unsprung mass
  inertia=2.3
  radius=.28
  rolling_coeff=0.015
  max_braking=800
  braking_factor=1
  friction_road=1.7
  tire_rate=190000
  skidding~skidding_default
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  mass=17		;Unsprung mass
  inertia=2.3
  steering=0
  powered=1
  radius=.28
  rolling_coeff=0.015
  friction_road=1.7
  tire_rate=170000
  max_braking=500
  braking_factor=1
  max_handbrake_torque=400
  skidding~skidding_default
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  x=0
  camber=1.0
  toe=0.5
  model
  {
    file=wheel_left.dof
  }
  model_brake
  {
    file=
  }
}
wheel1~wheel_front
{
  x=0
  camber=1.0
  toe=-0.5
  model
  {
    file=wheel_right.dof
  }
  model_brake
  {
    file=
  }
}
wheel2~wheel_rear
{
  x=0
  camber=0
  toe=0
  model
  {
    file=wheel_left.dof
  }
  model_brake
  {
    file=
  }
}
wheel3~wheel_rear
{
  x=0
  camber=0
  toe=0
  model
  {
    file=wheel_right.dof
  }
  model_brake
  {
    file=
  }
}


; Cameras
; Type of model to use; 0=outside, 1=inside, 2=none
;
camera0
{
  offset
  {
    x=0
    y=1.513334
    z=-5.045006
  }
  angle
  {
    x=21
    y=180
    z=0
  }
  name=Chase Close
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=50
  model=0
  wheels=0
  view=0
  ; Source/target inertia
  src
  {
    mass=1
    k=200
    damping=30
    maxdist=1.5
  }
  dst
  {
    mass=1
    k=150
    damping=20
    maxdist=1.5
  }
}
camera1
{
  offset
  {
    x=0
    y=-0.454165
    z=-4.649996
  }
  angle
  {
    x=11.000005
    y=-180.000000
    z=0.000000
  }
  name=Chase High
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=50
  model=0
  wheels=0
  view=0
}
camera2
{
  offset
  {
    x=0
    y=-0.4
    z=2.100000
  }
  angle
  {
    x=0.000000
    y=180.000000
    z=0.000000
  }
  name=Bumper
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=60
  model=2
  wheels=0
  view=2
}
camera3
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-0.862501
    z=0.335000
  }
  angle
  {
    x=9.027775
    y=180
    z=0.000000
  }
  name=Hood
  fov=60
  model=0
  wheels=0
  view=0
}
camera4
{
  offset
  {
    x=-0.670312
    y=-0.166667
    z=-3.944994
  }
  angle
  {
    x=2.500038
    y=-152.604248
    z=-15.017359
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=50
  model=0
  wheels=0
  view=0
  name=Rear Side
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.121874
    y=-0.064583
    z=-5.590004
  }
  angle
  {
    x=35.555546
    y=-83.159645
    z=16.579861
  }
  name=Side High
  fov=40
  model=0
  wheels=1
  view=0
}
camera6
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.231250
    y=-0.050001
    z=-4.834995
  }
  angle
  {
    x=7.361108
    y=27.083181
    z=18.923620
  }
  fov=30
  model=0
  wheels=1
  view=0
  name=Front Side
}
camera7
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.001563
    y=-0.179167
    z=-9.000000
  }
  angle
  {
    x=44.000000
    y=0.000000
    z=0.000000
  }
  fov=26
  model=0
  wheels=1
  view=0
  name=Front High
}

camera8
{
  follow
   {
      pitch=1
      yaw=1
      roll=1
   }
   offset
   {
      x=-0.37
      y=-0.50
      z=-0.30
   }
   angle
   {
      x=0.000000
      y=180.0000
      z=0.000000
   }
   fov=70
   ;Type of model to use; 0=outside, 1=inside, 2=none
   model=1
   wheels=4
   view=2
   name=Inside pssngr
  }
}
camera9
{
   offset
   {
      x=0.38
      y=0.50
      z=-0.30
   }
   offset_to
   {
      x=0.00
      y=0.00
      z=8.00
   }
   angle
   {
      x=5
      y=180
      z=0
   }
   name=Inside
   fov=60
   model=1
   view=2
   follow
   {
      pitch=1
      yaw=1
      roll=1
   }
   src
   {
      mass=5
      k=650
      damping=100
      maxdist=0.10
   }
}
audio
{
  ; All car audio
  skid
  {
    sample=skid.wav
  }
  acc_all
  {
    attack=2600
    decay=2600
  }
  accelerate_out
  {
    volume=3.5
    smp0~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/0900rpm.wav
      min=0
      max=1501
      natural=1150
    }
    smp1~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/1500rpm.wav
      min=1500
      max=2501
      natural=2300
    }
    smp2~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/2500rpm.wav
      min=2500
      max=4001
      natural=3700
    }
    smp3~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/4000rpm.wav
      min=4000
      max=6001
      natural=5500
    }
    smp4~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/6000rpm.wav
      min=6000
      max=8500
      natural=7300
    }
  }
  decelerate_out
  {
    volume=3.5
    smp0~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/0900rpm.wav
      min=0
      max=1501
      natural=1150
    }
    smp1~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/1500rpm.wav
      min=1500
      max=2501
      natural=2300
    }
    smp2~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/2500rpm.wav
      min=2500
      max=4001
      natural=3700
    }
    smp3~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/4000rpm.wav
      min=4000
      max=6001
      natural=5500
    }
    smp4~audio.acc_all
    {
      sample=Alfa_Romeo_Bialbero_by_BB93/Sounds/exhaust_WOT/6000rpm.wav
      min=6000
      max=8500
      natural=7300
    }
  }
  accelerate_in
  {
    volume=1.5
    smp0~audio.acc_all
    {
      sample=sound/ae86_onidle.wav
      min=0
      max=1501
      natural=1250
    }
    smp1~audio.acc_all
    {
      sample=sound/ae86_onlow.wav
      min=1500
      max=3001
      natural=2500
    }
    smp2~audio.acc_all
    {
      sample=sound/ae86_onmid.wav
      min=3000
      max=6001
      natural=4500
    }
    smp3~audio.acc_all
    {
      sample=sound/ae86_onhigh.wav
      min=6000
      max=8500
      natural=7300
    }
  }
  decelerate_in
  {
    volume=1.5
    smp0~audio.acc_all
    {
      sample=sound/ae86_onidle.wav
      min=0
      max=1501
      natural=1250
    }
    smp1~audio.acc_all
    {
      sample=sound/ae86_onlow.wav
      min=1500
      max=3001
      natural=2500
    }
    smp2~audio.acc_all
    {
      sample=sound/ae86_onmid.wav
      min=3000
      max=6001
      natural=4500
    }
    smp3~audio.acc_all
    {
      sample=sound/ae86_onhigh.wav
      min=6000
      max=8500
      natural=7300
    }
  }
  gearwhine
  {
    ; Master volume for this set
    volume=.8
    ; Pitch input is shaft rotational velocity in radians/sec
    pitch_scale=0.001
    pitch_offset=0
    ; Acceleration; outside of the car
    smp0~audio.acc_all
    {
      ; All engine samples depend on engine RPM
      sample=gearwhine.wav
      min=0
      max=10000
      ; RPM of used sample
      natural=4000
    }
  }
}
wind
{
  volume=3
  ; Volume determination
  volume_scale=0.1
  volume_offset=0
  ; Pitch determination
  pitch_scale=0
  pitch_offset=0
  smp0
  {
    sample=wind_ext.wav
    ; Speeds in m/s
    min=0
    max=9999
    natural=4000
  }
}