car
{
  name=Fiat Cinquecento young
  year=1993
  credits=Original 
  comments=0.7 32 km
  id=Fiat_Cinquecento
  version=050b7
  wheels=4
  skid
  {
    sample=.wav
  }
  shadow
  {
      texture=shadow.tga
      width=1.7
      length=3.25
      offset_z=0
  }
  cg  
  {
    x=0
    y=-0.55
    z=0.09
  }
}
body
{
  mass=1180
  inertia
  {
    x=1400
    y=1700
    z=1500
  }
  restitution_coeff=0.01
  width=1.62
  height=1.45
  length=4.16
  manual_box=0
  model
  {
    file=carosseria.dof
    offset
    {
      x=0
      y=0
      z=0
    }
    scale
    {
      x=1
      y=1
      z=1
    }
  }
  model_incar
  {
     file=carosseria.dof
  }
  model_braking_l
  {
      file=brakes.dof
  }
  model_light_l
  {
      file=lights.dof
  }
  model_lightroad_l
  {
      file=lights.dof
  }
  model_light_r
  {
      1file=kierunki.dof
  }
}
steer
{
  x=0.4324
  y=0.02
  z=0.3344
  xa=25
  lock=1230
  model
  {
    file=steer.dof
  }
  camber_change_per_degree=0.01
  caster=-0.5
  radius=0.15
}
engine
{
   ; Mass of the engine
   mass=0
   idle_rpm=775
   model=wydech.dof
   ; RPM at which to start disengaging the clutch (when autoclutch is active
   ; (see racer.ini)
   ; The (auto)clutch will be fully disengaged when the rpm hits idle_rpm.
   autoclutch_rpm=0
   ; Engine RPM -> maximum torque curve (normalized 0..1 curve)
   curve_torque=torque.crv
   ; Multiplier for the normalised torque curve
   max_torque=1.1
   ; Max rpm generated by the motor
   max_rpm=6400
   ; Reaction of engine torque through body roll (0..1)
   torque_reaction=0.4
   ; Starter motor present?
   starter=1
   ; Torque generated by starter (Nm)
   starter_torque=80
   ; When starting the game, is the engine pre-started?
   start_stalled=1
   ; RPM at which to stall the engine
   stall_rpm=350
   ; Make sure the start rpm is greater than the stall rpm
   start_rpm=490
   shifting
   {
      automatic=0
      ; Automatic shifting duration
      time_to_declutch=290
      time_to_clutch=255
      ; RPMs at which to shift; make sure shift_down_rpm>shift_up_rpm
      shift_up_rpm=4500
      shift_down_rpm=3000
   }
   ; Rotational inertia of engine parts (kg*m^2)
   inertia
   {
      engine=0.26
      final_drive=0.1
   }
   ; Internal engine braking coefficient (0=low, >0=friction)
   ; The braking coefficient is linked to the rpm of the motor (linearly)
   ; in the following way:
   ; min_torque=-braking_coeff*rps    (rps = rpm/60)
   ; max_torque=torque
   ; Throttle moves the torque from min_torque..max_torque
   ; Example: Arrows F1 car @14.500 rpm => braking_coeff=0.74
   ; Then   : rps=14500/60 = 241, negative torque = -0.74*241 = -180 Nm
   braking_coeff=1.2
   rolling_friction_coeff=0.4
   sample=engine.wav
   sample_rpm=7000
   }
}
gearbox
{
   gears=6
   gear0
   {
      ratio=-3.17
      inertia=0.2
   }
   gear1
   {
      ratio=3.45
      inertia=0.14
   }
   gear2
   {
      ratio=1.94
      inertia=0.1
   }
   gear3
   {

      ratio=1.29
      inertia=0.06
   }
   gear4
   {
      ratio=0.91
      inertia=0.04
   }
   gear5
   {
      ratio=0.75
      inertia=0.04
   }
}
clutch
{
   max_torque=285
}
handbrakes
{
  wheel=23
}
differential
{
   type=1
   ratio=4.733
   inertia=1.7
   locking_coeff=90
   clutches=1
   output0=0
   output1=1
}
aero
{
  body
  {
    center=0 0.1 0
    cx=0.33
    area=1.7
  }
  wings=1
  wing0
  {
    name=rear
    span=1.6
    cord=0.15
    coeff_drag=0.02
    coeff_down=3
    center=0 0.4 -1
    angle=7
    angle_offset=0.3
  }
  ; Second wing, in this case, the rear spoiler.
  ;wing1
  ;{
  ;  name=Rear
  ;  span=1.5
  ;  cord=0.25
  ;  coeff_drag=0.02
  ;  coeff_down=0.2
  ;  center=0 0.5 -1.2
  ;  angle=3
  ;  angle_offset=1
  ;}
}
antirollbar
{
  	count=2
  	arb0
  	{
    		susp_left=0
    		susp_right=1
   		k=18000
  	}
  	arb1
  	{
    		susp_left=2
    		susp_right=3
    		k=8000
  	}
}

