;===========================================================================
; Hillman IMP original ini modified by boomer541 - Version : 12-08
;===========================================================================
; Legal
; This is a RACER car only.
; Legally, Michal Kellner and I retain all rights to these dof and texture. Everything, except
; textures where noted and the sounds, that is included in this package is our own work.
; Therefore we retain all rights to the intelectual property. ANY PORTION OF THIS CAR THAT IS
; COPIED OR UNLAWFULLY DISTRIBUTED STILL BELONGS TO US. 
; This car was remade in the United States of America and is therefore automatically
; copyrighted as a work of art. All related commercial symbols are copyrighted to thier
; respective owners.
;
; Thanks for reading this, and please, have fun
; Robert Hojaboom
;
; Note: Texture image sources: - headlamp > Michal - wheel & tire > Michal, modified by me
; brakelight > TheAlfaNut - racing suit > Sparco - the rest > me and Michal
; Note: driver model for Racer was made originally by stecki@quakerally.com
; http://stecki.racesimcentral.com.
; He said to use it for whatever and edit it any way you want, both the model and the textures.
; sound sources: engine sound from TheAlfaNut, horn from Melo-mfg.com and others from RACER
;
; Hillman Imp created by Michal Kellner
; modified by Bob Hojaboom
; February 02, 2005
;*****************************************************************************
;DIMENSIONS
;Length overall -  11ft.7in. (3531mm.);11ft. 9in. (3588mm.) with over riders
;Width overall  -  601in. (1530mm.)
;Height overall (unladen) - 541in. (1384mm.)
;Weight (kerb) -  (695kg.); de Luxe, (708kg.); Super,  (715kg.)
;Ground clearance (min.) - 51in. (140mm.)
;Track - -Front  501in. (1283mm.) - Rear 48in. (1219mm.)
;Wheelbase   -   82in. (2083mm.)
;Turning circle diameter - 30ft. 3in. (9.2m.)
;*****************************************************************************
; changes - susp_rear
car
{
  name=Hillman IMP
  year=1964
  credits=mikes, boomer541, driver by Stecki
  comments=ver. 1-26-08
  id=impracing
  version=050f
  wheels=4
  ; shadow modified by boomer541 July 16, 2004
  shadow
  {
    texture=shadow.tga
    width=2.38
    length=3.8
    offset_x=-0.01
    offset_y=-0.01
    offset_z=-0.01
    intensity_dark=0.3
    intensity_light=0.3
  }
;cg = 0.172 actual -0.078
  cg
  {
    x=0
    y=-0.15   ;-0.25
    z=-0.05
  }
  ff_factor=0.0   ;0.14
}
graphics
{
  ; Car models used
  shadow
  {
    model
    {
      ; Projected shadow model
      file=bodyshdo.dof
      use_shaders=0
      offset
      {
        x=0.0
        y=-0.0475
        z=0.0
      }
    }
    intensity=0.8
  }
}
animation
{
  ; Flash all lights? (ms for on , off-period is the same, so total time is twice this value)
  flash_lights=0   ;500
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=45
    ; Aspect (horizontal)
    aspect=2.0
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=5.0
    ; distance of light projection in meters/2
    far=1000
    ; Color (multiplied with texture)
    color=35 35 35
  }
}
flares
{
  ; Front lights
  flare0
  {
;	normal=0.05 0.1 0.6   ;normal direction 0 0 1 is forward
	normal=-0.2 0 1   ; x rotates +left-right, y rotates +up-dwn, z rotates +fwd-back
	pos=-0.60 0.431 1.770   ;flare center relative to car null point x y z
	color=1 1 1  ;color rgb  0 0 0=none 1 1 1=white default
	size_factor=2   ;scales size of flare
	hor_scale=1   ;scales width of flare
	intensity=0.5   ;<1 make flare smaller
	z_offset=-3000   ;negative if flare cuts thru car body
  }
  flare1
  {
;	normal=0.05 0.1 0.6
	normal=0.2 0 1
	pos=0.60 0.431 1.770
	color=1 1 1
	size_factor=2
	hor_scale=1
	intensity=0.5
	z_offset=-3000
	size_factor=2
  }
  ; Rear lights
  flare2
  {
	rule=rear
	pos=-0.661 0.44 -1.604
	normal=0.05 0 -0.5
	color=5 0.3 0.2
	size_factor=0.4
	z_offset=-1000
  }
  flare3
  {
	rule=rear
	pos=0.661 0.44 -1.604
	normal=-0.05 0 -0.5
	color=5 0.3 0.2
	size_factor=0.4
	z_offset=-1000
  }
  ; Brake lights
  flare4
  {
	rule=rear
	rule=brake
	pos=-0.657 0.32 -1.606
	normal=0.05 0 -0.5
	color=15 0.1 0.1
	size_factor=0.4
	z_offset=-1000
  }
  flare5
  {
	rule=rear
	rule=brake
	pos=0.657 0.32 -1.606
	normal=-0.05 0 -0.5
	color=15 0.1 0.1
	size_factor=0.4
	z_offset=-1000
  }
}
ai
{
  understeer_correct=10
  oversteer_correct=10
  grip_factor=1.35
}
particles
  {
   backfire
   {
    exhaust0
     {
      pos=-0.40 0.06 -1.592 ;x,y,z
      normal=0 0 -1
     }
;    exhaust1
;     {
;      pos=0.28 0.19 -2.1 ;x,y,z
;      normal=0 0 -1
;     }
    type=backfire
    ;type=backfire_long
    min_rpm=5000
    ;min_rpm=0
    ;suppose car comes from 9000 rpm for example. Backfire can happen when max_rpm is hit
    max_rpm=7500
    ;max_rpm=10000
    ;high backfire likeliness for rally cars
    ;likeliness_percentage=30
    likeliness_percentage=100
    }
  }
