car
{
  name=Fiat Siena I 1.4 i (Sedan)
  year=1997(0-100:12.8s.;vmax:164 km/h)
  credits=Model by Japa 3d,Karol Pereguda, converted by Fabikan75;
  comments=Dis:1372cc;Pow:71 KM (52 kW)@ 6000 rpm;Tor:108 Nm @ 3000 rpm;R4 petrol engine;gearbox manual 5.
  id=albeaf
  version=065
  wheels=4
  ff_factor=0.8
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=0
    length=0
    offset_z=-0.06
  }
  cg
  {
    x=0
    y=-0.22	;53,7 cm (~38%)
    z=0.36	;64,1% devant
  }
}
graphics
{
  intensity=1
  shadow
  {
    model
    {
      file=palio.dof
      use_shaders=0
    }
  }
  generic
  {
    model0
    {
      file=palio.dof
    }
    model1
    {
      file=weekend.dof
    }
    model2
    {
      file=vide.dof
    }
    ;monograme logo
    model3
    {
      file=tbd_1.dof
    }
    model4
    {
      file=cdes.dof
    }
    ;Commandes vitres et retros
    model5
    {
      file=sieges.dof
    }
    ;Sièges avant
    model6
    {
      file=feux_1.dof
    }
    ;Feux arrière (phase 1 ou 2?)
    model7
    {
      file=av_1.dof
    }
    ;Face avant (phase 1 ou 2?)
    model8
    {
      file=ab_1.dof
    }
    ;Avec anti brouillard (Oui ou non?)
    model9
    {
      file=vide.dof
    }
    ;Option(becquet ou barres de toit)
    model10
    {
      file=conducteur.dof
    }
    ;Conducteur (Oui ou non?)
    model11
    {
      file=sigles_b1.dof
    }
    ;Logos
    model12
    {
      file=4ve.dof
    }
    ;Nombre de vitres electriques
    model13
    {
      file=repet.dof
    }
    ;repetiteurs latereaux (Oui ou non?)
    model14
    {
      file=poignes_cc.dof
    }
    ;poignés (Oui ou non?)
    model15
    {
      file=acc.dof
    }
    ;accoudoirs avant
    model16
    {
      file=19dci.dof
    }
    ;logo moteur
    model17
    {
      file=cpt.dof
    }
    ;compteur
    model18
    {
      file=ech.dof
    }
    ;pot d'echappement
    model19
    {
      file=bvm6.dof
    }
    ;commande de boite
    model20
    {
      file=banquette.dof
    }
    model21
    {
      file=vide.dof
    }
    ;(phares xenon?)
    model22
    {
      file=capteurs.dof
    }
    model23
    {
      file=colone.dof
    }
    model24
    {
      file=details.dof
    }
  }
}
flares
{
  ; Front lights
  flare0
  {
    pos=-0.5060 0.0225 1.8723
      color=0.6 0.6 0.4
    ;normal=0 0 1
    normal=-0.05 -0.1 0.6
    z_offset=-3000
    size_factor=1.1
  }
  flare1
  {
    pos=0.5060 0.0225 1.8723
      color=0.6 0.6 0.4
    normal=0.04 -0.1 0.4
    z_offset=-3000
    size_factor=1.1
  }
  
  }
}
particles
{
  backfire
  {
    exhaust0
    {
      pos=0.5921 -0.4747 -2.037
      normal=0 0 0
    }
    exhaust1
    {
      pos=0.5682 -0.4749 -2.07
      normal=0 0 0
    }
    type=backfire
    min_rpm=5000
    max_rpm=9000
    likeliness_percentage=650
  }
  smoke_exhaust
  {
    exhaust0
    {
      pos=0.5921 -0.4747 -2.037
      normal=0 0 0
    }
    exhaust1
    {
      pos=0.5682 -0.4749 -2.07
      normal=0 0 0
    }
    type=backfire
    min_rpm=5000
    max_rpm=5000
    likeliness_percentage=1
  }
}
body
{
  mass=1025
  inertia
  {
    x=2300
    y=2500
    z=700
  }
  width=1.614	
  height=1.440	
  length=4.100
  manual_box=0
  model
  {
    file=weekend.dof
  }
  model_incar
  {
    file=weekend.dof
  }
  model_braking_l
  {
    file=stop.dof
  }
  model_light_l
  {
    file=lo.dof
  }
  model_lightroad_l
  {
    file=lo.dof
  }
  model_collide
  {
    file=ombre.dof
  }
  model_reverse_l
  {
    ; Reverse gear indicators
    file=re_b.dof
  }
  model_reverse_r
  {
    file=re_b.dof
  }
}
steer
{
  x=0.33
  y=0.22
  z=0.44
  xa=22
  lock=900		;3.2 turns lock-to-lock, 10.50 m turning circle
  linearity=0.2        ;900/1152 = 0.78
  model
  {
    file=kierownica.dof
  }
}
engine
{
  mass=0
  	stall_rpm=450
  	start_rpm=1000
  	idle_rpm=800
  	autoclutch_rpm=2500
  	max_rpm=6900

  	curve_torque=torque.crv
  	max_torque=133                  ;fake torque, because with 108 nm, he cant do real acceleration
        torque_reaction=1
  	idle_method=1
  	starter=1
  	starter_torque=95
  	start_stalled=1
    enable_stall=1
  shifting
  {
    automatic=0
    shift_up_rpm=2320
    shift_down_rpm=1200
    time_to_declutch=250
    time_in_neutral=250
    time_to_clutch=200
    time_to_declutch_down=125
    time_in_neutral_down=175
    time_to_clutch_down=200
  }
  inertia
  {
    engine=0.21 ;0.638
  }
  braking_coeff=2.25
  braking_torque_curve=C_A.crv
  rolling_friction_coeff=0
  friction=0
}
jitter
{
  amplitude=0
  time_min=100
  time_var=500
  frequency_min=4
  frequency_var=9
}
speedlimiter
{
  velocity=22.22
  time=10
}
jitter
{
  amplitude=0
  time_min=100
  time_var=500
  frequency_min=4
  frequency_var=9
}
fuel
{
  type=0  ;0=essence / 1=diesel
  max=07.10
  bsfc=4.6e-5 ;4.06e-5
}
clutch
{
  max_torque=190
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-4.4
    inertia=0.2
  }
  gear1
  {
    ratio=4.6
    inertia=0.1
  }
  gear2
  {
    ratio=3.
    inertia=0.08
  }
  gear3
  {
    ratio=2.
    inertia=0.06
  }
  gear4
  {
    ratio=1.6
    inertia=0.04
  }
  gear5
  {
    ratio=1.32
    inertia=0.02
  }
}
handbrakes
{
  wheels=23
}
differential
{
  type=0
  ratio=3.3
  inertia=0.01
  locking_coeff=0
  friction=58
  output0=0
  output1=1
}
abs
{
  enable=0
  max_velocity_ratio=1.07
  min_velocity_ratio=1.02
  min_velocity=3.61  :13km/h
}
traction_control
{
  enable=1
  max_velocity_ratio=1.04
  min_velocity_ratio=1.035
  min_velocity=3.61
}
aero
{
  body
  {
    center=0 0 0
    cx=0.2
    area=2	;measured from model
  }
  wings=2
  wing0
  {
    name=Front axle lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-5
    center=0 0 1.3125
    angle=0
    angle_offset=1
  }
  wing1
  {
    name=Rear axle lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-5
    center=0 0 -1.3125
    angle=0
    angle_offset=1
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=9100
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=8800
  }
}
susp_front
{
  y=0.16
  z=1.3
  restlen=0.53
  maxlen=0.47
  minlen=0.27	;0.3
  warplen=0.409
  k=38000		
  bumpstop_len=0.050
  bumpstop_k=164000
  bumpstop_damping=3700
  reboundstop_len=0.010
  reboundstop_k=50000
  reboundstop_damping=1000
  toe_change_per_steering=7
  camber_change_per_steering=0.6
  camber_change_m=-0.04
  anti_pitch=0.12
  roll_center
  {
    x=0
    y=-0.55	
    z=0
  }
}
susp_rear
{
  y=0.2
  z=-1.16    ;empattement 2748mm
  restlen=0.539  ;angle de 1,0055°
  maxlen=0.480
  minlen=0.280
  warplen=0.425
  k=38000		
  bumpstop_len=0.050
  bumpstop_k=96000
  bumpstop_damping=2200
  reboundstop_len=0.010
  reboundstop_k=50000
  reboundstop_damping=1000
  anti_pitch=0.9
  camber_change_per_m=0.075
  roll_center
  {
    x=0
    y=-0.585
    z=0
  }
}
susp0~susp_front
{
  x=0.68	;1534 mm front track
}
susp1~susp_front
{
  x=-0.68
}
susp2~susp_rear
{
  x=0.68	;1540 mm rear track
}
susp3~susp_rear
{
  x=-0.68
}
pacejka
{
  a0=1.4	
  a1=-46	;ps (from pacejkaseries.txt, 205/55 R16)
  a2=1500
  a3=2000
  a4=11
  a5=0.015
  a6=-0.25
  a7=1.0
  a8=-0.03
  a9=-0.001
  a10=-0.15
  a111=0	;ps
  a112=-0.29
  a12=17.8
  a13=-2.4
  b0=1.5
  b1=-92	;ps doubled
  b2=1500
  b3=23.3
  b4=325
  b5=0.08
  b6=0.0
  b7=0.05
  b8=-0.024
  b9=0.015
  b10=0.25
  b11=-86
  b12=0.0
  c0=2.3
  c1=-3.8
  c2=-3.14
  c3=-1.0
  c4=-7.2
  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.04
  c15=-1.029
  c16=0.27
  c17=-1.1
  optimal_slipratio=0.12
  optimal_slipangle=0.22
}
wheel_front
{
  x=0
  y=0
  z=0
  tire_damping=500
  tire_damping_lowspeed=2500
  tire_damping_threshold=5.0
  brake_heating=0.003
  brake_dissipation=0.0005
  brake_max_temp=1000
  steering=1
  camber=-0.2
  ackerman=1.2
  lock=67.89
  mass=10
  inertia=1
  rolling_coeff=0.009
  width=0.225
  radius=0.29 ;0.31715 225/45 R17
  max_braking=5000
  braking_factor=0.75
  tire_rate=180000
  pacejka~pacejka
  {
  }
}
;225/45 R17
wheel_rear
{
  x=0
  y=0
  z=0
  tire_damping=500
  tire_damping_lowspeed=2500
  tire_damping_threshold=5.0
  brake_heating=0.003
  brake_dissipation=0.0005
  brake_max_temp=1000
  steering=0
  camber=-0.40
  mass=10
  inertia=1
  rolling_coeff=0.009
  width=0.225
  radius=0.28
  max_braking=5000
  max_handbrake_torque=4300
  braking_factor=0.25
  tire_rate=180000
  pacejka~pacejka
  {
  }
}
;225/45 R17
wheel0~wheel_front
{
  toe=-0.1
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=
  }
}
wheel1~wheel_front
{
  toe=0.1
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=
  }
}
wheel2~wheel_rear
{
  toe=-0.1
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=
  }
}
wheel3~wheel_rear
{
  toe=0.1
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=
  }
}
camera0
{
  name=Driver
  fov=60
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.37
    y=0.45
    z=0.12
  }
  offset_to
  {

    x=0.43
    y=-0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.38
    y=0.53
    z=0.14
  }
  offset_to
  {
    x=10.43
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
x=0.38
    y=0.53
    z=0.14
  }
  offset_to
  {
    x=-9.57
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=-0.38
    y=0.46
    z=0.14
  }
  offset_to
  {

    x=0.43
    y=-0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=Chase
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-7
  }
  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=-7
  }
  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=-7
  }
  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
{
  offset
  {
    x=0.0
    y=1.1
    z=-3.5
  }
  angle
  {
    x=0.000000
    y=130.000000
    z=0.000000
  }
  name=Chase Close
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  fov=75
  model=0
  wheels=0
  view=0
  src
  {
    mass=6
    k=250
    damping=90
    maxdist=2
  }
  dst
  {
    mass=1
    k=100
    damping=70
    maxdist=2
  }
}
camera9
{
  name=Chase rear
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.0
    y=-0.7
    z=0.0
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=0
    z=0
  }
}
audio
{
	skid
	{
		sample=Skid.wav
		sample2=skid.wav
	}
	horn
	{
		sample=Horn.wav
	}
	acc_all
	{
		attack=2600
		decay=2600
	}

	accelerate_out
	{
		smp0~audio.acc_all
		{
			sample=fiatr4petrol/1000.wav
			min=1000
			max=1001
			natural=1000
			volume=1
		}
		smp1~audio.acc_all
		{
			sample=fiatr4petrol/2000.wav
			min=2000
			max=2001
			natural=2000
			volume=1.2
		}
		smp2~audio.acc_all
		{
			sample=fiatr4petrol/3000X.wav
			min=3000
			max=3001
			natural=3000
			volume=1.4
		}
		smp3~audio.acc_all
		{
			sample=fiatr4petrol/4000.wav
			min=4000
			max=4001
			natural=4000
			volume=1.6
		}
		smp4~audio.acc_all
		{
			sample=fiatr4petrol/5000X.wav
			min=5000
			max=5001
			natural=5000
			volume=1.8
		}
		smp5~audio.acc_all
		{
			sample=fiatr4petrol/6000.wav
			min=6000
			max=6001
			natural=6000
			volume=2
		}
	}

	decelerate_out
	{
		smp0~audio.acc_all
		{
			sample=fiatr4petrol/1000.wav
			min=1000
			max=1001
			natural=800
			volume=1
		}
		smp1~audio.acc_all
		{
			sample=fiatr4petrol/2000.wav
			min=2000
			max=2001
			natural=1800
			volume=1.2
		}
		smp2~audio.acc_all
		{
			sample=fiatr4petrol/3000X.wav
			min=3000
			max=3001
			natural=2800
			volume=1.4
		}
		smp3~audio.acc_all
		{
			sample=fiatr4petrol/4000.wav
			min=4000
			max=4001
			natural=3800
			volume=1.6
		}
		smp4~audio.acc_all
		{
			sample=fiatr4petrol/5000X.wav
			min=5000
			max=5001
			natural=4800
			volume=1.8
		}
		smp5~audio.acc_all
		{
			sample=fiatr4petrol/6000.wav
			min=6000
			max=6001
			natural=5800
			volume=2
		}
	}

	accelerate_in
	{
		smp0~audio.acc_all
		{
			sample=fiatr4petrol/1000_In.wav
			min=1000
			max=1001
			natural=1000
			volume=1
		}
		smp1~audio.acc_all
		{
			sample=fiatr4petrol/2000_In.wav
			min=2000
			max=2001
			natural=2000
			volume=1.2
		}
		smp2~audio.acc_all
		{
			sample=fiatr4petrol/3000_In.wav
			min=3000
			max=3001
			natural=3000
			volume=1.4
		}
		smp3~audio.acc_all
		{
			sample=fiatr4petrol/4000_In.wav
			min=4000
			max=4001
			natural=4000
			volume=1.6
		}
		smp4~audio.acc_all
		{
			sample=fiatr4petrol/5000_In.wav
			min=5000
			max=5001
			natural=5000
			volume=1.8
		}
		smp5~audio.acc_all
		{
			sample=fiatr4petrol/6000_In.wav
			min=6000
			max=6001
			natural=6000
			volume=2
		}
	}

	decelerate_in
	{
		smp0~audio.acc_all
		{
			sample=fiatr4petrol/1000_In.wav
			min=1000
			max=1001
			natural=800
			volume=1
		}
		smp1~audio.acc_all
		{
			sample=fiatr4petrol/2000_In.wav
			min=2000
			max=2001
			natural=1800
			volume=1.2
		}
		smp2~audio.acc_all
		{
			sample=fiatr4petrol/3000_In.wav
			min=3000
			max=3001
			natural=2800
			volume=1.4
		}
		smp3~audio.acc_all
		{
			sample=fiatr4petrol/4000_In.wav
			min=4000
			max=4001
			natural=3800
			volume=1.6
		}
		smp4~audio.acc_all
		{
			sample=fiatr4petrol/5000_In.wav
			min=5000
			max=5001
			natural=4800
			volume=1.8
		}
		smp5~audio.acc_all
		{
			sample=fiatr4petrol/6000_In.wav
			min=6000
			max=6001
			natural=5800
			volume=2
		}
	}
}