susp_front
{
  y=-0.04
  z=1.02itch=0.08;0.12
  restlen=0.6585;0.21;0.342;0.4385
  minlen=0.397;0.5025;0.104;0.30385
  maxlen=0.644;0.597;0.7025;0.304;0.352;0.5325
  k=17550		     ;real value Wheel_Rate =0.65 * Spring_Rate;	Spring_Rate = F(Lmax - Lmin)=
   bump_rate=2200;750;1150								=364kgf(342mm - 210 mm)=
  rebound_rate=2612;3850							= 2.73kgf/mm=~27000N/m
  bump_function=0	
  ;bump_max=1000
  rebound_function=0
  camber_change_per_m=0.11
  roll_center
  {
    x=0
    y=-0.65
    z=0
  }
}
susp_rear
{
  y=-0.02
  z=-1.1
  anti_pitch=0.08;0.12
  restlen=0.616;0.235;0.3348;0.436
  minlen=0.418;0.382;0.48;0.103;0.3044
  maxlen=0.608;0.5820.68;0.239;0.354;0.53
  k=15126 		     ;real value Wheel_rate =0.62 * Spring_rate         Spring_Rate = F(Lmax - Lmin)=
  bump_rate=1348;848;1300	
  rebound_rate=3235;4650	 							=380kgf(334mm - 235 mm)=
  bump_function=0								= 3.84kgf/mm=~37300N/m
  ;bump_max=1000
  rebound_function=0
  camber_change_per_m=0.26
  roll_center
  {
    x=0
    y=-0.62;-0.46
    z=0
  }
}
susp0~susp_front
{
  x=0.64
  toe_change_per_m=0.021		;-0.23 static toe. 0.13 degrees change with 0.078m travel. Bump out to ~0.1 toe.!
  camber_change_steering=0.025;0.2941	; Camber change ratio; degrees of camber / degrees of wheel rotation - 10 / 34
  caster_offset=-0.08		
}
susp1~susp_front
{
  x=-0.64
  toe_change_per_m=-0.021		;-0.23 static toe. 0.13 degrees change with 0.078m travel. Bump out to ~0.1 toe.!
    camber_change_steering=-0.025;-0.2941	;Camber change ratio; degrees of camber / degrees of wheel rotation - 10 / 34
    caster_offset=-0.08		
}
susp2~susp_rear
{
  x=0.68
  toe_change_per_m=0.019
  caster_offset=-0.13
}
susp3~susp_rear
{
  x=-0.68
  toe_change_per_m=-0.019
  caster_offset=-0.13
}
pacejka
{
; Lateral force
a0=1.1
a1=-46
a2=1345
a3=1495
a4=11
a5=0.013
a6=-0.14
a7=0.14
a8=0.019
a9=-0.019
a10=-0.18
a111=-11
a112=-0.021
a12=0.48
a13=10.2
a13=-2.4
; Longitudinal force
b0=1.35326

b1=-90.00000
b2=1345.00000
b3=23.30000
b4=400.00000
b5=0.00000
b6=0.00680
b7=0.05500
b8=-0.02400
b9=0
b10=0
b11=0
b12=0
; Aligning moment
c0=2.10000
c1=-3.90000
c2=-3.90000
c3=-1.26000
c4=-8.20000
c5=0.02500
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.14000
c15=-1.02900
c16=0.27000
c17=-1.10000
optimal_slipratio=0.14
optimal_slipangle=0.28
}
skidding_default
{
	long_start=0.1
	long_max=1.0
	long_start_n=0.1
	long_max_n=1.0
	lat_start=0.1
	lat_max=1.0
}
wheel_front
{
  y=0
  z=0
  max_braking=1400
  steering=1
  lock=60
  mass=35
  inertia=1.2
  radius=0.27
  width=0.195		;195/70 R14W
  ;slices=20
  braking_factor=1
  friction_road=1.9
  tire_rate=180000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  max_braking=100
  steering=0
  powered=0
  mass=35
  inertia=1.2
  radius=0.27
  width=0.195
  braking_factor=1
  rolling_coeff=0.015	
  ;slices=20
  friction_road=1.9
  max_handbrake_torque=1500
  tire_rate=180000
  pacejka~pacejka
  {
  }
}

wheel0~wheel_front
{
  	x=0
	; 0.000°
  	camber=-0.335
	; -0.044°
  	toe=-0.215
  	model
  	{
		file=lewa.dof
  	}
}

