car
{
  name=Lancia 037 Stradale
  year=1984
  credits=Converted By Arouca21 from GTA V original model by Turn10 & forza studio. RWD, 2 liters, 16 valves, 250 hp.
  comments=Lancia "Volumex"compressor
  id=lancia037stradale
  version=090b
  wheels=4
  skid
  {
    sample=skid.wav
  }
   shadow
   {
      texture=SHADOW.tga
      width=0
      length=0
      offset=0
   }
  cg
  {
    x=0	
    y=-0.5
    z=0
  }
}
graphics
{
  	shadow
  	{
    		model
    		{
      			file=shadow.dof
			use_shaders=0
    		}
		intensity=0.2
  	}
	generic
	{
		model0
                {
                        file=capot.dof
                }
                model1
                {
                        file=choques_frente.dof
                }
                model2
                {
                        file=choques_tras.dof
                }
                model3
                {
                        file=cocpit.dof
                }
                model4
                {
                        file=mala.dof
                }
                model5
                {
                        file=porta_condutor.dof
                }
                model6
                {
                        file=porta_passageiro.dof
                }
                model7
                {
                        file=spoyler.dof
                }
                model8
                {
                        file=
                }
                model9
                {
                        file=

    		}
	}
}

body
{
  mass=850
  restitution_coeff=0.3
  inertia
  {
    x=1000;2003
    y=2600;2203
    z=1000;423
  }
  model
  {
    file=body.dof
  }
  model_incar
  {
   file=body.dof
 	offset
	{
           x=0
           y=0
           z=0
	}
  }
  width=1.94
  height=0.8
  length=4.67
  manual_box=1
}
steer
{
  x=0.29
  y=0.19
  z=0.42
  radius=10
  xa=15.9
  linearity=0.25
  lock=1080
  model
	{
		file=volante.dof
	}
}

;----------------------moteur, boite.

engine
{
  x=0
  y=0.2
  z=-1.2
  size=.25
  mass=80
  max_rpm=9000
  starter_torque=65
  idle_rpm=1400
  curve_torque=torque.crv
  max_torque=200
  shifting
  {
    automatic=0
    shift_up_rpm=7500
    shift_down_rpm=1800
    time_to_declutch=300
    time_to_clutch=300
  }
  inertia
  { 
    engine=0.1         ;0.1
    final_drive=0.5   ;0.12
  }
  braking_coeff=0.6
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-4.57
    inertia=0.05
  }
  gear1
  {
    ratio=4.95 
    inertia=0.13
  }
  gear2
  {
    ratio=2.82 
    inertia=0.09
  }
  gear3
  {
    ratio=2 
    inertia=0.07
  }
  gear4
  {
    ratio=1.61 
    inertia=0.05
  }
  gear5
  {
    ratio=1.4
    inertia=0.03
  }
   end_ratio=3.20 
}
differential
{
   type=1
   ratio=2.7
   inertia=0.02
   locking_coeff=200
   clutches=0
   clutch_factor=0
   power_angle=150
   coast_angle=150
   output0=2
   output1=3
}

;----------------------aero, embrayage, barres antiroulis, frein à main

aero
{
  body
  {
   center=0 -0.2 0
    cx=0.33
    area=1.85
  }
}
clutch
{
  max_torque=700
}

handbrakes
{
  wheels=01
}

antirollbar
{
  count=2
  arb0
  {
    susp_left=2
    susp_right=3
    k=10000
  }
  arb1
  {
    susp_left=0
    susp_right=1
    k=20000
  }
}

;----------------------suspensions

susp2
{
  x=-0.67
  y=0.29
  z=1.13
  restlen=.54
  minlen=.35
  maxlen=.6
  k=38000
  bump_rate=1500
  rebound_rate=3250
  roll_center
  {
    x=0
    y=-0.42
    z=0
  }
  radius=.04
  slices=5
  model
  {
    file=
    scale
    {
      x=0
      y=1
      z=1
    }
  }
}

