car
{
  name=Renault Scénic
  year=2007
  credits=Model by Skybh, baked texture by foxo, help from Damian A. and Cosmo°
  id=renaultscenic
  version=053b6
  comments=1.5dCi 106ch boite 6 vitesses
  wheels=4
  ff_factor=0.8
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.1
    length=4.46
  }
  cg
  {
    x=0
    y=0.298	;63 cm (~39%)
    z=0.25	;59/41% (61/39% empty)
  }
}
graphics
{
  shadow
  {
    model
    {
      file=ombre_hp.dof
      use_shaders=0
    }
  }
  generic
  {
    model0
    {
      file=bvm6_2.dof
    }
    model1
    {
      file=conducteur.dof
    }
  }
}
body
{
  mass=1446	;+120 kg unsprung = 1245
		;1175 kg curb weight +70 kg driver =1245 kg total
  inertia
  {
      x=2000
      y=2200
      z=460
  }
  width=1.805	;1805 mm de largeur
  height=1.6205	;16205 mm de hauteur
  length=4.263	;4263 mm de longeur
  manual_box=0
  model
  {
    file=scenic.dof
  }
  model_incar
  {
     file=scenic.dof
  }
  model_braking_l
  {
    file=freins.dof
  }
  model_lightroad_l
  {
    file=phares_int.dof
  }
  model_light_l
  {
    file=phares.dof
  }
}
steer
{
  x=0.38
  y=0.63
  z=0.58
  xa=26
  lock=1152		;3.2 turns lock-to-lock, 10.50 m turning circle
  linearity=0.8	        
  model
  {
    file=volant.dof
  }
}
engine
{
  mass=0
  idle_rpm=800
  curve_torque=couple.crv
  max_torque=0.87
  torque_reaction=1
  autoclutch_rpm=1400
  starter=0
  starter_torque=200
  stall_rpm=400
  start_rpm=780
  start_stalled=0
  shifting
  {
    automatic=0
    shift_up_rpm=2750
    shift_down_rpm=1500
    time_to_declutch=325
    time_in_neutral=185
    time_to_clutch=325
    time_to_declutch_down=325
    time_in_neutral_down=185
    time_to_clutch_down=325
  }
  inertia
  {
    engine=0.31
  }
  braking_coeff=2.5
}

clutch
{
  max_torque=265
}

gearbox
{
  gears=7
  gear0
  {
    ratio=-3.55
    inertia=0.2
  }
  gear1
  {
    ratio=3.9761  ;43,25km/h a 6250tours
    inertia=0.02
  }
  gear2
  {
    ratio=2.078 ;78,6875km/h a 6250tours
    inertia=0.04
  }
  gear3
  {
    ratio=1.4071 ;115,6875km/h a 6250tours
    inertia=0.06
  }
  gear4
  {
    ratio=1.034  ;156,5625km/h a 6250tours
    inertia=0.08
  }
  gear5
  {
    ratio=0.81  ;196,4375km/h a 6250tours
    inertia=0.2
  }
  gear6
  {
    ratio=0.682  ;196,4375km/h a 6250tours
    inertia=0.2
  }
}

handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.94
  inertia=0.29
  locking_coeff=0
  output0=0
  output1=1
}
abs
{
  enable=1
  max_velocity_ratio=1.11
  min_velocity_ratio=1.09
  min_velocity=3
}
aero
{
   body
   {
      center=0 0 0
      cx=0.33
      area=2.22		;measured from model
   }
   wings=2
   wing0
   {
      name=Front axle lift
      span=1
      cord=1
      coeff_drag=0
      coeff_down=-5
      center=0 0 1.3125
      angle=0
      angle_offset=1
   }
   wing1
   {
      name=Rear axle lift
      span=1
      cord=1
      coeff_drag=0
      coeff_down=-5
      center=0 0 -1.3125
      angle=0
      angle_offset=1
   }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=15000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=12000
  }
}
susp_front
{
  y=0.06
  z=1.35		;2685 mm wheelbase
  restlen=0.25
  minlen=0.0
  maxlen=0.26		
  k=22000		;1.30 Hz (1125 kg sprung weight, 59/41)
  bump_rate=1800	;
  bump_function=0
  rebound_rate=3600	;
  rebound_function=0
  toe_change_per_steering=5
  camber_change_per_steering=-0.2
  camber_change_m=-0.02
  anti_pitch=0.4
  roll_center
  {
    x=0
    y=-0.23		;~12 cm
    z=0
  }
}
susp_rear
{
  y=0.1
  z=-1.35
  restlen=0.25
  minlen=0.0
  maxlen=0.32
  k=23500		;1.49 Hz
  bump_rate=1200	;
  bump_function=0
  rebound_rate=3200	;
  rebound_function=0
  camber_change_per_m=0.27
  anti_pitch=0.2
  roll_center
  {
    x=0
    y=-0.1		;~20 cm
    z=0
  }
}
susp0~susp_front
{
  x=0.773	;1518 mm front track
}
susp1~susp_front
{
  x=-0.773
}
susp2~susp_rear
{
  x=0.777	;1514 mm rear track
}
susp3~susp_rear
{
  x=-0.777
}

pacejka
{
  a0=1.4	
  a1=-46	;ps (from pacejkaseries.txt, 205/55 R16)
  a2=1350
  a3=2000
  a4=11
  a5=0.015
  a6=-0.25
  a7=1.0
  a8=-0.03
  a9=-0.001
  a10=-0.15
  a111=-4.32	;ps
  a112=-0.29
  a12=17.8
  a13=-2.4

  b0=1.5
  b1=-92	;ps doubled
  b2=1500
  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.12
  optimal_slipangle=0.22
}


wheel_front
{
  x=0		;205/55 R16
  y=0
  z=0
  steering=1
  powered=1
  lock=72
  camber=-0.4
  mass=25
  ackerman=1.225
  inertia=1.871707
  width=0.195
  radius=0.33645 ;flanc de 65%
  max_braking=5250
  braking_factor=0.4
  tire_rate=175000 ;2.5bar
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  x=0
  y=0
  z=0
  steering=0
  powered=0
  mass=25
  camber=-0.02
  inertia=1.871707
  width=0.195
  radius=0.33645 ;flanc de 65%
  max_braking=2000 
  max_handbrake_torque=1750 ;frein a main couplé a l'ABS
  braking_factor=0.35
  tire_rate=175000
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  toe=-0.1
  camber=0
  model
  {
    file=rg.dof
  }
  model2
  {
    file=rg_0.dof
    velocity=40
  }
  model_brake
  {
    file=
  }
}
wheel1~wheel_front
{
  toe=0.1
  camber=0
  model
  {
    file=rd.dof    
  }
  model2
  {
    file=rd_0.dof
    velocity=40
  }
  model_brake
  {
    file=
  }
}
wheel2~wheel_rear
{
  toe=-0.1
  camber=0
  model
  {
    file=rg.dof    
  }
  model2
  {
    file=rg_0.dof
    velocity=40
  }
  model_brake
  {
    file=
  }
}

wheel3~wheel_rear
{
  toe=0.1
  camber=0
  model
  {
    file=rd.dof    
  }
  model2
  {
    file=rd_0.dof
    velocity=40
  }
  model_brake
  {
    file=
  }
}

