car
{
  name=Jaguar X-Type 3.0
  year=2001
  id=xtype2967
  credits=By Tiberius, Version 1.1. See readme for credits and info
  comments=2967cc 24v V6, 231bhp, 60/40 AWD
  version=090
  wheels=4 ;Aha, try and argue this one then ;-)
  ff_factor=0.50 ;overall steering force feedback offset.
  ;Jags have a lot of power assistance so for pure realism is should be lower
  ;Edmunds roadtest in pre-production 3.0 auto - 0-60 7 sec, 0-100mph 18.9 sec 1/4 mile 15.9 sec @ 92mph
  ; Racer model (manual vs. auto) gets 15.4 @ 94mph, 0-60 in ~6.9 sec
  shadow
  {
    texture=shdw.tga
    width=2.8
    length=4.6
    ;offset_x=-0.06
    offset_z=0.1
  }
  ; CoG from nullpoint
  cg
  {
    x=0
    y=-0.18 ;0.53m CoG height, 37% of roof height (1.43m)
    z=0.28 ;57.6% front weight distribution for AWD 3.0 - from tech manual
    }
}
graphics
{
	generic
	{
	model0
	{
	; Generic models, everything except main body, rims, steering wheel, light models etc is added here
	file=seats.dof
	  lod0_z=20
	  lod1_z=50
	  lod2_z=250
	  }
	model1
	{
	file=leaper.dof
	  lod0_z=5
	  lod1_z=10
	  lod2_z=250
	  }
	  model2
	{
	file=grille.dof
	;grille and boot plinth model
	  lod0_z=25
	  lod1_z=50
	  lod2_z=250
	  }
	  model3
	{
	file=interior_main01.dof
	;interior door cards, floor etc
	  lod0_z=50
	  lod1_z=100
	  ;lod2_z=250
	  }
	  model4
	{
	file=dashboard.dof
	;Dashboard/centre console model
	  lod0_z=100
	  ;lod1_z=50
	  ;lod2_z=250
	  }
	  model5
	{
	file=gearstick.dof
	;Gearstick/handbrake model, kept separate for LODs and possibly auto version?
	  lod0_z=100
	  ;lod1_z=50
	  ;lod2_z=250
	  }
	    model6
	{
	file=headlamps.dof
	;Headlamps/fog lamps model
	  lod0_z=100
	  }
	  model7
	  {
	  file=wingmirrors.dof
	  lod0_z=30
	  lod1_z=100
	  }
	    model8
	  {
	  file=underbody.dof
	  lod0_z=100
	  ;lod1_z=100
	  }
	    model9
	  {
	  file=license_plates.dof
	  lod0_z=100
	  ;license plates model
	  }
	      model10
	  {
	  file=logos.dof
	  lod0_z=50
	  ;Logos model - boot badges, tax disc, boot plinth lettering etc
	  }
	        model11
	  {
	  file=wipers.dof
	  lod0_z=50
	  ;Window wipers model - non moving
	  }
	  }
	
  shadow
  {
    model
    {
      file=shadow.dof
      use_shaders=1
    }
	; Shadow intensity - when in the dark (inside the projected shadow)
    intensity_dark=0.7
    ; Shadow intensity when in a light area (outside the projected shadow)
    intensity_light=0.3
	}
	}
   animation
{
flash_lights=0 ;500 ;only for F1 style flashing head/tail lights - 0 for normal, non-flashing lights
}
lights
{
  ; Projected lights
  light0
  {
    texture=light0.tga
    ; Field of view (vertical)
    fov=30.0
    ; Aspect (horizontal)
    aspect=3.0
    ; Distance to car
    z=0.5
    ; Pitching with respect to car (in degrees)
    pitch=7
  }
}
flares
{
  ; outer lamps
  flare0
  {
    pos=-0.66 -0.107 2.14
    color=1.0 0.86 0.74
	normal=-0.05 0.1 0.6
	z_offset=-3000
	size_factor=1.2
	intensity=1.0
  }
  flare1
  {
    pos=0.66 -0.107 2.14
    color=1.0 0.86 0.74
	normal=0.05 0.1 0.6
	z_offset=-3000
	size_factor=1.2
	intensity=1.0
  }
  ;main beams
  flare2
  {
    pos=-0.475 -0.122 2.18
    color=1.0 0.9 0.8
	normal=-0.05 0.1 0.5
	z_offset=-3000
	size_factor=1.0
	intensity=1.0
	}
  flare3
  {
    pos=0.475 -0.122 2.18
    color=1.0 0.9 0.8
	normal=0.05 0.1 0.6
	z_offset=-3000
	size_factor=1.0
	intensity=1.0
  }
  ;fog lamps
   flare4
  {
    pos=-0.715 -0.406 2.08
    color=1.0 0.9 0.8
	normal=-0.05 0.1 0.5
	z_offset=-3000
	size_factor=1.0
	intensity=1.0
	}
  flare5
  {
    pos=0.715 -0.406 2.08
    color=1.0 0.9 0.8
	normal=0.05 0.1 0.6
	z_offset=-3000
	size_factor=1.0
	intensity=1.0
  }
  ; Brake lights
  flare6
  {
    rule=rear
    rule=brake
    pos=-0.538 0.047 -2.23
	normal=-0.05 0 -0.5
	color=1.0 0.0 0.0
	size_factor=1.0
	intensity=0.8
	z_offset=-1000
  }
  flare7
  {
    rule=rear
    rule=brake
    pos=0.538 0.047 -2.23
	normal=0.05 0 -0.5
	color=1.0 0.0 0.0
	size_factor=1.0
	intensity=0.8
	z_offset=-1000
  }
}
ai
{
  understeer_correct=10
  oversteer_correct=10
  grip_factor=1.2
}
body
{
  ; Weight of the car's body (kg)
  ; This excludes engine, wheels, driver and fuel
  ;1555kg kerbweight - 166kg unsprung, 250kg engine
  mass=1139
  ;15249N
  ;166kg unsprung, 250kg engine
  ;debug showing 9016N front axle, 6657N rear axle
  inertia
  {
    x=2428 ;calculated by IH8COPS car inertia.exe (see 'inertia/2001 jaguar x-type 3 litre.txt')
    y=2642
    z=532
  }
  ; Collision box
  width=1.789
  height=1.15
  length=4.672
  ;carfolio dimensions for X-type saloon
  manual_box=1
  model
  {
    file=body_main.dof
	lod0_z=50
	lod1_z=250
	;'body_main.dof' is high poly subsurfed model, use 'body_main_lod1.dof' for lower poly model if you have framerate issues
  }
  model_collide
  {
    ; 3D collision model (Newton only)
    file=collision.dof
  }
  model_incar
  {
    file=body_main.dof
  }
 model_lightroad_l
 {
  file=lightsin.dof
 }
  model_light_l
  {
    file=lamps_lit.dof
  }
  model_braking_l
  {
    file=brakelamps_lit.dof
  }
}
steer
{
  ; Position (stub gfx)
  x=-0.3805
  y=0.06
  z=0.56
  linearity=1.0 ;1.0 for 900 degree wheels, somewhere near 0.3 for joystick/mouse
  ; Rotation towards the driver
  xa=20
  ; Max angle of rotation (angle = -lock/2..lock/2)
  lock=936 ;2.6 turns lock to lock
  ;should technically be 1.04 (936/900) for 900 degree wheel
  model
  {
    file=swheel.dof
	lod0_z=10 ;high poly wheel model really just for interior view
	lod1_z=30
  }
}
engine
{
  mass=250 ;rough amount, assembled engine is probably more
  max_rpm=7120
  idle_rpm=800
  start_rpm=1120
  stall_rpm=410
  idle_method=1
  idle_throttle=0.05
  starter=1
  starter_torque=85
  start_stalled=0
  autoclutch_rpm=1250 ;otherwise Racer's AI has problems taking off
  curve_torque=2967cc.crv
  max_torque=153 ;0.6 engine torque after 10% losses - any more loss makes engine too weak
  ;284nm max torque, 256nm with 10% drivetrain loss, 60/40 AWD via power gearing
  ;60/40 rear/fornt power split, changing to 60/40 front rear split on hard driving
  torque_reaction=0.05 ;transverse mounted engine
  ;braking_coeff=2.0 ;for older versions
  braking_torque_curve=engine_braking.crv
  shifting
  {
    automatic=0
    shift_up_rpm=6800 ;just below redline, probably much lower for IRL automatic
    shift_down_rpm=3400 ;not too high otherwise car will get stuck between gears
    time_to_declutch=200	
    time_to_clutch=200
    time_in_neutral=250
	time_to_declutch_down=250	
    time_to_clutch_down=200
    time_in_neutral_down=200
	;softer downshifts
  }
  ; Inertia of engine parts
  inertia
  {
    ; Rotational inertia of engine parts (kg*m^2)
    engine=0.14 ;lower because of power gearing
  }
}

