car
{
  name=Renault Clio III FL 1.2TCe 16v (hatchback_5d)
  year=2009
  credits=Model by Skybh and Lucas, help from Cosmo° No cg by theraceredits
  comments=D4F: 1.149 cc TCe SOHC 16v 100 cv (74 kW) / 5.500 RPM, 145 Nm / 3.000 RPM
  id=clio20015d
  version=050b6
  wheels=4
  shadow
  {
    texture=shadow.tga
    width=3
    length=6
    offset_z=0.05
    offset=0
  }
	cg
	{
		x=0
		y=-0.43
		z=0.00
	}
	ff_factor=0.25
}

lights
{
  ; Projected lights
  light0
  {
    texture=swiatla.tga
    ; Field of view (vertical)
    fov=35
    ; Aspect (horizontal)
    aspect=5
    ; Distance to car
    z=0.90
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
  light1
  {
    texture=swiatla.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=1.3
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
  light2
  {
    texture=light0.tga
    ; Field of view (vertical)
    fov=35.0
    ; Aspect (horizontal)
    aspect=1.8
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}
flares
{
  flare0
  {
    pos=-0.66 0 1.70
    color=10 10 9
    normal=0 0 1
    z_offset=-5000
    size_factor=1
    billboard=1
  }
  flare1
  {
    pos=0.66 0 1.70
    color=10 10 9
    normal=0 0 1
    z_offset=-5000
    size_factor=1
    billboard=1
  }
}
graphics
{
  	shadow
  	{
    		model
    		{
      			file=shadow.dof
			use_shaders=0
    		}
		intensity=0.2
  	}
	generic
	{
		model0
		{
		file=body.dof
		}
		model1
		{
		file=interior.dof
		}
		model2
		{
		file=portas_int.dof
		}
		model3
		{
		file=radio.dof
		}
                model4
		{
		file=farois.dof
		}
	}
}
body
{
	
  	mass=1120
  	inertia
  	{
    x=3200
    y=4210
    z=625
  	}
  	model
  	{
    		file=chassis.dof
  	}
  	model_incar
  	{
    		file=chassis.dof
  	}
         model_collide
        {
         file=buda.dof
         }
 	model_light_l
  	{
    		file=lights.dof
  	}
        model_lightroad_l
        {
            file=lights.dof
        }
        model_braking_l
        {
        file=brakes.dof
        } 
  	model_reverse_l
  	{
    		file=rev.dof
  	}
  	width=1.692
  	height=1.367
  	length=3.995
  	manual_box=1
}
steer
{
        x=0.3550
  	y=0.1300
  	z=0.5070
  	radius=10
  	xa=28.5
  	lock=1080
  	linearity=0.3
  	model
  	{
    		file=volante.dof
  	}
}
engine
{
   mass=0
   idle_rpm=780
   max_rpm=6250
   max_torque=145
   curve_torque=torque.crv
   autoclutch_rpm=3000
   starter=1
   starter_torque=75
   start_stalled=1
   enable_stall=1
   stall_rpm=500
   start_rpm=1000
   shifting
   {
      automatic=0
      shift_up_rpm=4000
      shift_down_rpm=1200
       time_to_declutch=100
      time_to_clutch=100
      time_in_neutral=150
      time_to_declutch_down=150
      time_to_clutch_down=120
      time_in_neutral_down=150
   }
   inertia
   {
      engine=0.14
      final_drive=0.1
   }
   braking_coeff=1.2
   rolling_friction_coeff=0.1
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.6
    ratio=0.12
  }
  gear1
  {
    ratio=3.78
    inertia=0.1
  }
  gear2
  {
    ratio=2.06
    inertia=0.08
  }
  gear3
  {
    ratio=1.3
    inertia=0.06
  }
  gear4
  {
    ratio=0.9
    inertia=0.04
  }
  gear5
  {
    ratio=0.7
    inertia=0.02
  }
  end_ratio=3.65
}
handbrakes
{
  wheels=23
}
differential
{
  type=0
  ratio=3.97
  inertia=0.01
  locking_coeff=0
  friction=50
  output0=0
  output1=1
}
clutch
{
   max_torque=200
}
abs
{
  enable=0
   max_velocity_ratio=1.3
   min_velocity_ratio=1.7
}
traction_control
{
  enable=0
   max_velocity_ratio=1.3
   min_velocity_ratio=1.7
}
aero
{
	body
	{
		center=0 0 0
		cx=0.33
		area=1.93
	}
	wings=1
	wing0
	{
		name=Rear spoiler
		span=1
		cord=1
		coeff_drag=0
		coeff_down=10
		center=0 0 -1
		angle=0
		angle_offset=10
	}
}


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

susp_front
{
	y=-0.45
	z=1.275
	restlen=0.070			;293	395kg
	minlen=-0.22
	maxlen=-0.02
	k=40000		;@ static load and 1.316 NF SR
	bump_rate=4500		;0.7	1944
	rebound_rate=2500	;0.7	6531
	bump_function=0
	rebound_function=0
	anti_pitch=0.1
	camber_change_per_m=0.067
	roll_center
	{
		x=0
		y=-0.552	;60mm
		z=0
	}
}

susp_rear
{
	y=-0.61
	z=-1.30
	restlen=-0.05			;305	275kg
	minlen=-0.28
	maxlen=0.07
	k=40000	;@ static load and 1.502 NF SR
	bump_rate=4500	;0.75	1852
	rebound_rate=2500	;0.8	5191
	bump_function=0
	rebound_function=0
	anti_pitch=0.1
	camber_change_per_m=0.14
	roll_center
	{
		x=0
		y=-0.504	;120mm
		z=0
	}
}

susp0~susp_front
{
	x=0.719
	camber_change_steering=0.147	;0.25 rad ~ 14.5 degree camber with 1 radian rotation of steering @ 8 degree caster
	caster_offset=-0.0235		;8 degrees static caster -0.0235	
	toe_change_per_m=0
}
susp1~susp_front
{
	x=-0.719
	camber_change_steering=-0.147	;0.25 rad ~ 14.5 degree camber with 1 radian rotation of steering @ 8 degree caster
	caster_offset=-0.0235		;5.78 degrees static caster -0.0235
	toe_change_per_m=0
}

susp2~susp_rear
{
	x=0.709
}
susp3~susp_rear
{
	x=-0.709
}

;----------------------tyres----------------------

tire_model_front
{
	damping_predict_lat=0
	damping_predict_long=0
}
tire_model_rear
{
	damping_predict_lat=0
	damping_predict_long=0
}
pacejka
{
    	a0=1.25
    	a1=-25
    	a2=1400
    	a3=2000
    	a4=8
    	a5=0.015
    	a6=-0.25
    	a7=0.1
    	a8=-0.03
    	a9=-0.001
    	a10=-0.15
    	a111=-4.3
    	a112=-0.29
    	a12=17.8
    	a13=-2.4

    	b0=1.5
    	b1=-70
    	b2=1150
    	b3=21
    	b4=325
    	b5=0.08
    	b6=0
    	b7=0.05
    	b8=-0.025
    	b9=0.015
    	b10=0.4
    	b11=-50
    	b12=0

    	c0=2.2
    	c1=-4
    	c2=-3
    	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
}

;----------------------wheels----------------------

wheel_front
{
	y=0
	z=0
	steering=1
	powered=1
	lock=60
	mass=15.8
	inertia=0.3990519
	radius=0.305
	rolling_coeff=0.015
	max_braking=4000
	braking_factor=0.75
	tire_rate=160000
	pacejka~pacejka
	}
}

wheel_rear
{
	y=0
	z=0
	steering=0
	powered=0
	power_gearing=0 	;FWD
	mass=15.8
	inertia=0.3990519
	radius=0.305
	rolling_coeff=0.0150
	max_braking=2500
	braking_factor=0.25
	max_handbrake_torque=3500
	tire_rate=160000
	pacejka~pacejka
	}
}

