car
{
   name=Fiat Palio 16V
   year=1996
   credits=Original rec3D and Chizzo, updated by AMGfan and caioballejo. 0-100 km/h: 9.5 s, Top Speed: 188 km/h
   comments=Fiat Italian "Sevel Torque 16V" Step-A 1.6 16V Inline-4 1580cm³, 106 cv @ 5750 rpm, 15.1 kgfm @ 4500 rpm
   id=fiat_palio_16v
   version=053b
   wheels=4
   skid
   {
      sample=skid.wav
   }
   shadow
   {
      texture=shadow.tga
      width=1.825
      length=3.96
      offset_z=0.0
      offset=0
   }
   cg
   {
      x=0
      y=-0.2
      z=0.135
   }
}
body
{
   mass=1020
   restitution_coeff=0
   inertia
   {
      x=3056
      y=3345
      z=534
   }
   x=0
   y=0
   z=0
   width=1.61
   height=1.45
   length=3.74
   manual_box=1
   cockpit_start=1
   cockpit_length=1
   model
   {
      file=palio1.dof
   }
   model_braking_l
   {
      file=brakes.dof
   }
   model_incar
   {
      file=palio1.dof
   }
   model_light_l
   {
      file=lights.dof
   }
 model_lightroad_l
 {
  file=lightsin.dof
 }
}