wheel1~wheel_front
{
  	x=0	
	; 0.000°
  	camber=-0.335
	; 0.044°
  	toe=0.215
  	model
  	{
        	file=prawa.dof
  	}
}

wheel2~wheel_rear
{
  	x=0
	; 0.000°
  	camber=2.237
	; 0.000°
  	toe=0.141
  	model
  	{
    		file=lewa.dof
  	}
}

wheel3~wheel_rear
{
  	x=0
	; 0.000°
  	camber=2.237
	; 0.000°
  	toe=-0.141
  	model
  	{
        	file=prawa.dof
  	}
}
camera0
{
   offset
  {
    x=-0.006250
    y=1.252083
    z=-4.795010
  }
  angle
  {
    x=15 ;3
    y=180
    z=0.000000
  }
  name=Behind
  ;fov=75
  src
  {
    mass=6
    k=300
    damping=90
    maxdist=2
  }
  dst
  {
    mass=1
    k=200
    damping=70
    maxdist=1
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1 ;0
  }
   ;model=0
   ;view=1
}
camera1
{
  name=Driver
  fov=65;70;61
  model=1
  wheels=0
  view=2
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    ;x=0.289062
    x=0.42
    y=0.357917
    z=-0.100000
  }
  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
  }
}
camera2
{
  name=BonnetView
  ;fov=65;70;61
  model=0
  wheels=0
  view=2
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    ;x=0.289062
    x=0
    y=0.357917
    z=0.7100000
  }
  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
  }
}
camera3
{
   follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.0
    y=-0.3
    z=2.3
  }
  angle
  {
    x=8
    y=180.0
    z=0.0
  }
  name=Bumper
  model=2
  wheels=2
  view=2
  fov=75
}
camera4
{
   offset
  {
    x=-0.381252
    y=0.439585
    z=-6
  }
  angle
  {
    x=16.5
    y=130
    z=0.25
  }
  name=GeneralLooseExterior
  fov=60
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.0
    y=0.0
    z=-4.5
  }
  angle
  {
    x=0
    y=35
    z=0
  }
  name=LowFrontAngle
  fov=60
}
camera6
{
   offset
  {
    x=0.1
    y=-1
    z=-7
  }
  angle
  {
    x=-6
    y=200
    z=0
  }
  name=OffsetChase
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=65
}
{
    follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=0
    y=0
    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.273437
    y=1
    z=-3.650010
  }
  angle
  {
    x=23.194437
    y=-357.986633
    z=19.357632
  }
  fov=70
}
{
   follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.114063
    y=-0.295833
    z=-3.765000
  }
  angle
  {
    x=6.000000
    y=5.000000
    z=0.000000
  }
  name=RearSeatBack
  fov=85
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=1.48
    y=-0.0
    z=-0.4
  }
  angle
  {
    x=14
    y=9.5
    z=7.5
  }
  name=RearWheel
  fov=65
}

  fov=70
  ; Type of model to use; 0=outside, 1=inside, 2=none
  model=0
  wheels=0
  view=0
  name=Inside Driver
}
; =============================================================================
audio
{
	  skid
  {
    sample=skid.wav
  }
  horn
  {
    sample=horn.wav
  }
  shiftout
  {
    sample=shift_out.wav
  }
  acc_all
  {
    attack=500
    decay=500
  }
  accelerate_out
  {
    volume=2
    smp0~audio.acc_all
    {
      sample=Idle.wav
      min=1
      max=500
      natural=1000
      volume=3
    }
    smp1~audio.acc_all
    {
      sample=1000.wav
      min=500
      max=1400
      natural=1060
      volume=3
}
    smp2~audio.acc_all
    {
      sample=2500.wav
      min=1400
      max=6300
      natural=3300
      volume=3.5
}
    smp3~audio.acc_all
    {
      sample=4000.wav
      min=4300
      max=6500
      natural=4900
      volume=7
}
  }
  wind
{
    smp0
    {
      sample=wind_ext.wav
      volume=0.5
      min=1
      max=2
      decay=100
      natural=30
    }
		
	}
}
  gearwhine
  {
    volume=0.5
    pitch_scale=0.001
    pitch_offset=0
    smp0~audio.acc_all
    {
      sample=gearwhine.wav
      min=0
      max=10000
      natural=7000
    }
  }
}
  steerleft
  {
    volume=0.5
    pitch_scale=0.001
    pitch_offset=0
    smp0~audio.acc_all
    {
      sample=left.wav
      min=0
      max=10000
      natural=7000
    }
  }
}
  steerright
  {
    volume=0.5
    pitch_scale=0.001
    pitch_offset=0
    smp0~audio.acc_all
    {
      sample=right.wav
      min=0
      max=10000
      natural=7000
    }
  }