susp3
{
  x=0.67
  y=0.29
  z=1.13
  restlen=.54
  minlen=.35
  maxlen=.6
  radius=.04
  slices=5
  k=38000
  bump_rate=1500
  rebound_rate=3250
  roll_center
  {
    x=0
    y=-0.42
    z=0
  }
}

susp0
{
  x=-0.67
  y=0.27
  z=-0.97
  restlen=.55
  minlen=.3
  maxlen=.55
  radius=.04
  slices=5
  k=32000
  bump_rate=1500
  rebound_rate=2250
  roll_center
  {
    x=0
    y=-0.45
    z=0
  }
}

susp1
{
  x=0.67
  y=0.27
  z=-0.97
  restlen=.55
  minlen=.3
  maxlen=.55
  radius=.04
  slices=5
  k=32000
  bump_rate=1500
  rebound_rate=2250
  roll_center
  {
    x=0
    y=-.45
    z=0
  }
}

tire_model
{
  relaxation_length_lat=0.91
  relaxation_length_long=.091
  damping_speed=8.45
  damping_coefficient_lat=1
  damping_coefficient_long=1
}
pacejka
{
  a0=1.5
  a1=-26
  a2=1900
  a3=4140
  a4=15
  a5=0
  a6=-0.3589
  a7=1
  a8=0
  a9=0.006111
  a10=.03224
  a111=0
  a112=0
  a12=0
  a13=0
  b0=1.3
  b1=-55
  b2=2100
  b3=0
  b4=229
  b5=0
  b6=-0.00386
  b7=0
  b8=-10
  b9=0
  b10=0
  b11=0
  b12=0
  c0=2.0
  c1=-3
  c2=-2
  c3=-1
  c4=-7
  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.14
  c15=-1.029
  c16=0.27
  c17=-1.1
  optimal_slipratio=0.10
  optimal_slipangle=0.12
}


;----------------------roues

wheel0
{
  x=0
  y=0
  z=0
  steering=0
  max_handbrake_torque=6000
  powered=1
  mass=18
  inertia=0.84
  radius=0.26
  rolling_coeff=0.043
  width=.20
  slices=20
  max_braking=1200
  braking_factor=0.6
  tire_rate=500000
  pacejka~pacejka
  {
  }
  camber=-1
  model
  {
    file=left.dof
  }
}
wheel1
{
  x=0
  y=0
  z=0
  steering=0
  max_handbrake_torque=6000
  powered=1
  mass=18
  inertia=0.84
  radius=0.26
  rolling_coeff=0.043
  width=.20
  slices=20
  tire_rate=500000
  pacejka~pacejka
  {
  }
  max_braking=1200
  braking_factor=0.6
  camber=-1
  model
  {
    file=right.dof
  }
}
wheel2
{
  x=0
  y=0
  z=0
  steering=1
  lock=48
  mass=18
  inertia=0.84
  radius=0.26
  rolling_coeff=0.043
  width=.20
  slices=20
  tire_rate=300000
  pacejka~pacejka
  {
  }
  max_braking=1200
  braking_factor=0.6
  
  camber=-1
  model
  {
    file=left.dof
  }
}
wheel3
{
  x=0
  y=0
  z=0
  steering=1
  lock=48
  mass=18
  inertia=0.84
  radius=0.26
  rolling_coeff=0.043
  width=.20
  slices=20
  tire_rate=300000
  pacejka~pacejka
  {
  }
  max_braking=1200
  braking_factor=0.6
  camber=-1
  model
  {
    file=right.dof
  }
}