wheel0~wheel_front
{
	x=0
	ackerman=1.1 
	toe=-0.1695
	camber=-0.2	
	model
	{
		file=left.dof
	}
	model_brake
	{
		file=left_caliper.dof
	}
}

wheel1~wheel_front
{
	x=0
	ackerman=1.1
	toe=0.1695
	camber=-0.2
	model
	{
		file=right.dof
	}
	model_brake
	{
		file=right_caliper.dof
	}
}

wheel2~wheel_rear
{
	x=0
	toe=-0.133
	camber=0	
	model
	{
		file=left.dof
	}
	model_brake
	{
		file=left_caliper.dof
	}
}

wheel3~wheel_rear
{
	x=0
	toe=0.133
	camber=0
	model
	{
		file=right.dof
	}
	model_brake
	{
		file=right_caliper.dof
	}
}

;	------------------ 5.1 ALPHA AUDIO COMPATABILTY -----------------
camera0
{
  name=Driver
  fov=60
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.3411
    y=0.40
    z=-0.01
  }
  offset_to
  {
    x=0.37
    y=-0.2
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=63
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.3411
    y=0.44
    z=-0.11
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=63
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.3411
    y=0.44
    z=-0.11
  }
  offset_to
  {
    x=-10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver
  fov=60
  model=1
  wheels=0
  view=0
  offset
  {
     x=-0.3411
  	y=0.63
  	z=-0.26
  }
  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.3
    z=-5
  }
  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.4
    z=-4
  }
  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.65
    z=0.0
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=0
    z=0
  }
}
audio
{
  skid
  {
    sample=skid.wav
  }
  horn
  {
    sample=horn.wav
  }
  shiftout
  {
    sample=shiftout.wav
  }
  shiftin
  {
    sample=shiftin.wav
  }
  accelerate_out
  {
    ; Master volume for this set (0..1)
    volume=1.0
    smp0
    {
      sample=audio/TCe/snd_idle.wav
      min=50
      max=1200
      ; Sample's actual natural frequency
      natural=1000
      minvol=0.75
      maxvol=1
    }
    smp1
    {
      sample=audio/TCe/snd_idle.wav
      min=1000
      max=4001
      natural=2000
      minvol=.5
      maxvol=1
      volume_scale=0.98
    }
    smp2
    {
      sample=audio/TCe/snd_idle.wav
      min=4000
      max=12000
      natural=2000
      minvol=.5
      maxvol=1
      volume_scale=0.98
    }
    smp3
    {
      sample=audio/TCe/snd_whine.wav
      min=1
      max=4000
      natural=800
      minvol=0.02
      maxvol=0.05
      volume_scale=0.02
    }
  }
  accelerate_in
  {
    ; Master volume for this set (0..1)
    volume=1.0
    smp0
    {
      sample=audio/TCe/snd_idleint.wav
      min=50
      max=1200
      ; Sample's actual natural frequency
      natural=1000
      minvol=0.75
      maxvol=1
    }
    smp1
    {
      sample=audio/TCe/snd_idleint.wav
      min=1000
      max=4001
      natural=2000
      minvol=.5
      maxvol=1
      volume_scale=0.98
    }
    smp2
    {
      sample=audio/TCe/snd_idleint.wav
      min=4000
      max=12000
      natural=2000
      minvol=.5
      maxvol=1
      volume_scale=0.98
    }
    smp3
    {
      sample=audio/TCe/snd_whineint.wav
      min=1
      max=4000
      natural=800
      minvol=0.02
      maxvol=0.05
      volume_scale=0.02
    }
  }
  wind
  {
    smp0
    {
      sample=wiater.wav
      volume=1
      min=36
      attack=14
      max=999
      decay=925.2
      natural=40
      pitch_offset=1
      pitch_scale=0.1
    }
  }
}

traction_control
{
	max_velocity_ratio=1.1
	min_velocity_ratio=1.05
	enable=0
}

abs
{
	max_velocity_ratio=1.1
	min_velocity_ratio=1.1
	enable=1
}