car
{
  name=Plymouth Fury III
  year=1969
  credits=StratumX/Splashonda/AMGFan/Sergiogon/Luthobu
  comments=
  id=69Fury
  version=063b
  wheels=4
  skid
  {
    sample=Skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.5
    length=6
    offset_z=-0.1
    offset=0
  }
  cg
  {
    x=0
    ;y=-0.05
    ;z=0.37
    y=-0.20
    z=0.352
  }
}
body
{
 ;car (1625) + engine (300) + wheels (25x4 = 100) + driver (75kg) = 2100
  mass=2100
  inertia
  {
    x=7000
    y=7500
    z=1000
    ;x=3211 
    ;y=4248 
    ;z=625
  }
width=1.97
height=1
length=5.155
manual_box=0
	model
	{
		file=body.dof
	}
	model_incar
	{
		file=body.dof
	}
	model_light_l
	{
		file=lights.dof
	}
	model_braking_l
	{
		file=brakelight.dof
	}
        model_reverse_r
        {
                file=reverselight.dof
        }
}
steer
{
  x=0.475
  y=0.245
  z=0.39
  radius=10
  xa=18
  linearity=0.5
  lock=1080
  model
  {
    file=sw.dof
  }
}
engine
{
  ; Position (stub gfx)
  x=0
  y=0.2
  z=1.48
  size=.25
  mass=300
  max_rpm=8000
  idle_rpm=900
  autoclutch_rpm=1000
  curve_torque=torque.crv
  max_torque=461
  torque_reaction=0.83
  starter=1
  starter_torque=150
  start_stalled=0   ;1
  stall_rpm=750
  start_rpm=1100
  shifting
  {
    automatic=0
    shift_up_rpm=5000
    shift_down_rpm=2000
    time_to_declutch=100
    time_to_clutch=300
    time_in_neutral=0
  }
  ; Inertia of engine parts
  inertia
  {
    ; Rotational inertia of engine parts (kg*m^2)
    engine=0.82
    final_drive=1.15
  }
  braking_coeff=1.94
  friction=0
  sample=accout1.wav
  sample_rpm=3200
}
    jitter
  {
    amplitude=1
    time_min=300
    time_var=400
    frequency_min=5
    frequency_var=7
  }
gearbox
{
  gears=4
  gear0
  {
    ratio=-2.33
    inertia=0.2
  }
  gear1
  {
    ratio=2.42
    inertia=0.1
  }
  gear2
  {
    ratio=1.41
    inertia=0.07
  }
  gear3
  {
    ratio=0.95
    inertia=0.05
  }
}
clutch
{
  max_torque=600
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.23
  inertia=0.05
  locking_coefficient=0.05
}
aero
{
  body
  {
    center=0 0 0
    cx=0.34
    area=1.6
  }
  wings=0
}
antirollbar
{
  count=1
  arb0
  {
    susp_left=0
    susp_right=1
    k=25000
  }
}
susp_front
{
  y=-0.06
  z=1.5
  restlen=0.43
  minlen=0.1
  maxlen=0.45
  k=30000
  bump_rate=2500
  rebound_rate=3500
  anti_pitch=0.2
  roll_center
  {
    x=0
    y=-0.55
    z=0
  }
}
susp_rear
{
  y=-0.06
  z=-1.44
  restlen=0.4
  minlen=0.1
  maxlen=0.45
  k=22500
  bump_rate=2500
  rebound_rate=3000
  anti_pitch=0.2
  roll_center
  {
    x=0
    y=-0.45
    z=0
  }
}
susp0~susp_front
{
  x=0.77
}
susp1~susp_front
{
  x=-0.77
}
susp2~susp_rear
{
  x=0.77
}
susp3~susp_rear
{
  x=-0.77
}
tire_model_front
{
	damping_predict_lat=0
	damping_predict_long=0
}
tire_model_rear
{
	damping_predict_lat=0
	damping_predict_long=0
}
pacejka
{
	a0=1.25
	a1=-35
	a2=1200
	a3=2000
	a4=8
	a5=0.015
	a6=-0.25
	a7=0.1
	a8=-0.03
	a9=-0.001
	a10=-0.15
	a111=-8.5
	a112=-0.29
	a12=17.8
	a13=-2.4
	b0=1.5
	b1=-70
	b2=1300
	b3=20
	b4=325
	b5=0.08
	b6=0
	b7=0.05
	b8=-0.025
	b9=0
	b10=0
	b11=0
	b12=0
	c0=2.2
	c1=-4
	c2=-3
	c3=-1
	c4=-7
	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.14
	c15=-1.029
	c16=0.27
	c17=-1.1

	optimal_slipratio=0.11
	optimal_slipangle=0.145
}