steer
{
  x=0.325
  y=.223
  z=.49
  radius=10
  xa=5
  lock=1000 ;650
  linearity=1 ;0.3
  model
  {
    file=volante.dof
  }
}
engine
{
   mass=60
   idle_rpm=800
   max_rpm=7100 
   max_torque=136
   curve_torque=paliotorque.crv
   autoclutch_rpm=1550
   starter=1
   starter_torque=70
   start_stalled=1
   stall_rpm=550
   start_rpm=980
   shifting
   {
      automatic=0
      shift_up_rpm=6500
      shift_down_rpm=3500
       time_to_declutch=50
      time_to_clutch=50
      time_in_neutral=200
      time_to_declutch_down=150
      time_to_clutch_down=50
      time_in_neutral_down=200
   }
   inertia
   {
      engine=0.3
      final_drive=0.1
   }
   braking_coeff=3
   sample=
   sample_rpm=
   rolling_friction_coeff=1
}
gearbox
{
   gears=6
   gear0
   {
      ratio=-3.909
      inertia=0.2
   }
   gear1
   {
      ratio=3.909
      inertia=-0.1
   }
   gear2
   {
      ratio=2.238
      inertia=-0.1
   }
   gear3
   {
      ratio=1.52
      inertia=0.06
   }
   gear4
   {
      ratio=1.156
      inertia=0.04
   }
   gear5
   {
      ratio=0.872
      inertia=0.02
   }
}
clutch
{
   max_torque=400
}
handbrakes
{
   wheels=23
}
abs
{
  enable=1
   max_velocity_ratio=1.3
   min_velocity_ratio=1.7
}
differential
{
   type=1
   ratio=3.765
   inertia=0.05
   locking_coefficient=20
   locking_coeff=5
   clutches=1
   clutch_factor=100
   power_angle=0
   coast_angle=0
   output0=0
   output1=1
}
aero
{
   body
   {
      center=0 0 0
      cx=0.33
      area=2.1
   }
   wings=0
}
antirollbar
{
   count=2
   arb0
   {
      susp_left=0
      susp_right=1
      k=200
   }
   arb1
   {
      susp_left=2
      susp_right=3
      k=200
   }
}
susp_front
{
   y=0
   z=1.4934
   anti_pitch=0.15
   restlen=0.43
   minlen=0.20
   maxlen=0.5
   k=58000
   bump_rate=6700
   rebound_rate=6700
   radius=.04
   slices=5
   roll_center
   {
      x=0
      y=-0.62
      z=0
   }
}
susp_rear
{
   y=0
   z=-1.3366
   anti_pitch=0.15
   restlen=0.46
   minlen=0.20
   maxlen=0.5
   k=48000
   bump_rate=6000
   rebound_rate=5500
   radius=.04
   slices=5
   roll_center
   {
      x=0
      y=-0.57
      z=0
   }
}
susp0~susp_front
{
   x=0.7
   y=-0.05
   z=1.265
   roll_center
   {
      x=0
      y=-0.52
      z=0
   }
   minlen=0.13
   maxlen=0.64
   restlen=0.35
   anti_pitch=0.15
   k=35000
   bump_rate=5800
   rebound_rate=5300
}
susp1~susp_front
{
   x=-0.7
   y=-0.05
   z=1.265
   roll_center
   {
      x=0
      y=-0.52
      z=0
   }
   minlen=0.13
   maxlen=0.64
   restlen=0.35
   anti_pitch=0.15
   k=35000
   bump_rate=5800
   rebound_rate=5300
}
susp2~susp_rear
{
   x=0.71
   y=0.05
   z=-1.22
   roll_center
   {
      x=0
      y=-0.57
      z=0
   }
   minlen=0.13
   maxlen=0.64
   restlen=0.46
   anti_pitch=0.15
   k=33000
   bump_rate=5800
   rebound_rate=5300
}
susp3~susp_rear
{
   x=-0.71
   y=0.05
   z=-1.22
   roll_center
   {
      x=0
      y=-0.57
      z=0
   }
   minlen=0.13
   maxlen=0.64
   restlen=0.46
   anti_pitch=0.15
   k=33000
   bump_rate=5800
   rebound_rate=5300
}
tire_model_front
{
   damping_predict_lat=0.492
   damping_predict_long=0.018
}
tire_model_rear
{
   damping_predict_lat=0.504
   damping_predict_long=0.020
}
pacejka
{
   a0=1.6
   a1=-30
   a2=1600;1650
   a3=2400
   a4=8.7
   a5=0.014
   a6=-0.24
   a7=1.0
   a8=-0.03
   a9=-0.0013
   a10=-0.15
   a111=-8.5
   a112=-0.29
   a12=17.8
   a13=-2.4
   b0=1.6
   b1=-60
   b2=1680 ;1750
   b3=23.3
   b4=375
   b5=0.05
   b6=0
   b7=0.055
   b8=-0.024
   b9=0.014
   b10=0.26
   b12=0
   c0=2.2
   c1=-3.9
   c2=-3.9
   c3=-1.26
   c4=-8.2
   c5=0.025
   c6=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.1
   optimal_slipangle=0.15
}
wheel_front
{
   y=0
   z=0
   max_braking=2500
   braking_factor=1
   steering=1
   powered=1
   lock=56
   ackerman=1.1
   mass=12.5
   inertia=0.7
   radius=0.29155
   width=0.175		
   slices=20
   friction_road=1.7
   tire_rate=290000
   pacejka~pacejka
   {
   }
}
wheel_rear
{
   y=0
   z=0
   max_braking=1000 ;700
   braking_factor=1
   steering=0
   powered=0
   mass=15.5
   inertia=0.78
   radius=0.29155
   width=0.175	
   slices=20
   friction_road=1.7
   max_handbrake_torque=2500
   tire_rate=290000
   pacejka~pacejka
   {
      a0=1.55
      a1=-50
      a2=1750
      a3=2300
      b0=1.625
      b1=-100
      b2=1750
      b4=400
      c1=-4.0
      c3=-1.31
      c4=-8.0
      optimal_slipratio=0.08
      optimal_slipangle=0.17
   }
}
wheel0~wheel_front
{
   x=0
   y=0
   z=0.05
   camber=-0.18
   toe=0
   model
   {
      file=rodae.dof
   }
   model_brake
   {
      file=
   }
   ackerman=1.1
   mass=13
   max_braking=1150 ;1150
   radius=0.29155
   width=0.175
   inertia=0.7
   lock=56
   braking_factor=1
   max_handbrake_torque=0
   tire_rate=290000
   powered=1
   steering=1
}
wheel1~wheel_front
{
   x=0
   y=0
   z=0.05
   camber=-0.18
   toe=0
   model
   {
      file=rodad.dof
   }
   model_brake
   {
      file=
   }
   mass=13
   max_braking=1150 ;1150
   radius=0.29155
   width=0.175
   inertia=0.7
   lock=56
   braking_factor=1
   max_handbrake_torque=0
   tire_rate=290000
   powered=1
   steering=1
}
wheel2~wheel_rear
{
   y=0
   z=0.08
   camber=-0.3
   toe=0
   model
   {
      file=rodae.dof
   }
   model_brake
   {
      file=
   }
   mass=13   
   max_braking=370 ;320
   radius=0.29155
   width=0.175
   inertia=0.78
   lock=0
   braking_factor=1
   max_handbrake_torque=2500
   tire_rate=290000
   y=0
   z=0
   powered=0
   steering=0
   x=0
}
wheel3~wheel_rear
{
   x=0
   y=0
   z=0.08
   camber=-0.3
   toe=0
   model
   {
      file=rodad.dof
   }
   model_brake
   {
      file=
   }
   mass=13
   max_braking=370 ;320
   radius=0.29155
   width=0.175
   inertia=0.78
   lock=0
   braking_factor=1
   max_handbrake_torque=2500
   tire_rate=290000
   y=0
   z=0
   powered=0
   steering=0
}
camera0
{
   offset
   {
      x=-0.006250
      y=-1.252083
      z=-4.795010
   }
   angle
   {
      x=3.000000
      y=180.000000
      z=0.000000
   }
   name=CloseBehind
   follow
   {
      pitch=0
      yaw=1
      roll=0
   }
}
camera1
{
  offset
  {
    x=0.059375
    y=-0.700001
    z=-4.715009
  }
  angle
  {
    x=6.666651
    y=-180.729126
    z=0.000000
  }
  name=Side view
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=50
}
camera2
{
  offset
  {
    x=-0.015626
    y=-0.47
    z=1.3
  }
  angle
  {
    x=2
    y=180
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera3
{
  follow
  {
    pitch=
    yaw=1
    roll=
  }
  offset
  {
    x=-0.2
    y=0.508334
    z=-6.635028
  }
  angle
  {
    x=16.388876
    y=-56.944256
    z=1.302094
  }
  name=Wheels
  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.464583
    z=-6.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.6
      z=-4.5
   }
   angle
   {
      x=10
      y=-360
      z=0
   }
   fov=65
   name=FrontView
}
camera7
{
   offset
   {
      x=1.4
      y=0.06
      z=-0.6
   }
   angle
   {
      x=-2.25
      y=-161
      z=3.3
   }
   follow
   {
      pitch=0
      yaw=1
      roll=1
   }
   fov=60
   name=FrontWheel
}
camera8
{
   follow
   {
      pitch=1
      yaw=1
      roll=1
   }
   offset
   {
      x=0.0
      y=-0.7
      z=0.75
   }
   angle
   {
      x=10
      y=180.0
      z=0.0
   }
   name=BonnetView
   fov=70
}
camera9
{
	name=Dash View - Driver
	fov=65
	model=1
	wheels=0
	view=2
	name=Inside
	fov=60

	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=0.33
		y=0.49
		z=0.06
	}
	offset_to
	{
		x=0
		y=0
		z=10
	}
	angle
	{
		x=1.000000
		y=180.000000
		z=0.000000
	}
	src
	{
		mass=5
		k=750
		damping=75
		maxdist=0.2
	}
	dst
	{
		mass=0
		k=0
		damping=0
		maxdist=0
	}
}

}
audio
{
  skid
  {
    sample=skid.wav
  }
  accelerate_out
  {
    smp0
    {
      sample=idlei5.wav
      volume=3
      min=300
      max=1500
      attack=50
      decay=800
      natural=800
    }
    smp1
    { 
      sample=engine2m.wav 
      volume=1.2
      min=1000
      max=4000
      natural=9000 
      decay=2000
      attack=2000
    }
    smp2
    { 
      sample=engine2.wav 
      volume=1.45
      min=3500
      max=10000
      natural=4100 ;5000 
      attack=1600
    }
    smp3
      {
	   volume=0.25
         sample=Tturbo.wav
         min=3500
         max=7000
         natural=2050
	   attack=1100
          decay=3000
      }
  }  
  decelerate_out
  {
    smp0
    {
      sample=idlei5.wav
      volume=4
      min=300
      max=800
      decay=500
      natural=1800
    }
    smp1
    {
      sample=3000.wav
      volume=0.6
      min=1000
      max=3000
      attack=500
      decay=5000
      natural=4500
    }
    smp2
    {
      sample=decc.wav
      volume=1.3
      min=5000
      max=10000
      attack=5000
      natural=7000
    }
   smp3
      {
	   volume=0.25
         sample=Tturbo.wav
         min=3500
         max=7000
         natural=1750
	   attack=1100
          decay=3000
      }
  }
  accelerate_in
  {
    smp0
    {
      sample=idlein.wav
      volume=3
      min=500
      max=1990
      decay=500
      natural=1500
    }
    smp1
    { 
      sample=2000in.wav 
      volume=1.5
      min=1100
      max=4000
      natural=4600 
      attack=1500
    }
    smp2
    { 
      sample=3000in.wav 
      volume=1.1
      min=1100
      max=10000
      natural=6500 
      attack=500
    }
   smp3
    { 
     sample=engine2.wav 
      volume=1.6
      min=2500
      max=10000
     natural=4100 ;5000 
      attack=1600
    }
     smp4
      {
	   volume=0.066
         sample=Tturbo.wav
         min=3500
         max=7000
         natural=2050
	   attack=1100
          decay=3000
      }
  }  
  decelerate_in
  {
    smp0
    {
      sample=idlein.wav
      volume=4
      min=500
      max=1500
      decay=500
      natural=1500
    }
    smp1
    { 
      sample=2000in.wav 
      volume=1.2
      min=1000
      max=4000
      natural=6300 
      attack=2000
    }
   smp2
    {
      sample=decc.wav
      volume=1
      min=5000
      max=10000
      attack=5000
      natural=7000
    }
     smp4
      {
	   volume=0.066
         sample=Tturbo.wav
         min=3500
         max=7000
         natural=1550
	   attack=1100
          decay=3000
      }
  }  
  gearwhine
  {
    smp0
    {
      sample=tw-extonhigh.wav
      volume=0.25
      min=1
      max=2
      decay=1000
      natural=500
    }
  }
  wind
  {
    smp0
    {
      sample=wind.wav
      volume=0.8
      min=11
      max=150
      attack=10
      natural=50
    }
  }
}