camera0
{
  name=Driver
  fov=63
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.4102
    y=0.9173
    z=0.1106
  }
  offset_to
  {
    x=0.37
    y=-0.2
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=63
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.4102
    y=0.9173
    z=0.1106
  }
  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=63
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.4102
    y=0.9173
    z=0.1106
  }
  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=0
  wheels=0
  view=0
  offset
  {
    x=0.4102
    y=0.9173
    z=0.1106
  }
  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
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.6
    z=-4.5
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  angle
  {
    x=14
    y=180
    z=0
  }
}
camera5
{
  name=Free exterior
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-7
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=270
    z=0
  }
}
camera6
{
  name=Chase rear
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-7
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=0
    z=0
  }
}
camera7
{
	name=Side
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=1.2
		y=-0.3
		z=-2.6
	}
	angle
	{
		x=0
		y=-170
		z=0
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}

}
camera8
{
	name=Bumper
	fov=60
	model=2
	wheels=0
	view=1
	offset
	{
		x=0
		y=-0.70
		z=2.4
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
camera9
{
	name=Bonnet
	fov=45
	model=0
	wheels=0
	view=0
	offset
	{
		x=0
		y=-0.5
		z=-6.6
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=32
		z=0
	}
}

audio
{
  skid
  {
    sample=skid.wav
  }
  horn
  {
    sample=horn.wav
  }
  shiftout
  {
    sample=shiftout.wav
  }
  shiftin
  {
    sample=shiftin.wav
  }
  accelerate_out
  {
    smp0
    {
      sample=800.wav
      volume=1.6
      min=1
      max=1000
    attack=2000
    decay=200
      natural=800
    }
    smp1
    {
      sample=4000.wav
      volume=1.8
      min=3750
      max=6500
    attack=500
    decay=250
      natural=3500
    }
    smp2
    {
      sample=3000dCi.wma
      volume=1.6
      min=1000
      max=3250
      attack=100
      decay=570
      natural=3000
    }
   smp3
   {
    volume=0.4
    sample=inject.wav
    min=1100
    max=4400
    natural=8500
    attack=5
    decay=400
   }
  }
  decelerate_out
  {
    smp0
    {
      sample=800.wav
      volume=1.6
      min=1
      max=1000
    attack=2000
    decay=200
      natural=800
    }
    smp1
    {
      sample=4000.wav
      volume=1.8
      min=3750
      max=6500
    attack=500
    decay=250
      natural=3200
    }
    smp2
    {
      sample=3000dCi.wma
      volume=1.6
      min=1000
      max=3250
      attack=100
      decay=570
      natural=2800
    }
  }
  accelerate_in
  {
    smp0
    {
      sample=800_int.wav
      volume=1.2
      min=1
      max=1000
    attack=2000
    decay=200
      natural=800
    }
    smp1
    {
      sample=4000_int.wav
      volume=0.62
      min=3750
      max=6500
    attack=500
    decay=250
      natural=3500
    }
    smp2
    {
      sample=3000dCi_int.wma
      volume=0.5
      min=1000
      max=3250
      attack=100
      decay=570
      natural=3000
    }
   smp3
   {
    volume=0.1
    sample=inject.wav
    min=1100
    max=4400
    natural=8500
    attack=5
    decay=400
   }
  }
  decelerate_in
  {
    smp0
    {
      sample=800_int.wav
      volume=1.2
      min=1
      max=1000
    attack=2000
    decay=200
      natural=800
    }
    smp1
    {
      sample=4000_int.wav
      volume=0.62
      min=3750
      max=6500
    attack=500
    decay=250
      natural=3200
    }
    smp2
    {
      sample=3000dCi_int.wma
      volume=0.5
      min=1000
      max=3250
      attack=100
      decay=570
      natural=2800
    }
   smp3
   {
    volume=0.1
    sample=inject.wav
    min=1100
    max=4400
    natural=8500
    attack=5
    decay=400
   }
  }
  wind
  {
    smp0
    {
      sample=wind.wav
      volume=2
      min=0
      max=999
      decay=925.2
      natural=40
      pitch_offset=1
      pitch_scale=0.1
    }
    smp1
    {
      sample=wind.wav
      volume=0;0.75
      min=25
      max=38
      decay=32.2
      natural=40
    }
    smp2
    {
      sample=wind.wav
      volume=0;1.5
      min=38
      max=48
      decay=48.2
      natural=40
    }
    smp3
    {
      sample=wind.wav
      volume=0;3
      min=48
      max=65
      decay=65.2
      natural=40
    }
  }
}