
car
{
  name=Renault Midlum 300
  year=2006
  credits=Oiriginal Made Gta IV unlocked by TeddyMods (LFS) converted for racer made Racer Simulator Portugal
  comments=Magirus Camiva
  id=RenaultMidlum300
  version=090b
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=3.041
    length=5.574
    offset_z=0
    intensity_dark=0.1
    intensity_light=0.1
  }
  cg
  {
    x=0
    y=0.13
    z=0
  }
  ff_factor=1.0
}
graphics
{
  shadow
  {
    model
    {
      file=myshadow.dof
      use_shaders=0
    }
    intensity=0.3
  }
}
audio
{
  skid
  {
    sample=
  }
  horn
  {
    sample=horn.wav
  }
  accelerate_out
  {
    smp0
    {
      sample=hi.wav
      volume=1
      min=2400
      max=10000
      attack=500
      natural=5700
    }
    smp1
    {
      sample=idle.wav
      volume=0.7
      min=0
      max=650
      attack=150
      decay=300
      natural=600
    }
    smp2
    {
      sample=mid.wav
      volume=0.8
      min=1400
      max=2000
      attack=300
      decay=500
      natural=4000
    }
    smp3
    {
      sample=lo.wav
      volume=0.7
      min=600
      max=1200
      attack=300
      decay=500
      natural=3000
    }
    smp4
    {
      sample=oddwhine.wav
      volume=0.5
      min=100
      max=1600
      decay=1800
      natural=900
    }
  }
}
body
{
  mass=7660
  inertia
  {
    x=35000
    y=15500
    z=4350
  }
  width=3.05
  height=3.493
  length=5.574
  manual_box=1
  model
  {
    file=Renault_midlum_300.dof
  }
  model_incar
  {
    file=Renault_midlum_300.dof

  } offset
    {
      x=0
      y=0
      z=0
    }
  }
}
steer
{
  x=0.70
  y=0.817
  z=2.900
  xa=45
  lock=1100
  linearity=1.0
  model
  {
   file=volante.dof 
  }
}
engine
{
  mass=0
  max_rpm=2500
  idle_rpm=600
  curve_torque=torque.crv
  
  ;max_torque=0.85
  max_torque=0.425

  torque_reaction=0.5
  ;
  autoclutch_rpm=700
  starter=1
  starter_torque=100
  stall_rpm=400
  start_rpm=1000
  start_stalled=0
  ;
  shifting
  {
    automatic=0
    shift_up_rpm=2500
    shift_down_rpm=1000
    time_to_declutch=100
    time_to_clutch=100
    time_in_neutral=0
  }
  inertia
  {
    engine=0.6
    
    ;obsolete values
    final_drive=0.12
  }
  braking_coeff=1.50
  friction=0
  ;
  sample=engine.wav
  sample_rpm=8000

}
gearbox
{
  gears=9
  gear0
  {
    ratio=-10.10
    inertia=0.15
    engine_map=1.0
  }
  gear1
  {
    ratio=9.57
    inertia=0.12
    engine_map=1.0
  }
  gear2
  {
    ratio=6.64
    inertia=0.11
    engine_map=1.0
  }
  gear3
  {
    ratio=4.38
    inertia=0.09
    engine_map=1.0
  }
  gear4
  {
    ratio=3.22
    inertia=0.07
    engine_map=1.0
  }
  gear5
  {
    ratio=2.19
    inertia=0.05
    engine_map=1.0
  }
  gear6
  {
    ratio=1.52
    inertia=0.05
    engine_map=1.0
  }
  gear7
  {
    ratio=1.00
    inertia=0.05
    engine_map=1.0
  }
  gear8
  {
    ratio=0.74
    inertia=0.05
    engine_map=1.0
  }
}
clutch
{
  max_torque=1000
}
handbrakes
{
  wheels=23
}
differential
{
  ratio=6.94
  inertia=0.12

  ;Locking Diff
  type=1
  locking_coeff=100

  ;Drive wheels
  output0=0
  output1=1
}
traction_control
{
  enable=0
  max_velocity_ratio=1.05
  min_velocity_ratio=1.0
}
abs
{
  enable=0
  max_velocity_ratio=1.05
  min_velocity_ratio=1.0
}
aero
{
  body
  {
    center=0 -0.10 -0.20
    cx=0.45
    area=10.622213
  }
}
antirollbar
{
  count=0
  arb0
  {
    susp_left=0
    susp_right=1
    k=0
  }
}
susp_front
{
  z=2.1350
  y=-0.18
  maxlen=3
  minlen=-3
  restlen=0.49
  k=70000
  bump_rate=13000
  rebound_rate=29000
  bump_fonction=0
  rebound_fonction=0
  anti_pitch=0
  roll_center
  {
    x=0
    y=-0.4
    z=0
  }
}
susp_rear
{
  z=-1.7621
  y=-0.35
  maxlen=3
  minlen=-3
  restlen=0.44
  k=60000
  bump_rate=5400
  rebound_rate=18000
  bump_fonction=0
  rebound_fonction=0
  anti_pitch=0
  roll_center
  {
    x=0
    y=-0.3
    z=0
  }
}
susp0~susp_front
{
  x=1.265
}
susp1~susp_front
{
  x=-1.265
}
susp2~susp_rear
{
  x=1.265
}
susp3~susp_rear
{
  x=-1.265
}
;
; Wheels/tires
;
tire_model
{
  ; SAE 950311 low-speed tire implementation
  ; Relaxation length laterally (in m)
  relaxation_length_lat=0.91
  ; Relaxation length longitudinally (in m)
  relaxation_length_long=.091
  ; Damping lat/long speed (in m/s, same for longitudinal and lateral)
  damping_speed=0.15
  ; Strength of damping; too little and the car keeps vibrating (low freq.)
  damping_coefficient_lat=35
  damping_coefficient_long=1
}
pacejka
{
  ; Lateral force
  a0=1.5
  a1=-10
  a2=1300
  a3=30000
  a4=200
  a5=0.05
  a6=-0.2
  a7=-1
  a8=0
  a9=0
  a10=0
  a111=0
  a112=0 
  a12=0
  a13=0
  ; Longitudinal force
  b0=1.6
  b1=-20
  b2=1300
  b3=1
  b4=100
  b5=0
  b6=0
  b7=0
  b8=0
  b9=0.1
  b10=0
  b11=0
  b12=0
  ; Aligning moment
  c0=3
  c1=-1
  c2=1
  c3=-1
  c4=-3.6
  c5=0.2260
  c6=0.0004
  c7=0.22
  c8=-2.31
  c9=0
  c10=0
  c11=-0
  c12=-0
  c13=0
  c14=-0
  c15=-0
  c16=0
  c17=0
  optimal_slipratio=0.2
  optimal_slipangle=0.2
}
wheel_common
{
  x=0
  y=0
  z=0
  mass=52.5
  inertia=2.3
  width=.3
  camber=0
  inboard_brakes=0
  pacejka~pacejka
}
wheel0~wheel_common
{
  steering=1
  lock=60
  toe=0
  radius=.5
  rolling_coeff=0.015
  max_braking=6000
  braking_factor=1
  max_handbrake_torque=0
  friction_road=1.7
  tire_rate=600000
  skidding
  {
    long_start=0.2
    long_max=1.0
    long_start_n=0.2
    long_max_n=1.0
    lat_start=0.2
    lat_max=2.0
  }
  model
  {
    file=right.dof
  }
  }
}
wheel1~wheel_common
{
  steering=1
  lock=60
  toe=0
  radius=.5
  friction_road=1.7
  rolling_coeff=0.015
  tire_rate=600000
  max_braking=6000
  braking_factor=1
  max_handbrake_torque=0
  skidding
  {
    long_start=0.2
    long_max=1.0
    long_start_n=0.2
    long_max_n=1.0
    lat_start=0.2
    lat_max=2.0
  }
  model
  {
    file=left.dof
  }
}
wheel2~wheel_common
{
  steering=0
  toe=0
  radius=0.5
  rolling_coeff=0.015
  friction_road=1.7
  tire_rate=600000
  max_braking=1400
  braking_factor=1
  max_handbrake_torque=10800
  skidding
  {
    long_start=0.2
    long_max=1.0
    long_start_n=0.2
    long_max_n=1.0
    lat_start=0.2
    lat_max=2.0
  }
  model
  {
    file=right.dof
  }
}
wheel3~wheel_common
{
  steering=0
  toe=0
  radius=0.5
  rolling_coeff=0.015
  friction_road=1.7
  tire_rate=600000
  max_braking=1400
  braking_factor=1
  max_handbrake_torque=10800
  skidding
  {
    long_start=0.2
    long_max=1.0
    long_start_n=0.2
    long_max_n=1.0
    lat_start=0.2
    lat_max=2.0
  }
  model
  {
    file=left.dof
  }
}
 camera0
{
  name=Driver
  fov=62
  model=0
  view=0
  wheels=0
  offset
  {
    x=0.78
  y=1.25
  z=2.2
  }
  offset_to
  {
    x=0.38
    y=-0.2
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=65
  model=0
  wheels=0
  view=1
   offset
  {
   x=0.78
  y=1.25
  z=2.2
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=55
  model=0
  wheels=0
  view=1
  offset
  {x=0.78
  y=1.25
  z=2.2
  }
  offset_to
  {
    x=-10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
   name=Driver, left
  fov=65
  model=0
  wheels=0
  view=1
   offset
  {
   x=0.00
  y=1.25
  z=2.2
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  offset
  {
    x=0
    y=0.5
    z=-15.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.464583
    z=-16.320009
  }
  angle
  {
    x=9.444325
    y=-268.750336
    z=0.086801
  }
  name=High
  fov=40
}
camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=0
    y=0.489584
    z=-34.555015
  }
  angle
  {
    x=86.527802
    y=-308.854156
    z=11.718752
  }
  fov=60
}
camera7
{
  offset
  {
    x=-1.751565
    y=-1.489580
    z=-0.495005
  }
  angle
  {
    x=0.083300
    y=-180.576736
    z=0.298599
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=35
}
camera8
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-4
    z=-7
  }
  angle
  {
    x=2
    y=180
    z=0
  }
  fov=75
name=BUS MIDDLE
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-1.2
    z=1.1
  }
  angle
  {
    x=0
    y=0
    z=0.000000
  }
  fov=65
  ; Type of model to use; 0=outside, 1=inside, 2=none
  model=0
  wheels=0
  view=2
  name=REAR BUMPER VIEW
}

}