car
{
  name=Renault Clio III
  year=2009
  credits=Model by Lucas and Skybh, help from Cosmo°
  id=renaultclio
  version=090
  comments=1.2 TCe 100
  wheels=4
  ff_factor=0.25
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=ombre.tga
    width=3
    length=6
	intensity_dark=0.7
    intensity_light=0.3
  }
  cg
  {
    x=0
    y=-0.15 
	;0.268	;568 cm (~38,5%)
    z=0.292	
	;61,78% devant (661kg)
  }
  ff_factor=0.80
  ff_gain=1.00
  ff_damping=0
  ff_friction=0
  ff_inertia=0
  ff_stickfriction=0.50
}
abs
{
  enable=0
  braking_factor=0.95
  max_velocity_ratio=1.15
  min_velocity_ratio=1.14
  min_velocity=5
}
traction_control
{
  enable=0
  max_velocity_ratio=1.10
  min_velocity_ratio=1.06
  min_velocity=0
}
ai
{
  cg_factor=0
  grip_factor=1
  rc_factor=0
  spring_lat_factor=0
  spring_dir_factor=0
  max_velocity=50
  oversteer_correct=9999
  understeer_correct=9999
}
body
{
  mass=1007
  ;masse à vide en ordre de marche : 1062kg
  ;driver : 75kg
  ;masse = 1137kg
  ;masse : 1062 + 75 - 130 (roues) = 1007
  inertia
  {
    x=1700
    y=1400
    z=452
  }
  width=1.707	;1707 mm de largeur
  height=1.496	;1496 mm de hauteur
  length=3.986	;3986 mm de longeur
  manual_box=0
  model
  {
    file=clio.dof
	offset
    {
      x=0
      y=0
      z=0
    }
  }
  model_incar
  {
    file=clio.dof
  }
  model_braking_l
  {
    file=stop.dof
	offset
	{
		z=-0.001
	}
  }
  model_lightroad_l
  {
    file=lights.dof
	offset
	{
		z=-0.001
	}
  }
  model_light_l
  {
    ;file=phares.dof
  }
  length=4.03
  width=1.75
  height=1.49
  manual_box=1
  box_offset=0 0 0
}
steer
{
  x=0.3550
  y=0.1300
  z=0.5070
  xa=28.5
  lock=1062
  ;2.95 turns lock-to-lock, 10.70 m turning circle
  linearity=0.65       
  model
  {
    file=volant.dof
  }
}
engine
{
  autoclutch_rpm=0
  autoclutch=0
  braking_coeff=2.5
  braking_torque_curve=courbes/engine_braking_d4ft.crv
  ;(0.200rpm(displacement/max_torque))²
  curve_torque=courbes/d4f_101.crv
  cylinders=4
  cylinder_angle=0
  enable_stall=1
  friction=0
  idle_rpm=650
  idle_method=1
  idle_throttle=0
  inertia
  {
    engine=0.08
  }
  jitter
  {
    amplitude=0
    frequency_min=0
    frequency_var=5
    time_min=0
    time_var=500
  }
  launch_control=0
  mass=0
  max_rpm=6200
  max_torque=1
  min_warn_rpm=5500
  max_warn_rpm=6000
  rev_limiter_time=100
  rumble_amplitude=1000
  rumble_maxrpm=5115
  shifting
  {
    automatic=0
    blip_throttle=0
    cut_throttle=0
    fast=1
    shift_up_rpm=5700
    shift_down_rpm=1300
    time_to_declutch=50
    time_in_neutral=25
    time_to_clutch=50
    time_to_declutch_down=50
    time_in_neutral_down=25
    time_to_clutch_down=50
    cut_ignition=0
  }
  size=0.0
  speedlimiter
  {
    time=2
    velocity=22.222
  }
  starter=0
  starter_torque=200
  stall_rpm=500
  start_rpm=1100
  start_stalled=1
  torque_reaction=0
  x=0.0
  y=0.0
  z=0.0
}
fuel
{
  type=1
  max=55.0
  bsfc=3.9e-5
}
clutch
{
  max_torque=160
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.545
    inertia=0.2
	engine_map=1.0
	warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
  gear1
  {
    ratio=3.727
    inertia=0.02
	engine_map=1.0
	warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
  gear2
  {
    ratio=2.047
    inertia=0.04
	engine_map=1.0
	warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
  gear3
  {
    ratio=1.392
    inertia=0.06
	engine_map=1.0
	warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
  gear4
  {
    ratio=1.029
    inertia=0.08
	engine_map=1.0
	warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
  gear5
  {
    ratio=0.820
    inertia=0.10
	engine_map=1.0
	warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
}
handbrakes
{
  wheels=23
}
differentials
{
  count=1
  diff0
  {
    type=0
    ratio=3.867
    inertia=0.001
    friction=45
    locking_coeff=0
    output0=0
    output1=1
  }
}
abs
{
  enable=0
  max_velocity_ratio=1.10
  min_velocity_ratio=1.075
  min_velocity=8
}
aero
{
  body
  {
    center=0 -0.15 0.327
    cx=0.34
    area=2.11	;measured from model
  }
  wings=2
  wing0
  {
    name=Front axle lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-1
    center=0 0 1.3125
    angle=0
    angle_offset=1
  }
  wing1
  {
    name=Rear axle lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-1
    center=0 0 -1.3125
    angle=0
    angle_offset=1
  }
  draft
  {
    scale_lat_rear=0.4
    scale_lon_rear=1
    scale_lat_front=0.08
    scale_lon_front=0.2
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=19500
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=5200
  }
}
susp_front
{
  ;wheelbase : 2575mm
  ;front track : 1458mm (185/60 R15) / 1472mm (165/65 R15 and 195/50 R16)
  ;rear track : 1460mm (185/60 R15) / 1471mm (165/65 R15) / 1450 (195/50 R16)
  y=-0.50
  z=1.275
  restlen=0.070
  minlen=-0.22
  maxlen=-0.02
  warplen=0.00  
  k=22000
  damper_curve=courbes/suspension_damper_front.crv
  bumpstop_len=0.050
  bumpstop_k=164000
  bumpstop_damping=3700
  reboundstop_len=0.010
  reboundstop_k=50000
  reboundstop_damping=1000
  anti_pitch=0.4
  roll_center
  {
    x=0
    y=-0.59		;~12 cm
    z=0
  }
  susp_y_change_per_rad=0
}
susp_rear
{
  y=-0.61
  z=-1.30
  restlen=-0.05
  minlen=-0.28
  maxlen=-0.07
  warplen=0.00
  k=19500
  damper_curve=courbes/suspension_damper_rear.crv
  bumpstop_len=0.050
  bumpstop_k=164000
  bumpstop_damping=3700
  reboundstop_len=0.010
  reboundstop_k=50000
  reboundstop_damping=1000
  anti_pitch=0.2
  roll_center
  {
    x=0
    y=-0.572		;~20 cm
    z=0
  }
  susp_y_change_per_rad=0
}
susp0~susp_front
{
  x=0.729
  camber_change_steering=0.04
  camber_change_per_m=0
  toe_change_per_m=0
  caster_angle=0.078
  caster_offset=-0.060
  kingpin_angle=-0.203
  kingpin_offset=0.015
  model
  {
    file=
  }
}
susp1~susp_front
{
  x=-0.729
  camber_change_steering=-0.04
  camber_change_per_m=0
  toe_change_per_m=0
  caster_angle=0.078
  caster_offset=-0.060
  kingpin_angle=-0.203
  kingpin_offset=-0.015
  model
  {
    file=
  }
}
susp2~susp_rear
{
  x=0.73
  camber_change_steering=0
  camber_change_per_m=0
  toe_change_per_m=0
  caster_angle=0
  caster_offset=0
  kingpin_angle=0
  kingpin_offset=0
  model
  {
    file=
  }
}
susp3~susp_rear
{
  x=-0.73
  camber_change_steering=0
  camber_change_per_m=0
  toe_change_per_m=0
  caster_angle=0
  caster_offset=0
  kingpin_angle=0
  kingpin_offset=0
  model
  {
    file=
  }
}
pacejka
{
  ; Pacejka constants (Pacejka96 model)
  model=0
  ; Lateral coefficients
  a0=1.15000
  a1=-42.00000
  a2=1150.00000
  a3=4000.00000
  a4=6.95000
  a5=0.01500
  a6=-0.23000
  a7=1.00000
  a8=-0.03000
  a9=-0.00100
  a10=-0.15000
  a111=-4.32000
  a112=-0.29000
  a12=17.80000
  a13=-2.40000
  ; Longitudinal coefficients
  b0=1.21000
  b1=-46.00000
  b2=1150.00000
  b3=23.30000
  b4=200.00000
  b5=0.08000
  b6=0.00000
  b7=0.05000
  b8=-0.02400
  b9=0.01500
  b10=0.25000
  ; Aligning moment coefficients
  c0=2.30000
  c1=-3.80000
  c2=-3.14000
  c3=-1.00000
  c4=-7.20000
  c5=0.00000
  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.04000
  c15=-1.02900
  c16=0.27000
  c17=-1.10000
  ; Statistical data (SR, SA in radians)
  optimal_slipratio=0.22069
  optimal_slipangle=0.15407
  fz_min=0
  fz_max=1e6
  slipangle_min=-99
  slipangle_max=99
  slipratio_min=-99
  slipratio_max=99
  camber_min=-99
  camber_max=99
  lyka=1.0
  lxal=1.0
}
wheel_front
{
  x=0		;185/60 R15
  y=0
  z=0
  steering=1
  reverse_steering=0
  lock=72.340
  mass=45
  ackerman=1.135
  inertia=0.7
  rolling_coeff=0.009
  friction_road=1
  slices=20
  width=0.185
  radius=0.3015 ;flanc de 60%
  max_braking=3500
  max_handbrake_torque=0
  braking_factor=0.65
  inboard_brakes=0
  brake_dissipation=0.0005
  brake_heating=0.003
  brake_max_temp=300
  tire_rate=195000 ;2.5bar
  tire_damping=2500
  tire_damping_lowspeed=250
  tire_damping_threshold=5
  load_filter_frequency=0
  surface_height_filter_damping=0.9
  fz_filter_frequency=70
  fz2_filter_frequency=
  fy_filter_frequency=70
  fx_filter_frequency=0
  noise_filter_damping=0
  noise_filter_frequency=0
  pacejka~pacejka
  {
  }
  tire_model
  {
    damping_coefficient_lat=0.7
    damping_coefficient_long=0.7
    damping_predict_lat=0
    damping_predict_long=0
    damping_speed=0.15
    relaxation_length_lat=0.5
    relaxation_length_long=0.05
  }
  contact_patch_width=0.1
  contact_patch_length=0.1
  friction_circle_method=10
  slide_force_scale=1.0
  ;noronha
  ;{
  ;enable=0
  ;kt=300000
  ;ks=100000
  ;relaxation_t=0
  ;relaxation_s=0
  ;}
}
wheel_rear
{
  x=0
  y=0
  z=0
  steering=0
  ackerman=0.00
  reverse_steering=0
  powered=0
  mass=30
  inertia=0.7
  rolling_coeff=0.009
  friction_road=1
  slices=20
  width=0.185
  radius=0.3015 ;flanc de 50%
  max_braking=1500 
  max_handbrake_torque=3150 ;frein a main couplé a l'ABS
  braking_factor=0.35
  inboard_brakes=0
  brake_dissipation=0.0002
  brake_heating=0.006
  brake_max_temp=300
  tire_rate=192000
  tire_damping=2500
  tire_damping_lowspeed=250
  tire_damping_threshold=5
  load_filter_frequency=0
  surface_height_filter_damping=0.9
  fz_filter_frequency=70
  fz2_filter_frequency=
  fy_filter_frequency=70
  fx_filter_frequency=0
  noise_filter_damping=0
  noise_filter_frequency=0
  pacejka~pacejka
  {
  }
  tire_model
  {
    damping_coefficient_lat=0.7
    damping_coefficient_long=0.7
    damping_predict_lat=0
    damping_predict_long=0
    damping_speed=0.15
    relaxation_length_lat=0.5
    relaxation_length_long=0.05
  }
  contact_patch_width=0.1
  contact_patch_length=0.1
  friction_circle_method=10
  slide_force_scale=1.0
  ;noronha
  ;{
  ;enable=0
  ;kt=300000
  ;ks=100000
  ;relaxation_t=0
  ;relaxation_s=0
  ;}
}
wheel0~wheel_front
{
  toe=0
  camber=0
  model
  {
    file=rg.dof
  }
  model_brake
  {
    file=
  }
}
wheel1~wheel_front
{
  toe=0
  camber=0
  model
  {
    file=rd.dof    
  }
  model_brake
  {
    file=
  }
}
wheel2~wheel_rear
{
  toe=-0.25
  camber=-1.16
  model
  {
    file=rg.dof    
  }
  model_brake
  {
    file=
  }
}
wheel3~wheel_rear
{
  toe=0.25
  camber=-1.16
  model
  {
    file=rd.dof    
  }
  model_brake
  {
    file=
  }
}
animation
{
  flash_lights=0
}
damage
{
  chassis
  {
    damage=0
    damage_engine_factor=0.5
    damage_engine_from=1
    damage_engine_to=0
    damage_engine_time=5000
    damage_factor=0
    fade=0
    speed_factor=5e-5
    force_factor=2e-8
    texture_damage
    {
      enable=1
      dent_factor=1
      dent_linearity=2
      radius_factor=15
      radius_min=1
      ray_lod=0
      uv_randomness=0.2f
    }
  }
}
flares
{
  flare0
  {
    pos=-0.66 0 1.70
    color=10 10 9
    normal=0 0 1
    z_offset=-5000
    size_factor=1
    billboard=1
  }
  flare1
  {
    pos=0.66 0 1.70
    color=10 10 9
    normal=0 0 1
    z_offset=-5000
    size_factor=1
    billboard=1
  }
  flare2
  {
    pos=-0.66 0.15 -1.65
    color=15 5 5
    normal=0 0 -1
    z_offset=-5000
    size_factor=1
    billboard=1
  }
  flare3
  {
    pos=0.66 0.15 -1.65
    color=15 5 5
    normal=0 0 -1
    z_offset=-5000
    size_factor=1
    billboard=1
  }
  flare4
  {
    rule=brake
    pos=0.66 0.15 -1.65
    color=15 8 5
    normal=0 0 -1
    z_offset=-5000
    size_factor=1
    billboard=1
  }
  flare5
  {
    rule=brake
    pos=-0.66 0.15 -1.65
    color=15 8 5
    normal=0 0 -1
    z_offset=-5000
    size_factor=1
    billboard=1
  }
}
lights
{
  light0
  {
    texture=textures/light.tga
    fov=55.0
    aspect=5.0
    z=1
    far=120
    pitch=0
    color=3 3 3.75
  }
}
graphics
{
  shadow
  {
    model
    {
      file=ombre_hp.dof
      use_shaders=0
    }
	intensity=0
  }
  generic
  {
    model0
    {
      file=f2.dof
    }
    model1
    {
      file=conducteur.dof
    }
    model2
    {
      file=poignes.dof
    }
    model3
    {
      file=e_g.dof
    }
    model4
    {
      file=panneaux.dof
    }
    model5
    {
      file=cde.dof
    }
    model6
    {
      file=chassis.dof
    }
    model7
    {
      file=interieur.dof
    }
    model8
    {
      file=tbd.dof
    }
	model9
    {
      file=sieges.dof
    }
	model10
    {
      file=bvm5.dof
    }
	model11
    {
      file=clim_auto.dof
    }
	model12
    {
      file=poste_2.dof
    }
	model13
    {
      file=retro.dof
    }
  }
}
camera0
{
  name=Driver
  fov=60
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.3411
    y=0.40
    z=-0.01
  }
  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.3411
    y=0.44
    z=-0.11
  }
  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.3411
    y=0.44
    z=-0.11
  }
  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.3411
    y=0.44
    z=-0.11
  }
  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=Vue arrière
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.1
    z=-5.15
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  angle
  {
    x=14
    y=180
    z=0
  }
}
camera5
{
  name=Vue laterale
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=-0.44
    y=-0.1
    z=-5
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=270
    z=0
  }
}
camera6
{
  name=Vue de l'avant
  fov=45
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.1
    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
  {
    ; Master volume for this set (0..1)
    volume=1.0
    smp0
    {
      sample=audio/TCe/snd_idle.wav
      min=50
      max=1200
      ; Sample's actual natural frequency
      natural=1000
      minvol=0.75
      maxvol=1
    }
    smp1
    {
      sample=audio/TCe/snd_idle.wav
      min=1000
      max=4001
      natural=2000
      minvol=.5
      maxvol=1
      volume_scale=0.98
    }
    smp2
    {
      sample=audio/TCe/snd_idle.wav
      min=4000
      max=12000
      natural=2000
      minvol=.5
      maxvol=1
      volume_scale=0.98
    }
    smp3
    {
      sample=audio/TCe/snd_whine.wav
      min=1
      max=4000
      natural=800
      minvol=0.02
      maxvol=0.05
      volume_scale=0.02
    }
  }
  accelerate_in
  {
    ; Master volume for this set (0..1)
    volume=1.0
    smp0
    {
      sample=audio/TCe/snd_idleint.wav
      min=50
      max=1200
      ; Sample's actual natural frequency
      natural=1000
      minvol=0.75
      maxvol=1
    }
    smp1
    {
      sample=audio/TCe/snd_idleint.wav
      min=1000
      max=4001
      natural=2000
      minvol=.5
      maxvol=1
      volume_scale=0.98
    }
    smp2
    {
      sample=audio/TCe/snd_idleint.wav
      min=4000
      max=12000
      natural=2000
      minvol=.5
      maxvol=1
      volume_scale=0.98
    }
    smp3
    {
      sample=audio/TCe/snd_whineint.wav
      min=1
      max=4000
      natural=800
      minvol=0.02
      maxvol=0.05
      volume_scale=0.02
    }
  }
  wind
  {
    smp0
    {
      sample=wind.wav
      volume=1
      min=36
      attack=14
      max=999
      decay=925.2
      natural=40
      pitch_offset=1
      pitch_scale=0.1
    }
  }
}