skidding_default
{
	long_start=0.1
	long_max=1.0
	long_start_n=0.1
	long_max_n=1.0
	lat_start=0.1
	lat_max=1.0
}
wheel_front
{
  y=0
  z=0
  steering=1
  powered=0
  camber=0
  lock=45
  ackerman=1.31
  mass=25
  inertia=1.4
  radius=0.35
  rolling_coeff=0.018
  max_braking=2000
  braking_factor=1
  tire_rate=250000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=1
  camber=0
  mass=25
  inertia=1.35
  radius=0.335
  rolling_coeff=0.018
  max_braking=1000
  braking_factor=1
  max_handbrake_torque=3000
  tire_rate=230000
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0.1
  model
  {
    file=left.dof
  }
}
wheel1~wheel_front
{
  x=-0
  toe=0.1
  model
  {
    file=right.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=0.1
  model
  {
    file=left.dof
  }
}
wheel3~wheel_rear
{
  x=-0
  toe=-0.1
  model
  {
    file=right.dof
  }
}
audio
{
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_in
  {
    volume=0.4
    smp0~audio.acc_all
    {
      sample=idle.wav
      min=0.1
      max=1300
      natural=2200
      attack=1100
      decay=1500
    }
    smp1~audio.acc_all
    {
      sample=accin.wav
      min=1000
      max=4500 
      natural=3500
      decay=2000
    }
    smp2~audio.acc_all
    {
      sample=accin1.wav
      min=4500
      max=10500 
      natural=3500
      attack=2000
    }
    smp3~audio.acc_all
    {
      sample=on_1.wav
      min=5500
      max=10500 
      natural=6000
      attack=5000
    }
  }
  decelerate_in
  {
    volume=0.35
    smp0~audio.acc_all
    {
      sample=decin.wav
      min=2
      max=10500
      natural=3500
      attack=100
      decay=100
    }
    smp1~audio.acc_all
    {
      sample=idle.wav
      min=0.1
      max=1300
      natural=2200
      attack=1100
      decay=1500
    }
  }
  accelerate_out
  {
    volume=0.8
    smp0~audio.acc_all
    {
      sample=idle.wav
      min=0.3
      max=1300
      natural=2100
      attack=1100
      decay=1500
    }
    smp1~audio.acc_all
    {
      sample=accout.wav
      min=1100
      max=4500 
      natural=3500
      decay=3000
    }
    smp2~audio.acc_all
    {
      sample=accout1.wav
      min=4500
      max=14500 
      natural=3500
      attack=1000
    }
    smp3~audio.acc_all
    {
      sample=out_1.wav
      min=5500
      max=10500 
      natural=6000
      attack=5000
    }
  }
  decelerate_out
  {
    volume=0.8
    smp0~audio.acc_all
    {
      sample=idle.wav
      min=0.3
      max=1300
      natural=2100
      attack=1100
      decay=1500
    }
    smp1~audio.acc_all
    {
      sample=accout.wav
      min=1200
      max=4500 
      natural=3500
      decay=3000
    }
    smp2~audio.acc_all
    {
      sample=decout.wav
      min=2
      max=10500
      natural=3500
      attack=100
      decay=100
    }
  }
  wind
  {
    pitch_scale=0.2
    pitch_offset=50
volume=0.5
    smp0
    {
      sample=wind.wav
      volume=0.125
      min=0
      max=200
      natural=50
    }
  }
}
camera0
{
	name=Driver
	fov=55
	model=1
	wheels=0
	view=1
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=0.5
                y=0.53
                z=-0.23
	}
	offset_to
	{
		x=0
		y=0
		z=10
	}
	angle
	{
		x=5
		y=180
		z=0
	}
	src
	{
		mass=5
		k=750
		damping=75
		maxdist=0.2
	}
	dst
	{
		mass=1   ;0
		k=0
		damping=0
		maxdist=0
	}
}
camera1
{
  name=Driver, left
  fov=55
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.4
    y=0.52
    z=-0.2
  }
  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=55
  model=1
  wheels=0
  view=1
  offset
  {
   x=0.4
    y=0.55
    z=-0.2
  }
  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.55
    z=-0.3
  }
  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=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=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=centerconsole
  fov=40
  model=1
  wheels=0
  view=1
  offset
  {
   x=0.0
    y=0.55
    z=-1.3
  }
  offset_to
  {
    x=0
    y=-0.55
    z=8
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=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=lightbeam.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=lightbeam.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
  }
}