body
{
  ; Weight of the car's body (kg) - This excludes wheels, engine, fuel and driver
  ; total 708 unloaded, 
  mass=695
  inertia
  {
    x=1800
    y=1900
    z=600
  }
  width=1.473   ;1.53
  height=1.113   ;1.38
  length=3.5   ;3.53
  manual_box=1   ;0
  box_offset=0 0 0
;  offset
;  {
;    x=0
;    y=-0.25
;    z=0.05
;  }
  model
  {
    file=body.dof
  }
  model_collide
  {
    ; 3D collision model (Newton only)
    file=collision.dof
  }
  model_incar
  {
    ;file=incar.dof
  }
  model_braking_l
  {
    file=brklites.dof
  }
  model_braking_r
  {
    file=brklites.dof
  }
  model_light_l
  {
    file=n_lite.dof
  }
  model_light_r
  {
    file=n_lite.dof
;    file=l_turn.dof
  }
  model_light_hazard
  {
;    file=flare.dof
;    file=r_turn.dof
  }
}
wipers
{
  ; Windscreen wipers
  count=2
  wiper0
  {
    x=0.3205
    y=0.6813   ;+up-down
    z=0.9025    ;+forwaod-back
    xa=37
    min_angle=170   ;170 off position
    max_angle=70   ;70 on max rotaion
    model
    {
      file=wiper0.dof
    }
  }
  wiper1
  {
    x=-0.0886
    y=0.6828
    z=0.9179
    xa=37
    min_angle=170
    max_angle=70
    model
    {
      file=wiper1.dof
    }
  }
}
steer
{
  x=-0.265    ; steeringwheel location -left/+right
  y=0.60   ; steeringwheel location +up/-down
  z=0.71      ; steeringwheel location +front/-back
  radius=30
  xa=10
  lock=900
  ; ================================ adjust for best handling
  linearity=0.35
  ; ================================
  model
  {
    file=swheel.dof
  }
}
;===========================================================================
;IMp 875ccm-39bhp(5000) 48lb.ft/2400 //*1.356 to Nm
;imp sport 875ccm 51(6100) 52lb.ft/2400
;Rallye IMP 998ccm 65(6200), torque 62lb-ft(3200) 
;racing - 80(100at flywheel)( ~8000rpm), max rpm 10,000, Fraser 120bhp
;===========================================================================
engine
{
  ; Position (stub gfx)
  x=0
  y=.2
  z=-1.0
  size=.25
  mass=80
  max_rpm=10000		
  idle_rpm=780
  ; Idle method; 0=old method (<v0.8.1) which keeps throttle always open
  ; 1=new method, where throttle is applied ONLY when engine RPM drops below idle_rpm
  ; Throttle is then progressively applied upto stall_rpm
  ; Default is the old method (0) for compatibility, but method 1 is far more realistic.
  idle_method=1   ;0
  ; For idle_method=1, you can still supply an amount of throttle that is applied
  ; even when letting go of the pedal. Some fuel is then still applied while coasting
  ; full with a fully depressed pedal.
  ; Non-zero for carburator engines, 0 for diesels
  idle_throttle=0.05
  ; RPM at which to start disengaging the clutch (when autoclutch is active; see racer.ini).
  ; Automatically press clutch when below autoclutch_rpm?
  autoclutch=0
  ; The clutch will be fully disengaged when the rpm hits idle_rpm, and starts being pressed at
  ; autoclutch_rpm.
  autoclutch_rpm=1025
  curve_torque=torque.crv
  max_torque=250
  ; Reaction of engine torque through body roll (0..1)
  torque_reaction=1   ;0
  starter=1
  starter_torque=65
  start_stalled=0
  stall_rpm=500
  start_rpm=950
  ; Dash indications - gives a range for shifting warnings
  ; Only used with exotic proprietary controllers
  min_warn_rpm=6500
  max_warn_rpm=8500
  cylinders=4
  ; For V shaped engines, enter the angle (in degrees!) between the rows of cylinders
  cylinder_angle=45
  ; Engine rumble - amplitude (try 5000 in your own car.ini)
  rumble_amplitude=5000   ;1
  ; RPM at which rumble calculation are skipped (too faint to notice)
  rumble_maxrpm=2500
  ;  shifting
  shifting
  {
    automatic=0
    fast=1
    shift_up_rpm=9000   ;8000
    shift_down_rpm=4000   ;3000
    time_to_declutch=100
    time_to_clutch=100
    ; Time spent in neutral halfway shift
    time_in_neutral=0
    ; Shifting down separate times
    time_to_declutch_down=200
    time_in_neutral_down=0
    time_to_clutch_down=200
	; Blip throttle when downshifting?
	blip_throttle=0.5
	; Cut throttle when upshifting?
	cut_throttle=1
  }
  inertia
  {
    engine=0.11
  }
  ; Internal engine braking coefficient (0=low, >0=friction)
  ; The braking coefficient is linked to the rpm of the motor (linearly)
  ; in the following way:
  ; min_torque=-braking_coeff*rps    (rps = rpm/60)
  ; max_torque=torque
  ; Throttle moves the torque from min_torque..max_torque
  ; Example: Arrows F1 car @14.500 rpm => braking_coeff=0.74
  ; Then   : rps=14500/60 = 241, negative torque = -0.74*241 = -180 Nm
  braking_coeff=1.6
;  braking_torque_curve=engine_braking.crv
  rolling_friction_coeff=0.6
  friction=0
  ; RPM jitter effect when shifting
  jitter
  {
    ; RPM variance is dependent on rpm and amplitude below
    amplitude=0
    ; Time to last (ms); randomly selected so totalTime=time_min+rand(time_var)
    time_min=100
    time_var=500
    ; Frequency; randomly selected so freq=frequency_min+rand(frequency_var)
    frequency_min=4
    frequency_var=9
  }
}
fuel
{
  ; Fuel type: 0=gasoline, 1=diesel. Determines efficiencies
  type=0
  ; Max storage in liters
  max=50.0
  ; Brake specific fuel consumption (gram/Joule); an idea of the efficiency of the engine
  bsfc=2.0e-5
  ;bsfc=6.944e-5
}
traction_control
{
  enable=0
  ; Allowed front/rear wheel speed ratio (1.1=10% difference allowed)
  max_velocity_ratio=1.1
  ; When to turn TC off
  min_velocity_ratio=1.0
  min_velocity=0
}
abs
{
  ; Anti-lock braking system
  enable=0
  ; Allowed front/rear wheel speed ratio
  max_velocity_ratio=1.1
  ; When to turn TC off
  min_velocity_ratio=1.0
  min_velocity=0.1
  ; Braking factor when ABS is applied
  braking_factor=1.0
}
;===========================================================================
;4.48-6.19-8.91-16.59 - Rallye
;4.14-5.70-8.91-16.59
;Other source - Top, 0.852:1; 3rd, 1.174:1; 2nd,1.833:1; Ist, 3.417:1; reverse, 2.846:1,
;  Final drive ratio - 4.857:1
; changed November 15, 2006 to match Imp owner's handbook by boomer541
;===========================================================================
gearbox
{
  gears=5
  gear0
  {
    ratio=-3.47
    inertia=0.4
    engine_map=1.0
  }
  gear1
  {
    ratio=4.138
    inertia=0.05
    engine_map=1.0
  }
  gear2
  {
    ratio=2.22
    inertia=0.05
    engine_map=1.0
  }
  gear3
  {
    ratio=1.42
    inertia=0.02
    engine_map=1.0
  }
  gear4
  {
    ratio=1.03
    inertia=0.02
    engine_map=1.0
  }
}
differential
{
  count=0
  diff0
    ; Diff type; 0=free, 1=viscous, 2=salisbury, 3=lsd, 4=locked
    type=1
    ; Ratio of input vs. output
    ; This overrides gearbox.end_ratio if defined, to be more flexible
    ; in building drivelines with multiple differentials. gearbox.end_ratio
    ; is obsolete but still supported for backward compatibility.
    ratio=4.01
    inertia=0.05
    ; LSD diff: preload torque (the defaults will give an open differential!)
    preload=0
    ; LSD diff: power-on coefficient (clutchTorque+=power_coeff*engineInputTorque)
    power_coeff=0
    ; LSD diff; power-off coefficient. For a 1-way LSD, coast_coeff=0, for a 2-way LSD
    ; coast_coeff=1 and for a 1.5 way coast_coeff is somewhere inbetween 0 and 1
    coast_coeff=0
    ; Viscous diff: rpm difference coefficient
    locking_coeff=80
    output0=2
    output1=3
    ; Friction (Nm)
    friction=0
}
clutch
{
  max_torque=400
}
handbrakes
{
  wheels=23
}
aero
{
  draft
  {
    ; Drafting/slipstreaming - scaling in meters of the area behind the car, based on velocity
	; Use gfx.show_aero=1 in racer.ini to visualize the draft areas
	scale_lat_rear=0.4
	scale_lon_rear=1
	; Air bubble in front
	scale_lat_front=0.08
	scale_lon_front=0.2
  }
  body
  {
    center=0 0 0
    cx=0.385
    area=2
  }
  wings=1
  wing0
  {
    name=lift
    span=1
    cord=1
    coeff_drag=0.0
    coeff_down=1.0
    center=0 0 0
    angle=0
    angle_offset=10
  }
}
antirollbar
{
  count=1
  arb0
  {
    susp_left=0    ;1?
    susp_right=1   ;0?
    k=15000   ;100
  }
}
;********************************************
;Spring length-free    10. 35in.; laden length of 7.84
;Spring rate      187/230 lb./in.
susp_front
{
  y=0.25   ; moves body -up/+down
  z=1.27   ; + moves wheel position forward
  restlen=0.20
  minlen=0.1
  maxlen=0.265
  bumpstop_len=0.04
  bumpstop_k=70000
  ; Bumpstop damping (N/m/s, for k=100000 a value of perhaps 10000 is a nice start)
  bumpstop_damping=0
  ; Reboundstop to keep wheel from going through maxlen when jumping for example
  ; (default is a no-length reboundstop,
  ; although it extends below maxlen, so it really extends indefinetly)
  reboundstop_len=0.0
  ; Reboundstop maximum rate (N/m at full compression)
  reboundstop_k=170000
  ; Reboundstop damping (N/m/s, for k=100000 a value of perhaps 10000 is a nice start)
  reboundstop_damping=0
  ; Spring coefficient (N/m); determines force when spring is pulled/pushed
  k=70000
  ; Damper bump function; 0=linear, 1=exp, 2=digressive, 3=sqrt
  bump_function=0
  bump_rate=3500
  ; Damper max value (only used if bump_function=digressive)
  bump_max=3200
  rebound_rate=7050
  rebound_function=0
  anti_dive=0.1
  anti_lift=0
  anti_pitch=0.6
  ; Warp length - suspension length when car is put onto the track. To calculate a nice
  ; value, set it to 0, put the car on a flat piece of track, check the suspension
  ; lengths with Ctrl-8 and put those numbers in 'warplen' for the front/rear suspension.
  ; 0 is the default, which attempts to calculate a reasonable number.
  warplen=0
  model
  {
    file=
  }
  ; Bump steer; toe change in radians per meter of suspension deflection
  toe_change_per_m=0
  ; Camber change in radians per meter deflection
  camber_change_per_m=0
  ; Camber change ratio; degrees of camber / degrees of wheel rotation
  camber_change_steering=0
  ; Mechanical trail; adds to force feedback directly when steering and driving.
  caster_offset=0
  ; NYI
  caster_angle=0
  kingpin_offset=0
  kingpin_angle=0
  roll_center
  {
    x=0
    y=-0.2
    z=0
  }
}
;*************************************************
;Spring length-free          9.30in.            9.45in.
;. Spring rate (off car)-7.35in. at 940 lb.   7.60in. at 940 lb.
;spring rate about 482lbs or 508 for raly IMP
;Original Hartwell Tourings springs:
;fronts - 9" unladen and they have a 250lb rate
;rears - 8.4" unladen and 610lb rate.
susp_rear
{
  y=0.23    ; moves body -up/+down
  z=-0.87   ; + moves wheel position backward
  restlen=0.20
  minlen=0.1
  maxlen=0.24
  bumpstop_len=0.04
  bumpstop_k=70000
  ; Bumpstop damping (N/m/s, for k=100000 a value of perhaps 10000 is a nice start)
  bumpstop_damping=0
  ; Reboundstop to keep wheel from going through maxlen when jumping for example
  ; (default is a no-length reboundstop,
  ; although it extends below maxlen, so it really extends indefinetly)
  reboundstop_len=0.0
  ; Reboundstop maximum rate (N/m at full compression)
  reboundstop_k=170000
  ; Reboundstop damping (N/m/s, for k=100000 a value of perhaps 10000 is a nice start)
  reboundstop_damping=0
  ; Spring coefficient (N/m); determines force when spring is pulled/pushed
  k=50000
  ; Damper bump function; 0=linear, 1=exp, 2=digressive, 3=sqrt
  bump_function=0
  bump_rate=3000
  ; Damper max value (only used if bump_function=digressive)
  bump_max=4600
  rebound_rate=7000
  rebound_function=0
  anti_rise=0.15
  anti_squat=0.25
  anti_pitch=0.4
  ; Warp length - suspension length when car is put onto the track. To calculate a nice
  ; value, set it to 0, put the car on a flat piece of track, check the suspension
  ; lengths with Ctrl-8 and put those numbers in 'warplen' for the front/rear suspension.
  ; 0 is the default, which attempts to calculate a reasonable number.
  warplen=0
  model
  {
    file=
  }
  ; Bump steer; toe change in radians per meter of suspension deflection
  toe_change_per_m=0
  ; Camber change in radians per meter deflection
  camber_change_per_m=0
  ; Camber change ratio; degrees of camber / degrees of wheel rotation
  camber_change_steering=0
  ; Mechanical trail; adds to force feedback directly when steering and driving.
  caster_offset=0
  ; NYI
  caster_angle=0
  kingpin_offset=0
  kingpin_angle=0
  roll_center
  {
    x=0
    y=-0.21
    z=0
  }
}
susp0~susp_front
{
  x=0.63
}
susp1~susp_front
{
  x=-0.63
}
susp2~susp_rear
{
  x=0.62
}
susp3~susp_rear
{
  x=-0.62
}
;********************************************
;Tyre size       5.50 x 12 (155 x 12 radial, optional)
;Tyre pressures -Front     18
;(lb.lsq.in.)    Rear      30
;
tire_model_front
{
  relaxation_length_lat=0.91
  relaxation_length_long=0.091
  damping_speed=0.15
  damping_coefficient_lat=35
  damping_coefficient_long=1
}
tire_model_rear
{
  relaxation_length_lat=0.91
  relaxation_length_long=0.091
  damping_speed=0.15
  damping_coefficient_lat=35
  damping_coefficient_long=1
}
;========== 155/65 R12 ==========
pacejka
{
  ; Pacejka constants
  ; Lateral coefficients
  a0=1.60000
  a1=-30.00000
  a2=2050.00000
  a3=2400.00000
  a4=8.70000
  a5=0.01400
  a6=-0.24000
  a7=1.00000
  a8=-0.03000
  a9=-0.00130
  a10=-0.15000
  a111=-8.50000
  a112=-0.29000
  a12=0.00000
  a13=-2.40000
  ; Longitudinal coefficients
  b0=1.60000
  b1=-60.00000
  b2=1850
  b3=23.30000
  b4=350.00000
  b5=0.05000
  b6=0.00000
  b7=0.05500
  b8=-0.02400
  b9=0.00000
  b10=0.00000
  ; Aligning moment coefficients
  c0=2.20000
  c1=-3.90000
  c2=-3.90000
  c3=-1.26000
  c4=-8.20000
  c5=0.02500
  c6=0.00000
  c7=0.04400
  c8=-0.58000
  c9=0.18000
  c10=0.04300
  c11=0.04800
  c12=-0.00350
  c13=-0.18000
  c14=0.14000
  c15=-1.02900
  c16=0.27000
  c17=-1.10000
  ; Statistical data (SR, SA in radians)
  optimal_slipratio=0.12414
  optimal_slipangle=0.19500
}
wheel_front
{
  y=0       ; leave at 0 or get Qlog error
  z=0       ; leave at 0 or get Qlog error
  steering=1
  lock=55
  mass=20
  inertia=1.7
  radius=0.25315
  width=.3
  ; Tire damping (N/m/s), damping tire_rate, start with 0.01*tire_rate as a nice value (~1400?)
  tire_damping=0
  inboard_brakes=0
  max_handbrake_torque=0
  reverse_steering=0
  brake_heating=0.0003
  brake_dissipation=0.0005
  brake_max_temp=1000
  rolling_coeff=0.017
  friction_road=1
  tire_rate=300000
  max_braking=3000
  braking_factor=0.45   ;0.55
  pacejka~pacejka
  {
  a2=1950
  b2=1850
  }
}
wheel_rear
{
  y=0       ; leave at 0 or get Qlog error
  z=0       ; leave at 0 or get Qlog error
  steering=0
  powered=1	
  mass=20
  inertia=1.7
  radius=0.25315
  width=.3
  ; Tire damping (N/m/s), damping tire_rate, start with 0.01*tire_rate as a nice value (~1400?)
  tire_damping=0
  inboard_brakes=0
  ackerman=0
  reverse_steering=0
  brake_heating=0.0003
  brake_dissipation=0.0005
  brake_max_temp=1000
  rolling_coeff=0.019
  friction_road=1
  max_braking=3000
  braking_factor=0.55   ;0.45
  max_handbrake_torque=3000
  tire_rate=275000
  pacejka~pacejka
  {
  a2=2400
  b2=1850
  }
}
;Front
; Camber in degrees; negative is lean inward (to the car)
;Camber angle  + 21° 0 ± 11°
;Toe-in (at wheel rim) 1/8 ± 1/16 in. (1° ± 1° )
;
wheel0~wheel_front
{
  x=0
  ackerman=1.5
  toe=-1.0
  camber=5
  model
  {
    file=wheel-l.dof
  }
  model_brake
  {
    ;file=caliper_lf.dof
  }
}
wheel1~wheel_front
{
  x=0
  ackerman=1.5
  toe=1.0
  camber=5
  model
  {
    file=wheel-r.dof
  }
  model_brake
  {
    ;file=caliper_rf.dof
  }
}
;Front
;Camber angle   + 1° ± 3°
;Toe-in (at wheel rim) 3/16 ± 1/16 ( 3° 1°)
;
wheel2~wheel_rear
{
  x=0
  camber=0.0
  toe=-0.18
  model
  {
    file=wheel-l.dof
  }
  model_brake
  {
    ; file=caliper_lr.dof
  }
}
wheel3~wheel_rear
{
  x=0
  camber=0.0
  toe=0.18
  model
  {
    file=wheel-r.dof
  }
  model_brake
  {
    ; file=caliper_rr.dof
  }
}
;----------------------------------------------------------------------------
; Audio for Racer added by boomer541 - June 05, 2006
;----------------------------------------------------------------------------
audio
{
  skid
  {
    sample=skid.wav
    sample2=skid2.wav
  }
  skid
  {
   skidding
   {
    ; slip ratio
    long_start=1.01
    long_max=10.9
    ; negative slip ratio
    long_start_n=1.01
    long_max_n=10.9
    ; lateral slip velocity
    lat_start=10
    lat_max=30
    }
   } 
  shiftin
  {
    sample=shift_in.wav
  }
  shiftout
  {
    sample=shift_out.wav
  }
  horn
  {
    sample=bus_horn.wav
  }
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_out
  {
    smp0~audio.acc_all
    {
      volume=0.4   ;0.25
      sample=engine.wav
      min=500   ;50
      max=10000
      natural=6000   ;4000
    }
  }
  decelerate_out
  {
    smp0~audio.acc_all
    {
      volume=0.5   ;0.3
      sample=engine.wav
      min=500   ;50
      max=10000
      natural=5000   ;4000
    }
  }
  gearwhine
  {
    ; Volume determination
    volume=0.1   ; range 0-1
    volume_scale=1
    ;volume_offset=0
    ; Pitch input is shaft rotational velocity in radians/sec
    pitch_scale=0.9
    pitch_offset=1
    ; Acceleration; outside of the car
    smp0
    {
      ; All engine samples depend on engine RPM, this one on car velocity S/B RPM
      sample=gearwhine.wav
      min=0
      max=9999
      natural=2
    }
  }
  wind
  {
    ; Volume determination
    volume=0.1   ; range 0-1
    volume_scale=1
    ; volume_offset=0
    ; Pitch determination
    pitch_scale=0.01
    pitch_offset=0
    smp0
    {
      sample=wind.wav
      ; Speeds in m/s
      min=0
      max=9999
      natural=10
    }
  }
}
;----------------------------------------------------------------------------
; Cameras
;----------------------------------------------------------------------------
camera0
{
  offset
  {
    x=0.029688
    y=-0.154162
    z=-6.870018
  }
  angle
  {
    x=11.694407
    y=179.952771
    z=0.000000
  }
  name=behind
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
}
camera1
{
  offset
  {
    x=0.000
    y=-1
    z=-7.00
  }
  angle
  {
    x=0.000
    y=-180.000
    z=0.000000
  }
  name=follow
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=90
}
camera2
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=-0.375
    y=-0.55
    z=-0.949000
  }
  angle
  {
    x=-4.2
    y=-179
    z=0.000000
  }
  fov=65
  ; Type of model to use; 0=outside, 1=inside, 2=none
  model=1
  wheels=1
  name=wheels
}
camera3
{
  follow
  {
    pitch=
    yaw=1
    roll=
  }
  offset
  {
    x=0.221878
    y=0.508334
    z=-6.635028
  }
  angle
  {
    x=16.388876
    y=-56.944256
    z=1.302094
  }
  name=right
  fov=40
}
camera4
{
  offset
  {
    x=0.014061
    y=0.493751
    z=-5.585001
  }
  angle
  {
    x=18.055532
    y=728.819153
    z=0.260415
  }
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.198437
    y=0.864583
    z=-6.320009
  }
  angle
  {
    x=9.444325
    y=-268.750336
    z=0.086801
  }
  name=left
  fov=40
}
camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.037500
    y=0.489584
    z=-4.555015
  }
  angle
  {
    x=86.527802
    y=-308.854156
    z=11.718752
  }
  fov=60
}
camera7
{
  offset
  {
    x=-0.151565
    y=0.889580
    z=-7.395005
  }
  angle
  {
    x=25.083300
    y=-143.576736
    z=2.298599
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=35
}
camera8
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.000002
    y=-0.108743
    z=-6.10004
  }
  angle
  {
    x=4.944441
    y=-361.249451
    z=0.000000
  }
  fov=45
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=-0.275000
    y=-0.787084
    z=0.205000
  }
  angle
  {
    x=-6.0   ;5.5
    y=-175.0000
    z=-1.736111
  }
  ; Type of model to use; 0=outside, 1=inside, 2=none
  model=0
  wheels=1
  view=1
  name=inside driver
  fov=63
}
traction_control
{
  max_velocity_ratio=1.2
  min_velocity_ratio=1
  enable=0
}
abs
{
  max_velocity_ratio=1.1
  min_velocity_ratio=1
  enable=0
}