;----------------------------------------------------------------------cameras
camera0
{
  name=Driver
  fov=70
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.37
    y=0.40
    z=-0.15
  }
  offset_to
  {
    x=0.43
    y=0.03
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.37
    y=0.40
    z=-0.15
  }
  offset_to
  {
    x=10.43
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.37
    y=0.40
    z=-0.15
  }
  offset_to
  {
    x=-9.57
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.1
    y=0.40
    z=-0.15
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  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.5
    z=-6
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=180
    z=0
  }
}
camera5
{
  name=Chase rear
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-5
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=0
    z=0
  }
}
camera6
{
  name=Free exterior
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-5
  }
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  angle
  {
    x=10
    y=180
    z=0
  }
}
camera7
{
	name=Side
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=1.267185
		y=0.129164
		z=-2.6
	}
	angle
	{
		x=1.361085
		y=-165.972626
		z=1.298599
	}
	follow
	{
		pitch=0
		yaw=1
		roll=1
	}

}
camera8
{
  name=Far
  fov=20
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-17
  }
  angle
  {
    x=10
    y=50
    z=0
  }
}
camera9
{
	name=Bonnet
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=0.356
    		y=-0.75
    		z=0.55
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
;----------------------audio

audio
{
   acc_all
   {
      attack=1
      decay=1
   }
   dec_all
   {
      attack=1
      decay=1
   }
;--------------------------------set audio vue externe

   accelerate_out
   {
      smp0~audio.acc_all
      {
         sample=idle.wav
         min=0
         max=1100
         natural=1000
         attack=100
         decay=100
      }
      smp1~audio.acc_all
      {
         sample=7000i.wav
         min=1000
         max=8800
         natural=7100    ;6000
         volume=6
         attack=1
	 decay=1
      }
      smp2~audio.acc_all
      {
         sample=echap2.wav
         min=0
         max=9000
         natural=5250    ;5250
         volume=2.5
         attack=1
	 decay=1
      }
      smp3~audio.acc_all
      {
         sample=echap2.wav
         min=0
         max=9000
         natural=5100    ;5250
         volume=2.5
         attack=1
	 decay=1
      }
      smp4~audio.acc_all
      {
         sample=rupt.wav
         min=8800
         max=11000
         natural=7000    ;6000
         volume=6
         attack=1
	 decay=1
      }
   }

   decelerate_out
   {
      smp0~audio.dec_all
      {
         sample=7000di.wav
         min=6000
         max=8700
         natural=7000     ;6000
         volume=2
         attack=1000
	 decay=1
      }
      smp1~audio.dec_all
      {
         sample=7000di2.wav
         min=0
         max=7000
         natural=7000     ;6000
         volume=2
         attack=1000
	 decay=1
      }
      smp2~audio.dec_all
      {
         sample=pet2.wav
         min=6000
         max=6200
         natural=6000
         volume=30
         attack=1
	 decay=1
      }
      smp3~audio.dec_all
      {
         sample=pet2.wav
         min=6500
         max=6700
         natural=6500
         volume=30
         attack=100
	 decay=100
      }
     smp4~audio.dec_all
      {
         sample=idle.wav
         min=0
         max=1100
         natural=1000
         volume=1
         attack=100
	 decay=100
      }

   }

;--------------------------------set audio vue interne

   accelerate_in
   {
      smp0~audio.acc_all
      {
         sample=idle.wav
         min=0
         max=1200
         natural=1000
	 volume=1
      }
      smp1~audio.acc_all
      {
         sample=3000i.wav
         min=0
         max=9000
         natural=3000
         volume=0.7
      }
      smp2~audio.acc_all
      {
         sample=7000i.wav
         min=5000
         max=11000
         natural=6000
         volume=1
      }
      smp3~audio.acc_all
      {
         sample=turbo.wav
         min=4000
         max=10000
         natural=4000
         volume=0.6
         attack=600
      }
   }
   decelerate_in
   {
      smp0~audio.dec_all
      {
         sample=3000di.wav
         min=0
         max=9000
         natural=3000
         volume=1
         attack=300
      }
      smp1~audio.dec_all
      {
         sample=7000di.wav
         min=5000
         max=11000
         natural=6000
         volume=1
         attack=300
      }
   }
}