fuel
{
;fuel system, should be included in Racer 0.80 onwards
bsfc=15e-5 ;approx 30 UK mpg @ const 70mph
max=64 ; max fuel capacity in litres
type=0 ; 0 for gasoline, 1 for diesel
;15e-5 = roughly 108 miles on the Ring
;should be 61l according to carfolio?
}
pilot

{
  helmet
  {
    model
    {
      file=driver_head.dof
	  lod0_z=15
	  lod1_z=50
	  ;pilot body model from Racer 0.74
    }
    pos=-0.372 0.276 0.02
  }
  body
  {
    model
    {
      file=driver_body.dof
	  lod0_z=15
	  lod1_z=100
	  offset
	  {
	  x=-0.372
	  y=0.276
	  z=0.02
	  }
    }
  }
}
traction_control
{
  enable=0
  max_velocity_ratio=1.1
  min_velocity_ratio=1.005
  min_velocity=1.0
}
abs
{
  ; Anti-lock braking system
  enable=1
  ; Allowed front/rear wheel speed ratio
  max_velocity_ratio=1.1
  ; When to turn TC off
  min_velocity_ratio=1.005
  min_velocity=1.0
}
gearbox
{
  gears=6
  ;Jatco/MTX 5spd ratios
  gear0
  {
    ratio=-2.970
    inertia=0.12
  }
  gear1
  {
    ratio=3.801
    inertia=0.09
  }
  gear2
  {
    ratio=2.131
    inertia=0.07
  }
  gear3
  {
    ratio=1.364
    inertia=0.04
  }
  gear4
  {
    ratio=0.935
    interia=0.02
  }
  gear5
  {
    ratio=0.685
    interia=0.01
  }
}
clutch
{
  max_torque=180 ;210
}
differential
{
  type=1
  ratio=3.90
  ;3.82 for 2001 Mondeo 2.5, 2.91 for X Type with Jatco trans, 3.9 according to Jag-lovers press pack, 3.8 for manual box
  ;4.15 for 2099cc 2.0 V6 auto, for manual still 3.8 along with modified 4th and 5th gears
  inertia=0.13
  locking_coeff=80
  output0=2
  output1=3
}
aero
{
  body
  {
    ; Application center relative to the CG
    center=0 0 0 ;at origin
    ; Longitudinal drag coefficient (Cx, X-axis is SAE's car longitudinal)
    cx=0.32 ;value from carfolio for X type 3.0 saloon

    area=1.90 ;2.20 ;1.65 - measured from model in Blender (minus tyres) - frontal area plus windscreen
	;then 'adjusted' to get correct top speed - average 237kmh around Speedest 2..
  }
  draft
  {
    scale_lat_rear=0.4
	scale_lon_rear=1
	; Air bubble in front
	scale_lat_front=0.08
	scale_lon_front=0.2
  }
  wings=2
  wing0
  {
    name=front_axle_bodylift
	;overall bodylift split over both axles
    span=1
    cord=0.1
    coeff_drag=0
    coeff_down=-4.5 ;15kg (148N) bodylift @ 200kmh	
    center=0 0 1.41
    angle=0
    angle_offset=10
  }
    wing1
  {
    name=rear_axle_bodylift
	;overall bodylift split over both axles
    span=1
    cord=0.1
    coeff_drag=0
    coeff_down=-4.5 ;15kg (148N) bodylift @ 200kmh	
    center=0 0 -1.30
    angle=0
    angle_offset=10
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=12000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=9200 ; 0.76 of front arb ;6400
  }
}
susp_front
{
  y=0.00
  ;MacPherson front suspension
  z=1.41 ;2710mm wheelbase
  minlen=0.24
  restlen=0.55
  maxlen=0.74
  camber_change_per_m=0.01 ;in radians according to racer.nl?
  camber_change_steering=0.018 ;estimate for now
  ;1.4/1.6hz for Sport suspension, 1.2/1.4 for comfort
  ;6740nm critical
  bump_rate=4044
  bumpstop_k=100000 ;value from racer.nl
  bumpstop_len=0.07 ;in meters
  rebound_rate=6740 ;5392
  ;4718/2022
  damper_curve=damper_front_sport.crv
  reboundstop_k=170000 ;value from racer.nl
  reboundstop_len=0.05 ;in meters
  caster_offset=-0.0200 ;3.5° positive caster, 0.327 wheel diameter
  anti_pitch=0.1
  roll_center
  {
    x=0
    y=-0.66	;~6cm, starting figure until I can find better info
    z=0
  }
  k=28047 ;1.4hz, sports pack setup
  ;8785N front weight (both sides), with unsprung
  ;405kg sprung per front wheel
}
susp_rear
{
  y=0.04
  ;independent torsion control link
  z=-1.30 ;2710mm wheelbase
  minlen=0.24
  restlen=0.55
  maxlen=0.74
  camber_change_per_m=0.015 ;in radians according to racer.nl?
  ;5407nm critical
  bump_rate=3244
  bumpstop_k=100000 ;value from racer.nl
  bumpstop_len=0.07 ;in meters
  rebound_rate=5407 ;4326
  damper_curve=damper_rear_sport.crv
  reboundstop_k=170000 ;value from racer.nl
  reboundstop_len=0.05 ;in meters
  anti_pitch=0.1
  roll_center
  {
    x=0
    y=-0.45 ~25cm, starting figure until I can find better info
    z=0
  }
  k=25203 ;1.6hz, sports pack setup
  ;6464N rear weight (both sides), with unsprung
  ;290kg sprung per rear wheel
}
susp0~susp_front
{
  x=0.761 ;1522mm front track
  toe_change_per_m=0.01 ;approx starting amount, can't find this anywhere
}
susp1~susp_front
{
  x=-0.761 ;1522mm front track
  toe_change_per_m=-0.01 ;approx starting amount, can't find this anywhere
}
susp2~susp_rear
{
  x=0.7685 ;1537mm rear track
  toe_change_per_m=-0.005 ;approx starting amount, can't find this anywhere
}
susp3~susp_rear
{
  x=-0.7685 ;1537mm rear track
  toe_change_per_m=-0.005 ;approx starting amount, can't find this anywhere
}
pacejka
{
;225/50 R16 pacejka courtesy of Mr Whippy, recycled from the Scorpio.
;Slightly increased grip and lowered peak slip ratios..
a0=1.15
a1=-25
a2=1280 ;1300
;Edmunds said '35.6 lateral G on 200ft skid pan'???
a3=1998 ;1850
a4=7
a5=0.015
a6=-0.25
a7=0
a8=-0.03
a9=-0.001
a10=-0.15
a111=-8.5
a112=-0.29
a12=17.8
a13=-2.4
b0=1.44 ;1.3
b1=-40
b2=1280 ;1300 ;~0.9G lat force @ 200ft circle
b3=20
b4=325
b5=0.08
b6=0
b7=0.05
b8=-0.025
b9=0.015
b10=0.4
b11=-50
b12=0
c0=2.37
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.05
c12=-0.0035
c13=0
c14=0.14
c15=-1.029
c16=0.27
c17=0
optimal_slipratio=0.11034 ;0.14
optimal_slipangle=0.19259 ;0.171 ;9.79
}
wheel_front
{
  max_braking=2550 ;overall braking power
  ;60-0mph braking 125 feet, road test on early 2001 car by Edmunds - later and Sport models probably better?
  rolling_coeff=0.010 ;tyre rolling resistance
  ; Brakedisc temperature, currently only makes brakediscs glow
  brake_heating=0.002
  brake_dissipation=0.0008
  brake_max_temp=1000
  tire_rate=180000 ;maybe a tad high for a road tyre?
  braking_factor=0.72 ;rough figure for front-heavy car,
  ;any more rear bias makes car unstable on hard braking
  inertia=1.8 ;calculated from inertiawheels.xml
  lock=71.2 ;max rotation of steered wheels, calculated for 10.8m turning circle
  mass=43 ;18kg wheel + 10kg brake disc/caliper, 15kg hub etc..estimate
  steering=1 ;front wheels attached to steering linkage
  powered=1 ;all wheels set to powered to fudge AWD
  radius=0.3172 ;rolling radius
  width=0.225 ;wheel width, unused currently?
  ;225/45 R17
  ackerman=1.1
  power_gearing=1.30 ;1.273 ;60/40 rear/front split
  camber=-0.75 ;0.4° to -1.0° tolerance given in service manual
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  max_braking=2550 ;overall braking power
  max_handbrake_torque=550 ;hand braking torque
  rolling_coeff=0.010 ;tyre rolling resistance
  ; Brakedisc temperature, currently only makes brakediscs glow
  ;not sure you can actually set front/rear brake heat separately?
  brake_heating=0.001
  brake_dissipation=0.0005
  brake_max_temp=1000
  tire_rate=180000
  braking_factor=0.28 ;0.36  ;rough figure for front-heavy car
  inertia=1.65 ;calculated from inertiawheels.xml
  mass=40 ;18kg wheel + 8kg brake disc/caliper, 14kg hub etc..estimate
  steering=0 ;rear wheels not steered
  powered=1 ;all wheels set to powered to fudge AWD
  radius=0.3172 ;rolling radius
  width=0.225 ;wheel width, unused currently?
  ;225/45 R17
  camber=-1.33 ;0.75° to -1.5° tolerance given in service manual
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  toe=-0.26 ;-16' min to +04' max - from 2003 Jag specs. Cars often set with max toe in to cut tyre wear
  model
  {
    file=wheel_fl.dof
	lod0_z=40
	lod1_z=150
    }
	model2
  {
    file=wheel_fl_lod1.dof
	velocity=24
	lod0_z=150
    }
    model3
   {
    file=wheel_fl_blur01.dof
    velocity=48
	lod0_z=150
    }
   model4
   {
    file=wheel_fl_blur02.dof
    velocity=72
	lod0_z=150
   }
   model_brake
  {
  file=caliper_l.dof
  lod0_z=30
  }
}

 wheel1~wheel_front
{
  toe=0.26
  model
  {
    file=wheel_fr.dof
	lod0_z=40
	lod1_z=150
    }
	model2
  {
    file=wheel_fr_lod1.dof
	velocity=24
	lod0_z=150
    }
    model3
   {
    file=wheel_fr_blur01.dof
    velocity=48
	lod0_z=150
    }
   model4
   {
    file=wheel_fr_blur02.dof
    velocity=72
	lod0_z=150
   }
   model_brake
  {
  file=caliper_r.dof
  lod0_z=30
  }
}

wheel2~wheel_rear
{
  toe=0 ;no rear toe
   model
  {
    file=wheel_rl.dof
	lod0_z=40
	lod1_z=150
    }
	model2
  {
    file=wheel_rl_lod1.dof
	velocity=24
	lod0_z=150
    }
    model3
   {
    file=wheel_rl_blur01.dof
    velocity=48
	lod0_z=150
    }
   model4
   {
    file=wheel_rl_blur02.dof
    velocity=72
	lod0_z=150
   }
   model_brake
  {
  file=caliper_l.dof
  lod0_z=30
  }
}

  wheel3~wheel_rear
{
  toe=0 ;no rear toe
 model
  {
    file=wheel_rr.dof
	lod0_z=40
	lod1_z=150
    }
	model2
  {
    file=wheel_rr_lod1.dof
	velocity=24
	lod0_z=150
    }
    model3
   {
    file=wheel_rr_blur01.dof
    velocity=48
	lod0_z=150
    }
   model4
   {
    file=wheel_rr_blur02.dof
    velocity=72
	lod0_z=150
   }
   model_brake
  {
  file=caliper_r.dof
  lod0_z=30
  }
}
camera0
{
    offset
  {
    x=-0.40
    y=0.36
    z=-0.06
    }
offset_to
{
x=0
y=0
z=10
}
src
{
mass=5
k=5950
damping=575
maxdist=0.1
}
dst
{
mass=1.0
k=0
damping=0
maxdist=0
}
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
    name=driver
    view=2
    model=1
    wheels=0
    fov=70
  }

camera1
{
    offset
  {
    x=0.40
    y=0.36
    z=-0.06
    }
offset_to
{
x=0
y=0
z=10
}
src
{
mass=1.32
k=5950
damping=575
maxdist=0.1
}
dst
{
mass=1.0
k=0
damping=0
maxdist=0
}
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
    name=passenger
    view=2
    model=1
    wheels=0
    fov=70
    ;cam0
  }

camera2
{
  offset
  {
  ;old style camera
    x=-0.1
    y=-0.36
    z=0.6
  }
  angle
  {
    x=0
    y=355
    z=0
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=rear_view_interior
   ;cam4
   fov=70
   model=1
   wheels=0
   view=2
}

camera3
{
offset
  {
    x=0.07
    y=0.36
    z=-1
  }
  offset_to
{
x=0
y=-0.20
z=10
}
src
{
mass=5
k=5950
damping=575
maxdist=0.1
}
dst
{
mass=1.0
k=0
damping=0
maxdist=0
}
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=rear_driver_view
   ;cam5
   fov=50
   model=1
   wheels=0
   view=2
}

camera4
{
  offset
  {
    x=0
    y=0.32
    z=1.0
	}
offset_to
{
x=0
y=-0.20
z=10
}
src
{
mass=1.32
k=5950
damping=575
maxdist=0.001
}
dst
{
mass=1.0
k=12800
damping=12
;3200
maxdist=0.2
}
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=bonnet_main
   ;cam7
   fov=75
   model=0
   wheels=0
   view=2
}

camera5
{
  offset
  {
x=1.20
y=-0.40
z=0.70
	}
offset_to
{
x=-2.0
y=-0.50
z=10
}
src
{
mass=1.32
k=5950
damping=575
maxdist=0.05
}
dst
{
mass=1.0
k=12800
damping=12
;3200
maxdist=0.5
}
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=wheel_cam
   fov=50
   model=0
   wheels=0
   view=2
}

camera6
{
    offset
  {
    x=0.00
    y=-0.29
    z=2.30
    }
offset_to
{
x=0
y=-0.20
z=10
}
src
{
mass=1.32
k=5950
damping=575
maxdist=0.001
}
dst
{
mass=1.0
k=12800
damping=12
;3200
maxdist=0.2
}
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=bumper_cam
   fov=70
   model=0
   ;generic models still get drawn in Racer 088
   wheels=0
   view=2
  }


camera7
{
;old style cam
  offset
  {
    x=0.2
    y=-0.36
    z=-5
  }
  angle
  {
    x=10
    y=20
    z=10
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=angled1
   ;cam8
   fov=75
   model=0
   wheels=1
   view=2
}

camera8
{
;old style cam
offset
  {
    x=0
    y=0
    z=-5
  }
  angle
  {
    x=20
    y=200
    z=20
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=angled2
   ;cam9
   fov=75
   model=0
   wheels=1
   view=2
}

  camera9
{
;old style cam
offset
  {
    x=0.001563
    y=-0.406250
    z=-10.295002
  }
  angle
  {
    x=12.138849
    y=180.173615
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=Behind
   ;cam1
   fov=40
   model=0
   wheels=0
   view=0
}


audio
{
  skid
  {
    volume=1
    smp0
    {
      volume=1.0
      sample=skid.wav
      min=0.25 ;0.1
      max=1.0
      attack=0.15
      decay=1.0
    }
    smp1
    {
      volume=1.0
      sample=skid_lon.wav
      min=1.0
      max=100.0
      attack=0.50
      decay=1.0
    }
  }
  shiftout
  {
	;sample=shift_out.wav
  }
  shiftin
  {
    ;sample=shift_in.wav
  }

  throttle_off
  {
  smp0
  {
  ;sample=throttle_off.wav
  }
  }
  horn
  {
    sample=horn.wav
  }

  starter
  {
  smp0
  {
  sample=starter.wav
  ;throttle_off.wav
  }
  }

  accelerate_out
  {
  volume=1.0
  	smp0
    {
      sample=idle.wav
      volume=0.3
      min=700
      max=1100
      attack=100
      decay=500
      natural=800
    }
	smp1
    {
      sample=2000.wav
      min=2000
      max=2500
      natural=4000
      attack=1000
      decay=2000
      volume=0.3
	}
	smp2
    {
      sample=4000.wav
      min=3000
      max=4000
      natural=4000
      attack=2000
      decay=2000
      volume=0.5
}
	smp3
    {
      sample=6000.wav
      min=7000
      max=8000
      natural=6000
      attack=4000
      decay=1000
	  volume=1.0
	}
	}

	decelerate_out
	{
	volume=0.6
	smp0
    {
      sample=idle.wav
      volume=0.3
      min=700
      max=1100
      attack=100
      decay=700
      natural=800
    }
	smp1
    {
      sample=2000.wav
      min=2000
      max=2500
      natural=4000
      attack=1000
      decay=2000
      volume=0.3
	}
	smp2
    {
      sample=4000.wav
      min=3000
      max=4000
      natural=4000
      attack=2000
      decay=2000
      volume=0.4
	}
	smp3
    {
      sample=6000.wav
      min=7000
      max=8000
      natural=6000
      attack=4000
      decay=1000
	  volume=0.6
	}
	}
	
	accelerate_in
  {
  volume=1.3
  	smp0
    {
      sample=idle_in.wav
      volume=0.3
      min=700
      max=1100
      attack=100
      decay=500
      natural=800
    }
	smp1
    {
      sample=2000_in.wav
      min=2000
      max=2500
      natural=4000
      attack=1000
      decay=2000
      volume=0.4
	}
	smp2
    {
      sample=4000_in.wav
      min=4000
      max=4000
      natural=4000
      attack=2000
      decay=2000
      volume=0.5
}
	smp3
    {
      sample=6000_in.wav
      min=7000
      max=8000
      natural=6000
      attack=4000
      decay=1000
	  volume=1.0
	}
	}

	decelerate_in
	{
	volume=1.0
	smp0
    {
      sample=idle_in.wav
      volume=0.3
      min=700
      max=1100
      attack=100
      decay=700
      natural=800
    }
	smp1
    {
      sample=2000_in.wav
      min=2000
      max=2500
      natural=4000
      attack=1000
      decay=2000
      volume=0.4
	}
	smp2
    {
      sample=4000_in.wav
      min=4000
      max=4000
      natural=4000
      attack=2000
      decay=2000
      volume=0.4
	}
	smp3
    {
      sample=6000_in.wav
      min=7000
      max=8000
      natural=6000
      attack=4000
      decay=1000
	  volume=0.6
	}
	}

;	gearwhine
;	{
;	pitch_scale=0.1
;   smp0
;    {
;      sample=tw-extonhigh.wav
;	  ;transfer box whine, doesn't work well with interior sounds (too loud)
;      volume=0.42
;	  ;0.2
;	  ;0.25
;      min=500
;      max=1000
;	  attack=500
;      decay=100
;      natural=125
;    }
;	}
;	
;	gearwhine_off
;	{
;	pitch_scale=0.1
;    smp0
;    {
;      sample=tw-extonhigh.wav
;	  ;transfer box whine
;      volume=0.32
;	  ;0.2
;	  ;0.25
;      min=500
;      max=1000
;	  attack=500
;      decay=100
;      natural=125
;    }
;	}
	
    wind
	{
	volume=12.0
    pitch_scale=0.01
	pitch_offset=0
    smp0
    {
    sample=wind1.wav
    volume=1.0
	min=80
    max=1000
    attack=80
	decay=80
    natural=1
    }
  }
}
